Jump to content

Vista Imaging and Bootable DVD Process Help ?


Recommended Posts

Greetings

I had hoped to create a imaging process that would do the following. Below is an overview. Is what I am attempting below possible?

1. Insert my own customized bootable Vista DVD with sysprepped image.

2. Automatically wipe the Drive of the PC

3. Create Partitions C: and D: on drive

4. Install my previously customized and now sysprepped Vista Business Sp1 image.

I have successfully created a image that will boot up after sysprep and is very close to what I want. Now I just really need help putting it all together on a bootable DVD. Do I combine my 2 .xml files? Do I have pieces in Sysprep.xml that should be in the unattend.xml or vice versa? Please look at my unattend.xml and my sysprep.xml. Any and all recommendations would be greatly appreciated.

1. (unattend.xml)

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urnchemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" 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>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Extend>true</Extend>
<Type>Extended</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>70000</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>3</Order>
<Extend>true</Extend>
<Type>Logical</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order>2</Order>
<Active>false</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>DATA</Label>
<Letter>D</Letter>
<PartitionID>2</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<Active>true</Active>
<Format>NTFS</Format>
<Label>OS_Install</Label>
<PartitionID>1</PartitionID>
<Extend>false</Extend>
<Letter>C</Letter>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/INDEX</Key>
<Value>1</Value>
</MetaData>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
<Key>XXXXXXXXXXXXXXXXXXXXXX</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<Organization>MyBusiness</Organization>
<FullName>MyBusiness</FullName>
</UserData>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
</component>
</settings>
<cpifflineImage cpiource="wim:c:/888/888/desktop/install.wim#Windows Vista BUSINESS" xmlns:cpi="urnchemas-microsoft-com:cpi" />
</unattend>

2. (sysprep.xml)

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urnchemas-microsoft-com:unattend">
<settings pass="generalize">
<component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipRearm>1</SkipRearm>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Path>net user administrator /active:yes </Path>
<Order>2</Order>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 00000000 /f</Path>
<Order>1</Order>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CopyProfile>true</CopyProfile>
<ProductKey></ProductKey>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>Central Standard Time</TimeZone>
<Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>en-us</InputLocale>
<SystemLocale>en-us</SystemLocale>
<UILanguage>en-us</UILanguage>
<UserLocale>en-us</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>2</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>QwBvAG0AbQBvAG4AMQBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>RAB1AGMAawBzADIAMAAwADcAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Description>Local Account</Description>
<Name>MYAdmin</Name>
<Group>Administrators</Group>
<DisplayName></DisplayName>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>Microsoft</RegisteredOrganization>
<RegisteredOwner>AutoBVT</RegisteredOwner>
</component>
</settings>
<cpifflineImage cpiource="wim:c:/users/55555/desktop/install.wim#Windows Vista BUSINESS" xmlns:cpi="urnchemas-microsoft-com:cpi" />
</unattend>

Thank you in advance

Edited by sw2000
Link to comment
Share on other sites

  • 3 weeks later...

I have been doing something close to this for the past couple of years. Here is what I currently do with XP, I am working with vista now too, but vista images span to many DVDs!

Create my sysprep'd image. (Ghost)

Create PE bootable CD.

Modify the startnet.cmd to include two things. 1st it does a start /wait on ghost to run (which has the image name hard coded in the command line). I did find out the hard way when doing this be sure to have 1 prompt, or you can wipe a pc out just by booting the DVD. Once the start /wait is complete a 3rd party free download checks for cd/dvd roms and ejects them.

Place the image inside the boot.wim (then, no need to determine what the drive letter is, its always X)

Compile the boot.wim. There is a switch in Oscdimg which I beleive is -m that will allow you to write an PE iso larger than 700mb

Burn the dvd.

My setup does this:

Turn PC on

press f12 for boot sequence

choose dvd

ghost prompts for "are you sure?"

ghost exits and runs cd rom eject

pc reboots and the mini-config runs

I have been playing with the xml's, but ghost is so much faster. Deployment time is more important to me than the cost of a ghost license, we have quite a few machines. The partition sizes are built into the image and there is no need for me to fdisk, format, etc. While I know ghost may not be an answer for some, I thought I throw this out there.

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