When you’re connected via RDP to a remote Windows machine, the Restart and Shutdown options are not there. Instead they’ve been replaced with only a lonely disconnect option to end your session.
To restart or shutdown your remote machine we’ll have to use the command line’s shutdown command. Here’s how.
At the Command Prompt (searching usually brings it right up) type
shutdown /r /t 0
This will restart Windows. /r means “restart”, and /t specifies the time in seconds (zero in our case).
If you’d like to shutdown the machine instead, type
shutdown /s