[IoT] Enabling Windows IoT Remote Server on Raspberry Pi

If you have Windows IoT running on your Raspberry Pi and like me you’re a Windows Insider running a recent insider build (in my case 10.0.14295.1000), you might have noticed the “Remote” option in the UI. This allows you to enable a simple version of “Remote Desktop”-like functionality.

In my case, clicking the checkbox in the UI would give me the following error:
“Failed to enable Windows IOT Remote Server”

Great, that’s real helpful. So I went out to find more information and posted this thread on the MSDN forums.  After some back and forth messages, a Microsoft employee by the nickname of IoTGirl came with a solution! 

To check the status of the Remote server, open up a new Powershell session to your device. Then execute the following command:

In my case, this would give me an error which is basically a sign that the task doesn’t exist. So we’ll create it:

This creates a scheduled task set to run on boot. The server is not yet running at this point, for this we’ll execute the task manually:

And if all is well, the server should now start and you’ll be able to connect (download the Windows IoT Remote Client app from the store to connect, normal RDP doesn’t work). Awesome stuff!

 

Should you want to delete the task again:

 

Which is cool, but note that now that you’ve got the job fixed, the UI also is coming alive. So you could now just use the checkbox to enable/disable the task instead:

windows_iot_remote_server

Happy remoting!

 

4 thoughts on “[IoT] Enabling Windows IoT Remote Server on Raspberry Pi

Leave a Reply

Your email address will not be published. Required fields are marked *