MSFN Forum: [Help] Unattended Script - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Help] Unattended Script Script to autoformat (quick) C drive with NTFS FS Rate Topic: -----

#1 User is offline   xmanq8 

  • Group: Members
  • Posts: 4
  • Joined: 02-July 07

Posted 22 August 2007 - 02:36 AM

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"


#2 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 22 August 2007 - 04:50 AM

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!

#3 User is offline   xmanq8 

  • Group: Members
  • Posts: 4
  • Joined: 02-July 07

Posted 22 August 2007 - 05:19 AM

View PostYzöwl, on Aug 22 2007, 02:20 PM, said:

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

#4 User is offline   gosh 

  • gosh 2.0
  • Group: Patrons
  • Posts: 2,347
  • Joined: 03-October 03
  • OS:none specified
  • Country: Country Flag

Posted 22 August 2007 - 04:34 PM

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

This post has been edited by gosh: 22 August 2007 - 04:35 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy