JustScriptIt
Technical User
I am testing a vbscript to turn off a service that requires a password:
This works really well, but here's the problem. On the test computer where I am stopping smc.exe, I see a pop-up that prompts the end user for a password before continuing.
I need to run this script silently, in the background.
What should I incorporate into this script so that it runs silently, without interrupting the end user?
Code:
'Stop smc.exe service
objWMISvc.Create(strPath & "\smc.exe -stop our_secret_password")
This works really well, but here's the problem. On the test computer where I am stopping smc.exe, I see a pop-up that prompts the end user for a password before continuing.
I need to run this script silently, in the background.
What should I incorporate into this script so that it runs silently, without interrupting the end user?