07-23-2023, 05:12 AM
Some additions to the [shutdown][1] and `rundll32.exe shell32.dll,SHExitWindowsEx n` commands.
[**LOGOFF**][2] - allows you to logoff user by sessionid or session name
[**PSShutdown**][3] - requires a download from windows sysinternals.
[**bootim.exe**][4] - windows 10/8 shutdown iu
[**change/chglogon**][5] - prevents new users to login or take another session
[**NET SESSION /DELETE**][6] - ends a session for user
[**wusa /forcerestart /quiet**][7] - windows update manager but also can restart the machine
[**tsdiscon**][8] - disconnects you
**rdpinit** - logs you out , though I cant find any documentation at the moment
[1]:
[**LOGOFF**][2] - allows you to logoff user by sessionid or session name
[**PSShutdown**][3] - requires a download from windows sysinternals.
[**bootim.exe**][4] - windows 10/8 shutdown iu
[**change/chglogon**][5] - prevents new users to login or take another session
[**NET SESSION /DELETE**][6] - ends a session for user
[**wusa /forcerestart /quiet**][7] - windows update manager but also can restart the machine
[**tsdiscon**][8] - disconnects you
**rdpinit** - logs you out , though I cant find any documentation at the moment
[1]:
[To see links please register here]
[2]:[To see links please register here]
[3]:[To see links please register here]
[4]:[To see links please register here]
[5]:[To see links please register here]
[6]:[To see links please register here]
[7]:[To see links please register here]
[8]:[To see links please register here]