Anyway to have OS cd automatically format hd and then install OS?

Discussion in 'Windows XP / Older OS' started by catdog215, Apr 22, 2010.

  1. catdog215

    catdog215 MDL Senior Member

    Oct 21, 2009
    396
    20
    10
    hi, not sure where to post. sorry if it's in a wrong place.

    is there a way to have window automatically format your hd during a clean installation w/out window asking?

    for example, when boot from OS cd, the OS cd automatically format ur hd then it automatically install OS.
     
  2. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    489
    180
    in the .sif file I believe..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. JakeBickel

    JakeBickel MDL Junior Member

    Nov 9, 2009
    65
    29
    0
    #3 JakeBickel, Apr 23, 2010
    Last edited: Apr 23, 2010
    I use the following winnt.sif file in the i386 directory and it automatically formats the c drive :


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

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

    [GuiUnattended]
    AdminPassword=*
    EncryptedAdminPassword=NO
    AutoLogon=Yes
    AutoLogonCount=1
    OEMSkipRegional=1
    TimeZone=35
    OemSkipWelcome=1

    [UserData]
    ProductKey="XXXXX-XXXXX-XXXXX=XXXXX"
    FullName="computer"
    OrgName="computer"
    ComputerName=*

    [Identification]
    JoinWorkgroup=WORKGROUP

    [Networking]
    InstallDefaultComponents=Yes

    [Shell]
    DefaultStartPanelOff = Yes
    DefaultThemesOff = Yes


    [WindowsFirewall]
    Profiles = WindowsFirewall.TurnOffFirewall

    [WindowsFirewall.TurnOffFirewall]
    Mode = 0
     
  4. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,696
    3,049
    300
    #4 urie, Apr 23, 2010
    Last edited by a moderator: Apr 20, 2017
  5. catdog215

    catdog215 MDL Senior Member

    Oct 21, 2009
    396
    20
    10
    #5 catdog215, Apr 23, 2010
    Last edited: Apr 23, 2010
    (OP)
    u're the best. thanks

    Urie put AutoPartition=0 and JackBickel put AutoPartition=1, which is correct. i know that 1 OS will find empty space and install to that part.

    JackBickel theory
    [Unattended]
    UnattendMode=FullUnattended
    OemSkipEula=Yes
    OemPreinstall=Yes
    TargetPath=\WINDOWS
    UnattendSwitch="yes"
    WaitForReboot="No"
    Repartition=yes

    Urie's theory
    [Unattended]
    UnattendMode=FullUnattended
    OemSkipEulA=Yes
    OemPreinstall=No
    TargetPath=\WINDOWS
    Repartition=Yes
    Unattendswitch="Yes"
    WaitForReboot="No"
    DriverSigningPolicy=Ignore

    which one should i use?
     
  6. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,696
    3,049
    300
    #6 urie, Apr 23, 2010
    Last edited: Apr 23, 2010
    If you have windows xp pro cd look in SUPPORT\TOOLS folder and unpack the DEPLOY.CAB there you will find ref.chm you will also find setupmgr.exe that will make winnt.sif file (NOTE) setupmgr.exe is crashes in windows 7 because it cant read registry settings so either run it in xp or xp virtual machine.
     
  7. catdog215

    catdog215 MDL Senior Member

    Oct 21, 2009
    396
    20
    10
    #7 catdog215, Apr 23, 2010
    Last edited: Apr 23, 2010
    (OP)
    Will this work?

    [Data]
    MsDosInititated=0
    UnattendedInstall=Yes

    [Unattended]
    UnattendMode=ProvideDefault
    OemSkipEulA=Yes
    OemPreinstall=Yes
    Repartition=Yes
    FileSystem=*
    DriverSigningPolicy=Ignore

    [GuiUnattended]
    AdminPassword=*
    EncryptedAdminPassword=No
    OEMSkipRegional=0
    TimeZone=035
    ProfilesDir="%systemdrive%\Documents and Settings\"

    [UserData]
    ProductKey=xxxxxxxxxxxxxxxxxxxxx

    [RegionalSettings]
    LanguageGroup=1
    Language=00000809

    [Identification]
    JoinWorkgroup=WORKGROUP

    Some of these came from "Multi OEM Windows XP Pro with OEMScan" by ColdAsIce since i will be using his file. If this is good, i will replace the one that ColdAsIce has in the winnt.sif
     
  8. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,696
    3,049
    300
    yes it should work if you are using the Multi OEM Windows XP Pro with OEMScan or cd with $OEM$ folder you also need may to change regional time zone and language setting to suite did you not download WinSif Creator2.0 all the info for those are in the folder. Easiest way to learn is do an install.
     
  9. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    489
    180
    I would suggest testing in VM instead of wasting cd/dvd. After you get it error free and the way you want, burn it and try on a live machine. It is a lot of trial and error when you are learning the system.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. catdog215

    catdog215 MDL Senior Member

    Oct 21, 2009
    396
    20
    10
    yes i did d/l and above is the result but i delete some out so itl looks almost like Multi OEM Windows XP Pro with OEMScan winnt.sif. scare if i add more it might give error when install OS :). but thank you all for the help. A+ to all of you
     
  11. catdog215

    catdog215 MDL Senior Member

    Oct 21, 2009
    396
    20
    10
    i know nothing about VM. any good link i can learn? thx
     
  12. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    489
    180
    VM Ware is my favorite.there is a viewer and workstation program. the latter has more options. VirtualBox is legitimately free, and can be made to show SLP string. VM ware is simple to allow almost any SLP or SLIC with tools in the virtualization forum here.

    Some people like the microsoft VM, I do not. Just google for virtual machine and read on.....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. eawedat

    eawedat MDL Novice

    Apr 6, 2013
    1
    0
    0
    What values of options AutoPartition & Repartition would be

    if I have two Partitions C:\ 20GB , D:\ 20GB , Divided equally. FAT32's file system each.

    1)interested of Installing Windows XP on Partition C:\ ( Formatting C:\ - Clean Install )
    2)not interested to fdisk (want to keep both partitions C:\ & D:\ )
    3)not interested to convert to NTFS

    What options would be
    [Data]
    AutoPartition=X
    UnattendedInstall="Yes"

    [Unattended]
    UnattendMode=FullUnattended
    Repartition=X