How to convert a logoff to a shutdown/restart?

  • Thread starter Thread starter Stacy
  • Start date Start date
S

Stacy

I have a need for periodically forcing a user logoff to revert to a
shutdown/restart.

I can issue the shutdown command as part of the Logoff Script. However,
once the logoff process has started, the shutdown command inside the logoff
script is ignored.

Our problem is that lots of users never shutdown - they simply log off. We
need to force a shutdown then next time they log off, if 14 days or more has
passed without a shutdown/restart.

Does anyone know how to programatically

Thanks so much,
Len
 
One way would be to use shutdown.exe and schedule it to run every 14 days.
 
The problem with this approach is that we want to make the shutdown disrupt
the customer's use of PC as little as possible - hence, the desire to
piggyback the shutdown with a customer activated logoff.

thanks
stacy
 
Back
Top