Jump to content

Windows PE Default Directory


Nesta

Recommended Posts

I have a dual boot system that has a Windows PE build that is loaded on to the same drive as Windows XP SP2. Both are on the same partition. The Windows PE files are in C:\minint.

1) Is there a way for me to change the location of that directory? I no not want the minint folder on the root of C. I want to use C:\WindowsPE\minint instead. When I try this Windows PE does not boot. Here is the content of my boot.ini:

[boot loader]

timeout=0

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect

C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons

C:\CMDCONS\BOOTSECT.DAT="Windows PE"

2) When I've booted into Windows PE, is there a way to determine whether the laptop is running on battery or AC power? Is there perhaps a simple VB script that can determine this within PE?

Thanks!

Link to comment
Share on other sites


Q1. Looking at your boot.ini, you're either booting WinPE or RC but not both, depending on the version of txtsetup.sif.

By design, C:\WindowsPE\minint won't work. cmldr looks for minint and not WindowsPE\minint. I don't know if modifying it would work. Why not try it?

Q2. Isn't it when it's connected to the mains it always uses mains power?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...