I have a gpo startup script that uninstalls a application (msiexec /x). What
i need to have happen is to have that script or a follwing script intiate a
restart of the computer after the unintall is done.
The Group Policy that applies the startup script that uninstalls the app and
would fire off the restart command has a WMI filter so that it will only
process on a computer that has the specific application installed, thus
preventing an endless restart loop.
I have tried several different ways and all have failed. The computer does
not appear to listen to the reboot command from the startup script. The
logon process simply finishes and displays the logon box.
The only thing i have not yet tried was to use the script to schedule a
restart. I am not very familiar with scripting scheduled tasks and i am not
sure if that would even work.
Does anyone if there is some kind of security policy preventing a startup
script from restarting the computer or how i could restart the computer after
the uninstall.
Bookmarks