Topic: Shutdown command hangs  (Read 132 times)

0 Members and 1 Guest are viewing this topic.

Shutdown command hangs
« on: August 08, 2017, 12:17:37 PM »

digitalis99

  • Apprentice
  • *
  • Date Registered: Aug 2017
  • Posts: 2
I've assembled a pretty simple Win10PESE build, but for some reason, the shutdown command on the command line doesn't work.  After entering any command involving shutdown.exe (other than "shutdown /?"), the cursor moves to the next line and sits there blinking for eternity.

Obviously, some component is missing, but I don't know what.  Any ideas?

Re: Shutdown command hangs
« Reply #1 on: August 08, 2017, 10:12:43 PM »

JFX

  • Moderator, Code Baker
  • Sr. Chef
  • *****
  • Date Registered: Dec 2010
  • Posts: 861
It's a WinPE not a full Windows.

use wpeutil shutdown or wpeutil reboot.

Re: Shutdown command hangs
« Reply #2 on: August 09, 2017, 05:59:09 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7071
Just for info :
3rd party utilities that shutdown PE

Downloads\AppYGS\System Tools\ExitPE
Downloads\AppYGS\Supplementary\Power Off

Also related :
On PE better Flush before the shutdown

Downloads\AppYGS\System Tools\Flush

Re: Shutdown command hangs
« Reply #3 on: August 09, 2017, 07:11:02 AM »

digitalis99

  • Apprentice
  • *
  • Date Registered: Aug 2017
  • Posts: 2
It's a WinPE not a full Windows.

use wpeutil shutdown or wpeutil reboot.

Cool.  I didn't know there was an entirely different executable for that stuff.  Is that part of WinPE natively, or is it a custom utility added by PESE?  Further, is there a place I can go to find general documentation or mention of stuff like this?  In my defense, I did search...just didn't find anything useful.   :wink:

Re: Shutdown command hangs
« Reply #4 on: August 09, 2017, 07:28:27 AM »

JFX

  • Moderator, Code Baker
  • Sr. Chef
  • *****
  • Date Registered: Dec 2010
  • Posts: 861
It's part of WinPE since version 2 (Vista WinPE).

https://technet.microsoft.com/en-us/library/dd744592(v=ws.10).aspx
« Last Edit: August 09, 2017, 07:29:16 AM by JFX »

 

Powered by EzPortal