exitwindows

Name

netid.exe -exitwindows – execute a selected action with the internal exit windows dialog

Synopsis

netid.exe -exitwindows [-action none|lock|logout|shutdown|restart|sleep|hibernate|disconnect] [-force]

Description

The exitwindows command is used by the internal exit windows dialog to execute the action selected by the end-user. The exitwindows command is available on Windows to perform desktop actions.

Options

action

Available desktop actions:

  • none

  • lock

  • logout

  • shutdown

  • restart

  • sleep

  • hibernate

  • disconnect

Above actions have predefined action names, for example ExitWindowsRedirectLock. Use Action to configure another action for exitwindows action.
Example 1. Set custom action for exitwindows action. Below will start About dialog when Lock action is selected in exitwindows.
[Action]
70=ExitWindowsRedirectLock self -new -dialog about
force

Execute the action without the possibility for the end-user to abort the action

Example 2. Force the lock action.

Use the force option to execute the action without the possibility for the end-user to abort the action.

$ netid.exe -exitwindows -action lock -force