Jump to content

Recommended Posts

Posted

Read this thread with interest, and tried copying i386 (Trick #1 Make a Flat) to C:\Windows\Source, but I get errors with GuiRunOnce (under winnt.sif) and RunOnceEx.cmd. Basically with GuiRunOnce listed in winnt.sif, I can't get RunOnceEx.cmd to run.

So my question is, is there some other way to copy the source over (say during RunOnceEx.cmd, without having to copy the i386 folder to the $OEM$\$1\Install folder? I would hate to have two i386 folders on the CD for this purpose. Is there a way to run it from cmdlines.txt maybe?


Posted

This worked for me under RunOnceEx.cmd change the 145 as needed.

Also make sure source.bat is in $OEM$\$$ directory on your CD/DVD.

REG ADD %KEY%\145 /VE /D "Install recovery console" /f

REG ADD %KEY%\145 /V 1 /D "%windir%\source.bat" /f

I also add this to my reg file

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole]

"SetCommand"=dword:00000001

"SecurityLevel"=dword:00000001

This allows you to enter the following commands in the recovery console

set AllowWildCards = True

set AllowAllPaths = True

set AllowRemovableMedia = True

set NoCopyPrompt = True

which allows files to be copied to floppy and the rest of the hard drive.

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...