- On the computer you want to reboot or shutdown remotely, press Windows key + R, type: regedit then hit Enter on your keyboard.
- 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.
- Right click on the System folder, select New > DWORD (32-bit) Value.
- Enter the following label: LocalAccountTokenFilterPolicy.
- Double-click the value then change the value to 1.
- Exit the registry then restart your computer to confirm changes. Now you are ready to restart or shutdown remotely.
- Press Windows key + X, click Command Prompt (Admin).
- 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.
- At the command prompt, type shutdown -r -m \\MachineName -t -01 then hit Enter on your keyboard.
- 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/