MSFN Forum: poweroff in PE? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

poweroff in PE? Rate Topic: -----

#1 User is offline   twalk482 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 21-April 06

Posted 27 September 2006 - 05:45 AM

Anyone used this option in the WINBOM.INI (Restart = Poweroff)? WINBOM.INI is at the root of my PE CD

[Factory]
WinBOMType = WinPE
Reseal = No
[WinPE.Net]
StartNet = No
[WinPE]
Quiet = No
Restart = Poweroff


With a Startnet that looks like this
Factory -WinPE


You would think the machine does it's thing then shut's down ... so I can box it up and ship it out.

I would love to hear anyone else's experience with this ... or even alternatives ... I tried copying shutdown.exe to my PE i386\system32 folder, but that didn't work either.


#2 User is offline   dau 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 26-August 06

Posted 27 September 2006 - 07:03 AM

works just fine here... you did replace both WINBOM.INI's ? my guess is you did not so just replace the one in the I386 folder as well both of them CD root and I386 have to be the same

#3 User is offline   twalk482 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 21-April 06

Posted 27 September 2006 - 09:49 AM

Ugh ... just found out the solution ... don't run the step to remove the files in SERVERSP1-REMOVELIST.TXT supplied in the OPK ... I guess it removes something that the factory.exe uses.

TO get this functionality I guess I'll have to use the 150MB version of PE instead of the 95MB version :realmad:

This post has been edited by twalk482: 27 September 2006 - 09:50 AM


#4 User is offline   mats 

  • Member
  • PipPip
  • Group: Members
  • Posts: 206
  • Joined: 10-May 05

Posted 28 September 2006 - 01:55 AM

oops. Yes that cleanup list removes way to much. But you can clean parts of it. For example the fonts and the help files. Drivers for modems and so on. I got a 124Mb image with wmi,wsh,ado and vb6 runtime support

#5 User is offline   os2fan2 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 400
  • Joined: 09-September 04

Posted 12 October 2006 - 02:07 AM

According to the book "Windows Registry Guide" by Jerry Honeycutt, the trick is as follows.

From your command prompt, simply exit. If you are using a batch file to do your stuff to the machine, have an exit command at the end. This terminates the shell, and hence winpe.

To prevent the system from restarting, put a floppy disk in drive a:, most likely, a DOS disk. The system will still restart, but you can just pop the disk out and box up the box.

#6 User is offline   Nuno Brito 

  • .script developer
  • PipPip
  • Group: Members
  • Posts: 261
  • Joined: 11-May 06

Posted 16 October 2006 - 03:50 PM

View Posttwalk482, on Sep 27 2006, 02:49 PM, said:

Ugh ... just found out the solution ... don't run the step to remove the files in SERVERSP1-REMOVELIST.TXT supplied in the OPK ... I guess it removes something that the factory.exe uses.

TO get this functionality I guess I'll have to use the 150MB version of PE instead of the 95MB version :realmad:


Not really.. PE running on 31Mb can also shutdown completely, just use explorer as shell along with "ShutDownRes.dll" - it will allow you to completely shut down the machine.

Take the screenshot as an example of this:
Attached File  shutdown.PNG (49.17K)
Number of downloads: 32

It is added as a feature inside explorer.script, so it's just a matter of applying it on your WinPE without needing to manually edit any files and using your already existent PE build.

Hope this helps! :)

#7 User is offline   Paraglider 

  • Newbie
  • Group: Members
  • Posts: 35
  • Joined: 21-August 05

Posted 16 October 2006 - 05:00 PM

Actually explorer.script is using my shutdown utilitities. They are downloadable from www.paraglidernc.com and will work without explorer. The replacement msgina.dll ( pegina.dll ) is also needed as well. shutdownres.dll just contains english string resources used by pegina.dll.

If you are not using explorer then the explorer shutdown gui can be invoked by calling shutdown.exe with the /g parameter. Its all described in the Usage link for the utilities. Note that the original msgina should be named ginaorg.dll and pegina.dll should be named msgina.dll.

This post has been edited by Paraglider: 16 October 2006 - 05:07 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy