f1ben
Posts: 1
Joined: Thu Apr 30, 2015 11:15 pm

shutdown -s Restarts Rasperry Pi 2

Thu Apr 30, 2015 11:35 pm

I followed the instructions to put the "Windows 10 IoT Core Insider Preview Image for Raspberry Pi 2" onto my Raspberry Pi 2. I followed the instructions here to change the Administrator password: http://ms-iot.github.io/content/win10/s ... rShell.htm
When I tried to shut off the RP2, it always restarts. Given my past experiences with Windows, I'm reluctant to just pull the power cord. I tried to shutdown command through the web interface and "shutdown -s -t 0" from powershell. Either way, the RP2 restarts instead of shutting down.

What am I doing wrong?

aseltine
Posts: 1
Joined: Fri May 01, 2015 2:41 am

Re: shutdown -s Restarts Rasperry Pi 2

Fri May 01, 2015 2:44 am

"shutdown /s" maybe?
Last edited by aseltine on Fri May 01, 2015 4:08 am, edited 1 time in total.

User avatar
Robpol86
Posts: 18
Joined: Wed Jul 18, 2012 7:29 pm
Location: San Francisco, CA
Contact: Website

Re: shutdown -s Restarts Rasperry Pi 2

Fri May 01, 2015 2:46 am

Same thing happens to me.

Code: Select all

[10.192.168.147]: PS C:\Users\Administrator\Documents> shutdown /s /t 0
System will shutdown in 0 seconds...
[10.192.168.147]: PS C:\Users\Administrator\Documents>
Boots right back up. I'm sure they'll fix it in the next release or so. In the mean time I wouldn't really worry that much about corrupting anything. If anything does end up breaking you can just re-image the SD card. Not very many settings/customizations to lose compared to a traditional PC.

jtanner_msft
Posts: 105
Joined: Fri May 01, 2015 7:12 pm

Re: shutdown -s Restarts Rasperry Pi 2

Fri May 01, 2015 7:28 pm

Technically the rpi2 does not support the typical shutdown. There is however a mechanism to simulate shutdown by halting the subsequent boot which is implemented by Raspbian. That capability is available but did not make it into the currently released build, it should be available in later version in the future.

I hope that helps,
~Jonathan Tanner [MSFT]
Jonathan Tanner | Microsoft | Windows 10 IoT Core Insider Preview Support | This posting is provided 'as is' with no warranties and confers no rights.

jay691
Posts: 13
Joined: Tue Feb 24, 2015 8:17 am

Re: shutdown -s Restarts Rasperry Pi 2

Thu May 07, 2015 4:49 pm

So what is the recommended way of shutting it down? Just pull the plug?

RandomPiDude
Posts: 15
Joined: Mon Mar 18, 2013 11:13 pm

Re: shutdown -s Restarts Rasperry Pi 2

Thu May 07, 2015 8:34 pm

jay691 wrote:So what is the recommended way of shutting it down? Just pull the plug?
Yes. What could possibly go wrong... :)

jay691
Posts: 13
Joined: Tue Feb 24, 2015 8:17 am

Re: shutdown -s Restarts Rasperry Pi 2

Sat May 09, 2015 8:55 am

RandomPiDude wrote:
jay691 wrote:So what is the recommended way of shutting it down? Just pull the plug?
Yes. What could possibly go wrong... :)

How about the sd card getting corrupted?

sardo007
Posts: 4
Joined: Wed May 13, 2015 1:51 pm

Re: shutdown -s Restarts Rasperry Pi 2

Wed May 13, 2015 2:57 pm

I usually issue a "shutdown" from the main window/powershell and when the Pi displays the multicolored "splash" then I just pull the plug... I's working so far with no corruptions... cross my fingers :-P

cathorse
Posts: 2
Joined: Thu Sep 11, 2014 9:38 pm

Re: shutdown -s Restarts Rasperry Pi 2

Sat May 16, 2015 11:25 am

In order to have full power control on your RP1 the best way is to connect the device through a pc or a laptop. A laptop on internet by wifi normally has a free ethernet port and by charing and bridging the RPI1 it gets its own IP within the net. A reboot is always a safe way to secure the work and when you are turning of the laptop RPI1 dies with it. An starts up together with the laptop. A RPI1 does not and I guess will never have a startup button - its made that way.

Return to “Windows 10 for IoT”