use VBScript to execute software in GPO
-
Wednesday, January 16, 2013 7:57 AM
Hi,
I have CS6 package in .VBS format. Is there a way I can deploy this software using GPO. Can any one explain me in steps?
Thanks very much for your help
Regards,
SNRRK
All Replies
-
Saturday, January 19, 2013 7:49 AM
You can always deploy a VBscript as a startup script in the Machine configuration of group policies (look for startup and shutdown scripts section).
Blogging about Windows for IT pros at www.theexperienceblog.com

- Edited by Andreas Stenhall [stenis]MVP Saturday, January 19, 2013 7:49 AM
- Marked As Answer by K_evin ZhuMicrosoft Contingent Staff, Moderator Tuesday, February 05, 2013 4:16 AM
-
Saturday, January 19, 2013 11:40 AM
Hello,
You need to use a start script with "cscript" (or wscript).
cscript "path\myscript.vbs"
Please also enable these settings:
http://gpsearch.azurewebsites.net/#1839 (set it to enabled)
http://gpsearch.azurewebsites.net/#2299 (set it to 0)
Be aware that an infinite wait time for script could be dangerous.
MVP Group Policy - Mythen, Insiderinfos und Troubleshooting zum Thema GPOs: Let's go, use GPO!
-
Monday, January 21, 2013 8:44 PM
> You need to use a start script with "cscript" (or wscript).>> cscript "path\myscript.vbs">Why? As long as you do not change the default file associations,.vbs/.wsf will open with wscript by default... For .ps1, you're right,of couse - MS did not associate powershell.exe with .ps1. But forVBScript files, they did...
NO THEY ARE NOT EVIL, if you know what you are doing: Good or bad GPOs?
Wenn meine Antwort hilfreich war, freue ich mich über eine Bewertung! If my answer was helpful, I'm glad about a rating!- Marked As Answer by K_evin ZhuMicrosoft Contingent Staff, Moderator Tuesday, February 05, 2013 4:16 AM

