If you want to run your application as a service (without UI) on Windows 10 IoT Core you first need to switch your device to the headless mode.

First, let’s connect to your Raspberry Pi 2 with a Power Shell, so then we can execute commands remotely on the device.

  • Run PowerShell as an Administrator
  • Start WinRM service to enable remote connections:
net start WinRM
  • Add your Raspberry Pi 2 in a trusted device list:
 Set-Item WSMan:\localhost\Client\TrustedHosts -Value <IP Address>
  • Disable psreadline module. It might cause StackOverflowException
 remove-module psreadline -force
  • Connect to the remote device. Default password: p@ssw0rd
Enter-PsSession -ComputerName <IP Address> -Credential <IP Address or localhost>\Administrator

#windows 10 #блогомарафон #raspberry pi 2 #24 #windows 10 iot core #iot

[Raspberry Pi 2] Enable Headless Mode on Windows 10 IoT Core
1.60 GEEK