Use the Windows key + R keyboard shortcut to open the Run command. Type regedit and click OK to open the Registry. Double-click the shutdownwithoutlogon DWORD and change its value from 1 to 0. Click OK.