The particular error is:Error Line 21, Char 1: Set objWMIService = GetObject(“winmgmts:\\”& strComputer & “\root\cimv2″)
Source: Microsoft VBScript Runtime Error
Description: Object Required: ‘objWMIService’
As I said, the code works fine on it's own outside of a ThinApp application, and since this is being published on other sites I assume it works correctly inside ThinApp applications for other people.
The script is fine but it seems like you have an issue with the double quotes. Probably due to a copy/paste from a website.
Please replace them by the double quote you can find on your keyboard.
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")