xmanq8 Posted August 22, 2007 Share Posted August 22, 2007 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=0MsDosInitiated=0UnattendedInstall="Yes"[unattended]UnattendMode=FullUnattendedUnattendSwitch="Yes"OemPreinstall="Yes"OemSkipEula="Yes"ComputerType="Standard PC", RetailFileSystem=*WaitForReboot="No"NoWaitAfterTextMode=1NoWaitAfterGUIMode=1DriverSigningPolicy=IgnoreNonDriverSigningPolicy=Ignore[Display]Xresolution=1024Yresolution=768BitsPerPel=32Vrefresh=75[GuiUnattended]EncryptedAdminPassword="No"AutoLogon="Yes"AdminPassword=*TimeZone=150OEMSkipRegional=1OemSkipWelcome=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 More sharing options...
Yzöwl Posted August 22, 2007 Share Posted August 22, 2007 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 = YesI don't use it myself but it is reported to work! Link to comment Share on other sites More sharing options...
xmanq8 Posted August 22, 2007 Author Share Posted August 22, 2007 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 = YesI 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 More sharing options...
gosh Posted August 22, 2007 Share Posted August 22, 2007 (edited) 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 August 22, 2007 by gosh Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now