The registry and the commands supports us a lot in performing many actions on the computer. One among those is, identification of the machine boot state.
The registry that says the machine state is,
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control],SystemStartOptions
The same can be identified through the command,
* wmic COMPUTERSYSTEM GET BootupState
The registry that says the machine state is,
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control],SystemStartOptions
The same can be identified through the command,
* wmic COMPUTERSYSTEM GET BootupState