Jump to content

Recommended Posts

Posted

I'm trying to create a bartpe disk which has an option for a completely unattended wipe of the drive and re-load of win xp.

The trouble i'm having is when I run install.bat the windows xp setup starts, gets to the screen where you select regional settings (the language drop down is blank) and pauses. I click next and it offers to upgrade the drive to NTFS (Which it shouldn't, because I've just created a brand new NTFS partition). No matter whether I select yes or no here, when I click next it goes back to the language screen again, and just loops over and over.

If I cancel the install at this point and reboot, I get the missing NTLDR error if it tries to boot from the hard drive.

Here's what I have used:

Install.bat

Rem Install.bat
diskpart /s createpart.txt
format c: /q /y /fs:ntfs
i386\winnt32 /syspart:c: /tempdrive:c: /dudisable /unattended:..\unattend.txt /makelocalsource /s:d:\winsetup\i386
Exit

createpart.txt

select disk 0
clean
cre par pri
assign letter=c
active
exit

unattend.txt

 

;SetupMgrTag
[Data]
  AutoPartition=1
  MsDosInitiated="0"
  UnattendedInstall="Yes"

[Unattended]
  UnattendMode=FullUnattended
  OemSkipEula=Yes
  OemPreinstall=No
  TargetPath=\WINDOWS

[GuiUnattended]
  AdminPassword=*
  EncryptedAdminPassword=NO
  OEMSkipRegional=1
  TimeZone=33
  OemSkipWelcome=1

[UserData]
  ProductKey=*****-*****-*****-*****-*****
  FullName="******* ************"
  OrgName=""
  ComputerName=*** **********
[TapiLocation]
  CountryCode=1
  Dialing=Tone
  AreaCode=***

[RegionalSettings]
  LanguageGroup=1

[Identification]
  JoinWorkgroup=MSHome

[Networking]
  InstallDefaultComponents=Yes

The winxp i386 directory was copied to d:\winsetup\i386 for this purpose.

Also, FWIW, i've tried running thru the steps manually, without using the install.bat or unattend.txt. I get the exact same results this way, except that it seems to loop back all the way to the beginning of the setup when it loops, rather than just to the regional settings screen.

Any idea what I might be doing wrong here?

Thanks!

Gai-jin


Posted

I've continued playing with this, and have yet to get it working right. It seems part of the issue is with the /dudisable switch. When I take this switch out it does get past the region settings. It goes just a bit further to where it says it's collecting information and has 52 minutes to go for setup, but 6 hours later it's still sitting at that point.

Also, I've burned this image to disk and am trying to use it to format a pc just in case the issue is something with the VM I'm using, and it seems on the PC that each time i run winnt32, I get a different error. I use the same syntax 3 times, and get 3 different errors about corrupt files.

Any thoughts on what could be going on here?

Gai-jin

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