Remote reboot windows 10 machine

  1. On the computer you want to reboot or shutdown remotely, press Windows key + R, type: regedit then hit Enter on your keyboard.
  2. Navigate to the following registry key Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System. If you are running Windows 10 1703 or later, you can quickly find registry keys by copying and pasting the registry path into the address bar and hit Enter.
  3. Right click on the System folder, select New > DWORD (32-bit) Value.
  4. Enter the following label: LocalAccountTokenFilterPolicy.
  5. Double-click the value then change the value to 1.
  6. Exit the registry then restart your computer to confirm changes. Now you are ready to restart or shutdown remotely.
  7. Press Windows key + X, click Command Prompt (Admin).
  8. At the command prompt, log into the machine. Example: net use \\MachineName then hit Enter. Enter your username on the machine or Microsoft Account ID followed by your password.
  9. At the command prompt, type shutdown -r -m \\MachineName -t -01 then hit Enter on your keyboard.
  10. The remote computer should automatically shutdown or restart depending on the switches you choose. N

 

Ref: https://www.groovypost.com/howto/remote-shutdown-restart-windows-10/