A newer version of this documentation is available.

View Latest

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

force

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

Example

Example 1. 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