Jump to content

Lost Partition


Recommended Posts

My unattended partition windows always remove whatever partitions I have so on the blue partition screen, i would see an unformatted hard drive.

How do I fix that.

Sorry about asking too much but is there a way to autocreate username too and skip the intro?

Here is my winnt.sif

[Data]

AutomaticUpdates = "No"

Autopartition = 0

MsDosInitiated = 0

UnattendedInstall = "Yes"

[unattended]

UnattendMode = DefaultHide

UnattendSwitch = "No"

OemPreinstall = "Yes"

OemSkipEula = "Yes"

FileSystem = *

WaitForReboot = "No"

NoWaitAfterTextMode = 1

NoWaitAfterGUIMode = 1

Hibernation = "No"

OemPnpDriversPath= "D\C\A;D\C\AM\1;D\C\AM\2;"

OemPreinstall= Yes

DriverSigningPolicy = Ignore

NonDriverSigningPolicy = Ignore

[Display]

BitsPerPel = 32

Vrefresh = 75

[systemRestore]

DisableSR = 1

CreateFirstRunRp = 0

[setupParams]

SkipMissingFiles = "No"

[GuiUnattended]

EncryptedAdminPassword = "xxxx"

AdminPassword = xxxx

TimeZone = 04

OEMSkipRegional = 1

OemSkipWelcome = 1

[Components]

[userData]

ProductKey = "xxxx"

ComputerName = xxx

FullName = "xxx"

[RegionalSettings]

Language = "0409"

[Networking]

InstallDefaultComponents = "Yes"

[WindowsFirewall]

Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]

Mode = 0

[identification]

JoinWorkgroup = "MSHOME"

[GUIRunOnce]

command9="%SystemDrive%\fnsh_log.cmd"

command10="%SystemDrive%\install\applications\preinstall.cmd"

Link to comment
Share on other sites


[Data] section with the following entries to the unattended answer file:

• UnattendedInstall=Yes - Value must be set to "yes"

• MSDosInitiated=No - Value must be set to "no" or Setup stops during the graphical portion of Setup

• AutoPartition=1 - If the value is set to 1, the installation partition is automatically selected. If the value is set to 0 (zero), you are prompted for the installation partition during the text portion of Setup

Edited by Shindo_Hikaru
Link to comment
Share on other sites

Are you trying to retain your existing partiton or replace the partition with a fresh one.

No, I just want my disc to not show my entire hd as unformatted.

Everytime I boot from the disc, the hd is shown as unformatted. So my d:,e:, etc partitions are gone.

I basically lose everything every time i boot from the disc.

Link to comment
Share on other sites

As far as i am aware, you are only able to setup one partition and not mulitple partitions and on your list,

[unattended]

UnattendMode = DefaultHide

UnattendSwitch = "No"

OemPreinstall = "Yes"

OemSkipEula = "Yes"

FileSystem = * ---------------------------> unspecified File System

WaitForReboot = "No"

NoWaitAfterTextMode = 1

NoWaitAfterGUIMode = 1

Hibernation = "No"

OemPnpDriversPath= "D\C\A;D\C\AM\1;D\C\AM\2;"

OemPreinstall= Yes

DriverSigningPolicy = Ignore

NonDriverSigningPolicy = Ignore

i do reacall that you can setup to leave partitions as it and autoformat, i have not created a Winnt.sif Script in a while.

Check here for more complete details.

http://unattended.msfn.org/unattended.xp/view/web/19/

Link to comment
Share on other sites

I believe Autopartition=0 is correct, otherwise it will reformat your entire HD.

I get the impression that it won't delete the individual partition if it already exists. You either do it manually before unattended installation, or (at least people say) use WinPE/BartPE and Diskpart. Unofficially some people say using Disk.Config (from winbom.ini) would work but I've not tried it. These have all been discussed before here.

BTW, I see in your winnt.sif you have:

[systemRestore]DisableSR = 1

CreateFirstRunRp = 0

It isn't in ref.chm but I've seen it posted before here and elsewhere, does it actually work?

Edited by Takeshi
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...