Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
mstester

Bypass warning "Target already exists" unattend install XP

Recommended Posts

Hi all.

I'm using an unattend sif file to install XP pro on some of my lab machines, however I keep getting the error telling me that the target directory "\Windows" already exists when it comes to the partition selection.

Below is my .sif file. I don't want to use any third party apps to achieve a full clean install of XP. Can anyone help me here so that my install simple wipes down the drives partitions and installs XP?

I thought that using "Repartition=Yes" and "AutoPartition=1" would automatically delete all the partitions on the drive and create a new one for this install or was i completely mistaken??

Thanks in advance

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

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\Windows
Repartition=Yes
WaitForReboot="No"
UnattendSwitch=Yes

[GuiUnattended]
AdminPassword=+++++++
EncryptedAdminPassword=No
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
TimeZone=85
OemSkipWelcome=1

[UserData]
ProductID=********************
FullName="******"
OrgName="******"
ComputerName=*******

[Display]
BitsPerPel=24
Xresolution=600
YResolution=800
Vrefresh=85

[TapiLocation]
CountryCode=353
AreaCode=1

[RegionalSettings]
LanguageGroup=1
SystemLocale=00001809
UserLocale=00001809
InputLocale=1809:00001809

[GuiRunOnce]

[Networking]
InstallDefaultComponents=No

[NetAdapters]
Adapter1=params.Adapter1

[params.Adapter1]
INFID=*

Edited by mstester

Share this post


Link to post
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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×