Windows 7 Custom Image capture issue
Here is what Iam trying to achive with my Windows 7 Image....
- Installed Windows 7 x64
- Run sysprep in audit mode
- Installed all security updates
- Install softwares & customize the profile
- Run sysprep in oobe mode with custom unattend.xml (see below)
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" 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">
<SkipRearm>1</SkipRearm>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-SPP-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>
<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">
<CopyProfile>true</CopyProfile>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>GMT Standard Time</TimeZone>
<ComputerName>*</ComputerName>
<RegisteredOrganization>Company </RegisteredOrganization>
<RegisteredOwner>Company Employee</RegisteredOwner>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>en-uk;en-us</InputLocale>
<SystemLocale>en-uk</SystemLocale>
<UILanguage>en-uk</UILanguage>
<UserLocale>en-uk</UserLocale>
</component>
<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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>NAB0AG0AMABzAHAAaAAzAHIAMwBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>NAB0AG0AMABzAHAAaAAzAHIAMwBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</Password>
<Description>Built-in account for administering the computer/domain</Description>
<DisplayName>LocalAdmin</DisplayName>
<Group>Administrators</Group>
<Name>LocalAdmin</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>Company </RegisteredOrganization>
<RegisteredOwner>Company Employee</RegisteredOwner>
<TimeZone>GMT standard time</TimeZone>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/pen%20drive%20bkup/kingston%20urdrive/Company/win7%20test%2064%20bit/not%20sysprepped/prakswin7.wim#WIn 7 Test
Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
----------------------------------------------------------------------------------------------------------------------------------------
When this custom wim image is deployed through SCCM its not showing up any customization I have done to the defsult user profile.
This works for me when I built the VDI image and its not working when Iam doing it through SCCM. Do we need to have two user profiles before capturing the image...
What is missing in this or is there a better way to do it.
Thanks
December 15th, 2010 6:33pm
Here is what Iam trying to achive with my Windows 7 Image....
- Installed Windows 7 x64
- Run sysprep in audit mode
- Installed all security updates
- Install softwares & customize the profile
- Run sysprep in oobe mode with custom unattend.xml (see below)
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" 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">
<SkipRearm>1</SkipRearm>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-SPP-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>
<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">
<CopyProfile>true</CopyProfile>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>GMT Standard Time</TimeZone>
<ComputerName>*</ComputerName>
<RegisteredOrganization>Company </RegisteredOrganization>
<RegisteredOwner>Company Employee</RegisteredOwner>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>en-uk;en-us</InputLocale>
<SystemLocale>en-uk</SystemLocale>
<UILanguage>en-uk</UILanguage>
<UserLocale>en-uk</UserLocale>
</component>
<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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>NAB0AG0AMABzAHAAaAAzAHIAMwBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>NAB0AG0AMABzAHAAaAAzAHIAMwBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</Password>
<Description>Built-in account for administering the computer/domain</Description>
<DisplayName>LocalAdmin</DisplayName>
<Group>Administrators</Group>
<Name>LocalAdmin</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>Company </RegisteredOrganization>
<RegisteredOwner>Company Employee</RegisteredOwner>
<TimeZone>GMT standard time</TimeZone>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/pen%20drive%20bkup/kingston%20urdrive/Company/win7%20test%2064%20bit/not%20sysprepped/prakswin7.wim#WIn 7 Test
Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
----------------------------------------------------------------------------------------------------------------------------------------
When this custom wim image is deployed through SCCM its not showing up any customization I have done to the defsult user profile.
This works for me when I built the VDI image and its not working when Iam doing it through SCCM. Do we need to have two user profiles before capturing the image...
What is missing in this or is there a better way to do it.
Thanks
Unfortunately, profile customization did not work for me with either supported or unsupported methods. I would recomment using GPP instead. It will be interesting to know if you get profile customization to work.Mayur
Free Windows Admin Tool Kit Click here and download it now
December 16th, 2010 1:00pm
http://social.technet.microsoft.com/Forums/en-CA/w7itproinstall/thread/525dc1f0-0814-4ddd-bca2-b27fa2704871Mayur
December 16th, 2010 1:05pm