S
spence
Guest
Hi all,
I'm trying to accomplish what I thought should be a simple task but has
turned out to be quite the challenge. My team is building a virtual lab
environment using Windows XP machines that revert to a clean state with each
reboot. With that in mind, we've been trying to create a logoff script (and
many other concepts) to force the computer to shutdown when a user clicks
"logoff".
I've found all sorts of documented cases where people are having this
trouble. A couple things I read indicated that logoff scripts run under User
context rather than Administrator. That in mind I went in to secpol.msc and
added Users, SYSTEM, Everyone to the "Shut down the system" policy. It didn't
make any difference.
The logoff scripts we're using to shut the machine down vary from batch
files calling shutdown.exe to VBscripts using WMI. All of these work fine
when double-clicked but fail when called as a logoff script.
If anyone has ANY ideas at all I'd really appreciate hearing them.
Thanks,
~spence
I'm trying to accomplish what I thought should be a simple task but has
turned out to be quite the challenge. My team is building a virtual lab
environment using Windows XP machines that revert to a clean state with each
reboot. With that in mind, we've been trying to create a logoff script (and
many other concepts) to force the computer to shutdown when a user clicks
"logoff".
I've found all sorts of documented cases where people are having this
trouble. A couple things I read indicated that logoff scripts run under User
context rather than Administrator. That in mind I went in to secpol.msc and
added Users, SYSTEM, Everyone to the "Shut down the system" policy. It didn't
make any difference.
The logoff scripts we're using to shut the machine down vary from batch
files calling shutdown.exe to VBscripts using WMI. All of these work fine
when double-clicked but fail when called as a logoff script.
If anyone has ANY ideas at all I'd really appreciate hearing them.
Thanks,
~spence