Script not running
I have a VBS script that removes all printers connected to an old print server. The VBscript works locally and will work via KACE SMA on my machine when using my credentials. however, when I target a computer that is not mine it will show up as success but the printers are still there.
I have tried different options and no luck. Anyone know what could be the issue?
Are you running the vbscript on the remote machine with which account? A local system account, a domain account, the Kace service account?
Can you please share the script execution result logs?
The fact that the SMA placed the script locally in the directory "C:\ProgramData\Quest\KACE\..." and was able to execute it, even in the event of a failure after execution, the result will be displayed as successful.
The cause could be due to the execution rights of a vbscript on the client machine.
From an anti-virus or UAC parameters of the system to be attached.
A GPO can prevent the execution of Cscript or Wscript.
The script can be called from a batch to increase privileges or disable UAC.
https://stackoverflow.com/questions/11525056/how-to-create-a-batch-file-to-run-cmd-as-administratorBut in your case, I think just a problem of execution right of the vbscript
Do the test deployment with a domain administrator account ?