swain90 Posted January 2, 2019 Posted January 2, 2019 Hi All, I encountered an issue with my AutoUnattend.xml file when booting from a USB Stick the other day, this was the error "Setup was unable to create a new system partition". Below is a copy of my script, is there anything in there which could be causing the problem. Note- this has only happened on one machine so far, others have been OK but they're not 100% identical. <?xml version="1.0" encoding="utf-8"?> <!--This answer file generated by RT Seven Lite--> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>0809:00000809</InputLocale> <UserLocale>en-GB</UserLocale> <UILanguage>en-US</UILanguage> <SystemLocale>en-US</SystemLocale> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DiskConfiguration> <WillShowUI>OnError</WillShowUI> <Disk> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <CreatePartitions> <CreatePartition> <!-- Create the system partition--> <Order>1</Order> <Type>Primary</Type> <Size>100</Size> </CreatePartition> <!-- Create the Windows partition and fill the rest of the hard disk --> <CreatePartition> <Order>2</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <!-- Modify the system partition--> <ModifyPartition> <Order>1</Order> <PartitionID>1</PartitionID> <Format>NTFS</Format> <Label>System</Label> <Letter>Z</Letter> </ModifyPartition> <!-- Modify the Windows partition --> <ModifyPartition> <Order>2</Order> <PartitionID>2</PartitionID> <Format>NTFS</Format> <Label>Windows</Label> <Letter>C</Letter> </ModifyPartition> </ModifyPartitions> </Disk> <Disk> <DiskID>1</DiskID> <WillWipeDisk>true</WillWipeDisk> <CreatePartitions> <!-- Use Whole Disk --> <CreatePartition> <Order>1</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <!-- Modify the Windows partition --> <ModifyPartition> <Order>1</Order> <PartitionID>1</PartitionID> <Format>NTFS</Format> <Label>LOGGING</Label> <Letter>D</Letter> </ModifyPartition> </ModifyPartitions> </Disk> <Disk> <DiskID>2</DiskID> <WillWipeDisk>true</WillWipeDisk> <CreatePartitions> <!-- Use Whole Disk --> <CreatePartition> <Order>1</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <!-- Modify the Windows partition --> <ModifyPartition> <Order>1</Order> <PartitionID>1</PartitionID> <Format>NTFS</Format> <Label>DB</Label> <Letter>E</Letter> </ModifyPartition> </ModifyPartitions> </Disk> </DiskConfiguration> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows Server 2008 R2 SERVERSTANDARD</Value> </MetaData> </InstallFrom> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> <UserData> <ProductKey> <Key>HMG6P-C7VGP-47GJ9-TWBD4-2YYCD</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>Company</Organization> <FullName>System</FullName> <AcceptEula>true</AcceptEula> </UserData> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <Description>Extract Drivers</Description> <CommandLine>%systemdrive%\Install\Extract.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>2</Order> <Description>Install Graphics Driver</Description> <CommandLine>%systemdrive%\Install\GFX\Install.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>3</Order> <Description>Install Intel Management Engine</Description> <CommandLine>%systemdrive%\Install\IntelME\Install.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>4</Order> <Description>Change Security Policy</Description> <CommandLine>%systemdrive%\Install\SecPol.bat</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>5</Order> <Description>Final Configuration</Description> <CommandLine>%systemdrive%\Install\UnattendedConfig.exe</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>6</Order> <Description>Remove System Drive Letter</Description> <CommandLine>%systemdrive%\Install\Cleanup.bat</CommandLine> </SynchronousCommand> </FirstLogonCommands> <UserAccounts> <AdministratorPassword> <Value>Password1</Value> <PlainText>true</PlainText> </AdministratorPassword> </UserAccounts> <AutoLogon> <Password> <Value>Password1</Value> <PlainText>true</PlainText> </Password> <Enabled>true</Enabled> <!--<LogonCount>3</LogonCount>--> <Username>Administrator</Username> </AutoLogon> <OOBE> <NetworkLocation>Work</NetworkLocation> <HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>false</SkipUserOOBE> </OOBE> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <TimeZone>GMT Standard Time</TimeZone> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ComputerName>SSER</ComputerName> </component> <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipAutoActivation>true</SkipAutoActivation> </component> </settings> </unattend>
Tripredacus Posted January 2, 2019 Posted January 2, 2019 My first thought is that you booted the USB stick in EFI mode. But that is only a guess. You'll need to view the log file on the ramdisk after this happens to see if there is any more info. When you get the error, you can press Shift+F10 to get the CMD.
Willy Gee Posted March 22, 2019 Posted March 22, 2019 Hi Swan90 Are you doing a clean boot from the disk NTFS partition from USB or Mod an harddrive? the problems is in startup Rootkit, This will work okay, but on most OS, but not on some Server OS Image will have a protection password to prevent an intuder/Hacker attack. It should be ADmin/antivirus is blocking. Disable ? (Password) if can, If using Norton AV/Server Protection, enter this passwork before partiton and installing. If Backup, you running recovery b-4 you will be front's with a "BLOCK" or Not allow with an error code it been awhile the last time was that i was using Windows 2000 Server. Which is the best business OS there was. but 2008 R2 is new (now 2016 server) so it maybe the Scripts c++ If this an 100% server the CMOS sometime the problems ( The CMOS/BIOS IO switches ) you want drive E: and it want to put it (?) ? Block on all HHD/SSD but the drive E: see if that work? <!-- Modify the Windows partition --> <ModifyPartition> <Order>1</Order> <PartitionID>1</PartitionID> but the <Format>NTFS</Format> <Label>DB</Label> <Letter>E</Letter> </ModifyPartition> </ModifyPartitions> </Disk> </DiskConfiguration> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows Server 2008 R2 SERVERSTANDARD</Value>
Willy Gee Posted April 3, 2019 Posted April 3, 2019 (edited) Hi What i would do is to changed 1 script in to two and install your MS 2008 R2 separated First i would try your Script in a "Virtual-box" and correct 3 problems i see in Script ...1st... don't repeat command line's; this confuse your UEFI / CMD … 2nd you have no "EXE" to executed? 3rd *.bat need to be a lot longer. While in VM do the Partition, first, then OS See if it install MS Os arch ? if so; you damn good at code-writing. Second thought, You using VS 2015-2017 pro/? you need to add MS Visual Studio coding with it, me i only know: C and C++, DOS 7, Java, COBOL, Rockwell I/O coding Old school robotic. No i can't built u a maid :-( but a GPS lawnmower cut grass, hell yes! Than go Walmart get the Robotic Vacuum Cleaner 200-600 dollar. You have a Clean yards, and clean carpet. Sorry i can't help you there on "Coding” i was looking for my MS Server 2000/2003 OS to run a de-script to convert to Notepad++ I still looking? Must be In storage. But now i don't have 599-1500 dollar to learn VS or get the software. My Server MS 2000/2003, 8 trays 3.5 100-160 GB/ea pr 32 bits, a lot stuff/software's/games, 4 gb ram with 16 gb PCI-HHD 8 I/O control-or, plus? Top it off 1 GB MHz processor, Old as s***. 1995-2001 used. But still work. Sorry i shouldn't help you out. Well best of luck in coding. WG Edited April 3, 2019 by Willy Gee mispelled an word said shouldn't "n't" was forgot
Tripredacus Posted April 3, 2019 Posted April 3, 2019 @Willy Gee Thanks to you, this old thread is moving into Funny Farm. However if you post trash like this onto any other thread outside of Funny Farm, you'll be on permanent vacation.
jaclaz Posted April 3, 2019 Posted April 3, 2019 1 hour ago, Tripredacus said: @Willy Gee Thanks to you, this old thread is moving into Funny Farm. However if you post trash like this onto any other thread outside of Funny Farm, you'll be on permanent vacation. Is a 3 months old thread actually "old" ? Anyway, VS2019 is already out (launched by people that don't have even thought to put a date on a site page for the event) : https://visualstudio.microsoft.com/vs2019-launch/ Anyway, it happened on 2nd April 2019, coincidentally only a few days after the good MS guys made an internal policy stating that no jokes/pranks had to be made on 1st of April ... https://www.theverge.com/2019/3/27/18283674/microsoft-april-fools-day-ban-pranks-internal-memo jaclaz
Tripredacus Posted April 4, 2019 Posted April 4, 2019 This is the modern internet, everything is instantly old! I try to use VisualStudio as little as humanly possible.
Willy Gee Posted April 19, 2019 Posted April 19, 2019 Quote Just Saiding Good bye to All. Yes I want to thank Jaclaz for that great VS 2019 launch…I think I fired up my old Cessna and go, whenever they set a few date. The sad thing about the YouTube video on the sites, is really great but when they show “Windows ME” Sadly it die very quickly. But not like Windows 7 last as long time 10 + years. My old “Clown Suite for Shriners” didn’t last that long! Well Tripredacus I want to said you welcome, I do need a vacation not the funny farm, but the “Sunny land of Las Vegas McCarran, see you there June 2019? You're can put me on permanent vacation. Good Bye!!! Happy flying...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now