Tuesday, 13 August 2013

Windows 7 Command Line Timed Log Off

Windows 7 Command Line Timed Log Off

This command immediately logs off the user:
shutdown /l /f
/l = This option will immediately log off the current user on the current
machine. You can not use the /l option with the /m option to log off a
remote computer. The /d, /t, and /c options are also not available with
/l.
As I can't use /t /c switches, I can't time the log off.
Note: It should logoff even after closing the command.
Any alternate ways?

No comments:

Post a Comment