Re: Customize "Logoff" button action





"Sem Craeghs" <sem.craeghs@xxxxxxxxx> wrote in message news:c22f2680-b432-45a5-8fd9-d983b4ba9d4a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hey,

I've looked all over the internet for about 2,5 days, but no succesful
answer:

Is there any possible way to change the action behind the "Logoff"
button?

We have to do this because we are serving serveral virtual windows XP
desktops;

Users connect to the desktop using RDP, so, there is the "Shut down"
button not available.

We want, when a user logs off the virtual machine, that the machine
logs off and restart again. (to remove changes to the drive using
Steady State).

We have tried to do this with a logoff script, but that is not working
(the shutdown -r -t 00 process is killed by the logoff process.)

Thanks,

You could create a shortcut on the desktop to the shutdown.exe file and modify the paramaters used in the target box on the general properties page of the shortcut. I used to use this trick to force an older machine I had installed XP on to shutdown at a specified time. HTH

.


Quantcast