Chris Briggs bio photo

Chris Briggs

Software engineer whose passionate about IoT, Dev-Ops, Security, UWP & Xamarin.

Twitter Google+ Github Stackoverflow Youtube

Updated on 26/05/2015 : As of the Windows 10 Pro Insider Preview Build 10122, the bug that was the source of the difficulties and frustration has been fixed!

So you’ve set up your Windows 10 IoT Core on the raspberry Pi 2 and Hello World isn’t working?

  • Getting many strange errors?
  • Currently scared, confused and wondering if your Pi is secretly Skynet or HAL?

Stay calm and read on!

Step 1: Enable developer mode

  1. Search Settings in the desktop search
  2. Click on UPDATE & SECURITY
  3. Than selcect For developers and than select Developer mode

For developers

Running a build earlier that 10122?

In earlier preview builds of Window 10 such as 10074, it was difficult and confusing to enable developer mode, as can be seen in the video below:

The following let you easily enable developer mode:

  1. Open an Administrator Powershell and run the following commands:
  2. reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock” /t REG_DWORD /f /v “AllowDevelopmentWithoutDevLicense” /d “1”
  3. reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock” /t REG_DWORD /f /v “AllowAllTrustedApps” /d “1”

Step 2: Turn on the Windows Remote Management Service

Without the Windows Remote Management Service running your Window 10 device will be unable to communicate with your Pi.

  1. Windows Key + R
  2. type services.msc
  3. Find Windows Remote Management Service.
  4. Start the service

Step 3: Initiating a PowerShell (PS) Session

Currently an active PS session is required for visual studio to perform remote debugging on the Windows 10 IoT Core.

  1. Open an Administrator Powershell and run the following commands:
  2. Set-Item WSMan:\localhost\Client\TrustedHosts -Value <The Pi’s IP Address>
  3. remove-module psreadline -force
  4. Enter-pssession -ComputerName <The Pi’s IP Address> -Credential <The Pi’s IP Address>\Administrator
  5. Enter p@ssw0rd in the password field
  6. Once the shell is connected run the following command: hostname if the named returned is the name of the PI than your ready to go!

Please note: When replacing the <The Pi’s IP Address> you must also remove the brackets.

Common Deployment Errors

My Pi is not outputting video to the Display?

  • If the application you’re deploying has a UI, you’ll need to ensure that the PI is running in headed mode by running this command: setbootoption.exe headed

Feel free to tweet me comments, feedback or questions to @ChrisBriggsy.