Can’t login using PowerShell to Raspberry Pi running Windows IoT [SOLVED]

0

Posted by Cynic | Posted in .NET, C#, Software, Solutions to Problems, Windows | Posted on 03-10-2015

Tags: , , ,

I’ve seen a few people having problems using PowerShell to log into their Raspberry Pi 2 that’s running Windows IoT. If you’re here, you’re already frustrated, so here’s what worked for me…

Restart WinRM using these 2 commands:

net stop winrm

net start winrm

Next, instead of using the device name for your Raspberry Pi 2, use the IP address like this in PowerShell:

Enter-PsSession -ComputerName 192.168.10.111 -Credential 192.168.10.111\Administrator

And yes… I understand that it sounds stupid, but I tried everything else and nothing worked. The above worked for me. YMMV. Good luck!

Oh, also, it took a minute or two to complete, so just be patient. If it fails, my only other advice is to find a baseball bat. 🙂