Jump to content

How to run Runonceex.cmd from usb drive using Winnt32.exe?


Recommended Posts

  • 2 weeks later...

hi atolica;

we have the same problem. :) let me give you a little clue. winnt32.exe runs at 32 bit environments such as winpe bartpe etc. so you should boot into any 32 bit env. from usb or somewhere else. then you can execute winnt32 from here.

in order to manage this i am trying to install win xp unattended from D: partition so that i can move this to a usb flash disk later. but the problem is setup doesnt read cmdlines.txt and/or $oem$ doesnt copy the folders. :( Still searching a solution.

you can make your usb flash disk by means of winpe 2.0 its so easy. search it with this approach. you ever meet a solution let me know :)

Link to comment
Share on other sites

Hi

Thanks for your reply

I made it work.

I am using a nlited xp. So here it is.

1. Make sure cmdlines is inside $OEM$ folder. Also I have my runonceex.cmd in there.

2. Copy the whole folder in I386 folder.

Build a winpe 2 or you can use win pe.

I have on my USB drive this directory structure:

BOOT

SOURCES

BOOTMGR

Anyway make sure your winpe or vistape boot fine.

Then inside winpe I format my drive as I want, and next I run:

WINNT32.EXE /CMD:CMDLINES.TXT /SYSPART:C: /TEMPDRIVE:C: /MAKELOCALSOURCE /UNATTEND:WINNT.SIF

You can use UNATTEND.TXT instead of Runonceex.cmd. Depends on your build.

Runonceex.cmd runs at T-13 so no worries.

Greets

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