Jump to content

[Help] Unattended Script


Recommended Posts

Hi,

I have searched for more than 4 hours to get a perfectly working script to do quick autoformat C drive using NTFS FS and leave the other partitions without any change. Looking for the script which will automate the whole process after pressing enter to the message.."Press any key to boot from cd/dvd". Pls help me.

My current winnt.sif file looks as mentioned below:

[Data]

Autopartition=0

MsDosInitiated=0

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

UnattendSwitch="Yes"

OemPreinstall="Yes"

OemSkipEula="Yes"

ComputerType="Standard PC", Retail

FileSystem=*

WaitForReboot="No"

NoWaitAfterTextMode=1

NoWaitAfterGUIMode=1

DriverSigningPolicy=Ignore

NonDriverSigningPolicy=Ignore

[Display]

Xresolution=1024

Yresolution=768

BitsPerPel=32

Vrefresh=75

[GuiUnattended]

EncryptedAdminPassword="No"

AutoLogon="Yes"

AdminPassword=*

TimeZone=150

OEMSkipRegional=1

OemSkipWelcome=1

[shell]

CustomDefaultThemeFile="%WinDir%\Resources\Themes\My Theme (nL).theme"

[Components]

[userData]

ProductKey="xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"

ComputerName=*******

FullName="*******"

OrgName="******"

[RegionalSettings]

SystemLocale="0409"

UserLocale="0409"

UserLocale_DefaultUser="0409"

InputLocale="0409:00000409"

InputLocale_DefaultUser="0409:00000409"

[Networking]

InstallDefaultComponents="Yes"

[identification]

JoinWorkgroup="workgroup"

[GuiRunOnce]

"%SystemRoot%\System32\nLite.cmd"

Link to comment
Share on other sites


Have you looked at using a section similar to this?

[DiskConfig]
Disk1 = Disk1.config
[Disk1.config]
SetActive1 = Yes
Size1 = 3000
PartitionType1 = primary
FileSystem1 = ntfs
QuickFormat1 = Yes

I don't use it myself but it is reported to work!

Link to comment
Share on other sites

Have you looked at using a section similar to this?
[DiskConfig]
Disk1 = Disk1.config
[Disk1.config]
SetActive1 = Yes
Size1 = 3000
PartitionType1 = primary
FileSystem1 = ntfs
QuickFormat1 = Yes

I don't use it myself but it is reported to work!

Thanks for your prompt reply. Instead of mentioning size of the partition, i would like to use the total available space in c drive. If I am not specifying size, will it take the total available space? Also pls advice me in which location i will insert this script. (I am poor in using scripts).

Link to comment
Share on other sites

Have you checked ref.chm included in the xp sp2 deploy tools? Another option might be diskpart, which let's you script things like that. I think you might have to use winpe to do that though.

-gosh

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