perlabsrat Posted December 11, 2007 Share Posted December 11, 2007 (edited) I have done a lot of searching on this topic and have not been able to find a working answer to this problem. I work in a lab where we constantly need to do clean installs of windows using only an OS CD and a floppy containing a copy of winnt.sif The problem I am currently trying to solve is that while I do want the drive to be reformatted I need the partition size to be controllable in the answer file and without the user having to supply any values. This needs to be a fire and forget process with no prompting.In the end, the goal is that the drive must contain unallocated free space after the install but no matter what I have tried the setup still tries to partition the drive as one large partition filling the drive. I have been experimenting with the ExtendOEMPartition and [DiskConfig] which I can not tell if DiskConfig is even supported inside a winnnt.sif file like this as I have read conflicting posts on this topic.So without making the floppy bootable and using a tool like diskpart/gdisk can anyone look at my winnt.sif and tell me how to modify it so that I end up with say a 20gb partition after the install and the remainder of the drive is unallocated free space?Thanks.;SetupMgrTag[Data] ;AutoPartition=1 UnattendedInstall="Yes" MSDosInitiated="0"[Unattended] ; UnattendMode=FullUnattended ;UnattendMode=ProvideDefault; prompt user along the way DriverSigningPolicy=Ignore OemSkipEula=Yes OemPreinstall=No TargetPath=\WINNT2 ;Repartition = "Yes";FileSystem=*;FileSystem=ConvertNTFS;ExtendOemPartition=1; fill the drive;ExtendOEMPartition = 10000; make the drive nnn MB in sizeExtendOemPartition = 20000; this does not appear to work correctly NoWaitAfterTextMode=1 NoWaitAfterGUIMode=1 WaitForReboot= No UnattendSwitch= Yes [GuiRunOnce]b:\kickoff.cmda:\kickoff.cmd[LicenseFilePrintData]AutoMode = PerServerAutoUsers = 10[GuiUnattended] AdminPassword=password OEMSkipRegional=1 TimeZone=20 OemSkipWelcome=1 AutoLogon=Yes AutoLogonCount=99[UserData] FullName=Myname OrgName=Mycompany ComputerName=* ProductKey= *******key goes here ********[URL] Home_Page=http://www.google.com Search_Page=http://www.google.com[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=85[Identification] JoinWorkgroup=workgroup[Networking] InstallDefaultComponents=No[Components] freecell=off hearts=off minesweeper=off solitaire=off pinball=off spider=off zonegames=off[NetOptionalComponents];Beacon = 0;DHCPServer = 0;DNS = 0;IAS = 0;ILS = 0;LPDSVC = 0;MacPrint = 0;MacSrv = 0;Netcm = 0NetMonTools = 1;SimpTcp = 0SNMP = 1WBEMSNMP =1 [TapiLocation] Dialing=Tone AreaCode=512[Branding] BrandIEUsingUnattended=Yes[Proxy] Proxy_Enable=0 Use_Same_Proxy=0[NetAdapters] Adapter1=params.Adapter1[params.Adapter1] INFID=*[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER[NetProtocols] MS_TCPIP=params.MS_TCPIP[params.MS_TCPIP] DNS=No UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes ;IPAddress=192.168.1.12 ;SubnetMask=255.255.255.0 ;DefaultGateway=192.168.1.1 ;DNSServerSearchOrder=24.93.35.62,24.93.40.63,24.93.40.62 WINS=No NetBIOSOptions=0[SNMP]Contact_Name= UsernameLocation = Our_Labs Service = Physical, Applications, End-to-End, Datalink, InternetCommunity_Name = PublicTraps = 127.0.0.1;Send_Authentication = YesAccept_CommunityName = Public:Read_Only, Private:Read_WriteAny_Host = yes;Limit_Host = server1.thesystemadministrator.com, server2.thesystemadministrator.comforum_Winnt.sif Edited December 11, 2007 by perlabsrat Link to comment Share on other sites More sharing options...
Arie Posted December 12, 2007 Share Posted December 12, 2007 Not going to work, you'll need third party applications and scripting to get the result which you're after. Link to comment Share on other sites More sharing options...
IcemanND Posted December 12, 2007 Share Posted December 12, 2007 the settings you are trying to use by the looks of it are for running the installation from a RIS. Boot from a PE environment then partition the drive as desired and kick off the installation from there, all of which can be scripted silently. 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