13.20 Command operation at logoff according to registry setting and logoff option
When a command is executed by a service, the command operation (at the occurrence of logoff) varies depending on the combination of registry (CmdLogoffContinue) setting and logoff option (command argument /LC) specification. The command operation varies also by the OS of the PC where the command is executed.
When a command is executed by a service on one of the OSs shown below, the command operation (at the occurrence of logoff) varies depending on the combination of registry setting and logoff option specification.
-
Windows XP
-
Windows Server 2003
The following table shows the command operations (at the occurrence of logoff on these OSs) determined by the combination of registry setting and logoff option specification.
|
Registry setting |
Logoff option |
|||
|---|---|---|---|---|
|
Not specified |
Specified |
|||
|
ON |
OFF |
|||
|
Not set |
Processing terminates forcibly. |
Processing continues. |
Processing terminates forcibly. |
|
|
Set |
YES |
Processing continues. |
Processing continues. |
Processing terminates forcibly. |
|
NO |
Processing terminates forcibly. |
Processing continues. |
Processing terminates forcibly. |
|
When a command is started by a service on one of the following OSs, command processing continues regardless of the registry setting and the logoff option, even if you log off from Windows:
-
Windows Vista
-
Windows Server 2008
-
Windows 7
-
Windows Server 2012
-
Windows 8.1
-
Windows 8