VBscript to check/uncheck...

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 15 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
ajgtx
Posts: 25
Last visit: Thu Nov 20, 2008 5:07 am

VBscript to check/uncheck...

Post by ajgtx »

Greetings!
In regards to pushing MSI packages via AD GPO, I'm looking for a script that will check/uncheck the box "uninstall this application when it falls out of scope". Does anyone know if this is possible and if so, what the code may look like?

Thanks!
User avatar
ajgtx
Posts: 25
Last visit: Thu Nov 20, 2008 5:07 am

VBscript to check/uncheck...

Post by ajgtx »

Greetings!
In regards to pushing MSI packages via AD GPO, I'm looking for a script that will check/uncheck the box "uninstall this application when it falls out of scope". Does anyone know if this is possible and if so, what the code may look like?

Thanks!
User avatar
ajgtx
Posts: 25
Last visit: Thu Nov 20, 2008 5:07 am

VBscript to check/uncheck...

Post by ajgtx »

Doesn't have to be VBscript, just anything to get the job done. Preferrably not with a 3rd party app though, if it can be avoided.
User avatar
donj
Posts: 416
Last visit: Thu May 29, 2008 5:08 am

VBscript to check/uncheck...

Post by donj »

You install it on whatever machine is running the script. It's not an "agent" or anything. And it's a set of add-in commands for PowerShell, not standalone software. As for rights, you need to be able to edit a GPO - generally, that means the user utilizing the software needs to be a domain admin. If you permission your GPOs differently, then you may need different rights.

Think of it as running a command-line utility. Whoever runs the utility needs permission to do whatever the utility is doing.
User avatar
ajgtx
Posts: 25
Last visit: Thu Nov 20, 2008 5:07 am

VBscript to check/uncheck...

Post by ajgtx »

From reading about the freeware version of the app, it doesn't appear that there are any GPO edit commands that come with that version of the software. How difficult/feasible would it be to create my own scripts/commands using PowerShell to edit Group Policies?
This topic is 15 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked