Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 HALP! Questions on Windows and Windows Server
 Deployment: Windows and apps
 Wallpaper is not copied with CopyProfile=True
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

GeorgeM
Seasoned But Casual Onlooker

USA
67 Posts
Status: offline

Posted - 04/04/2012 :  10:49:19 AM  Show Profile  Reply with Quote
Hello,
I have been trying to get my answer file to copy a wallpaper to the default user profile but it is not working. All other settings I configure in the Administrator profile are being copied. I am installing Windows 7 and configuring a VM manually and making the answer file with WSIM. The answer file is below. Any help would be appreciated.



<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing>
<package action="configure">
<assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7600.16385" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="" />
<selection name="InboxGames" state="false" />
<selection name="WindowsGadgetPlatform" state="false" />
<selection name="Chess" state="false" />
<selection name="FreeCell" state="false" />
<selection name="Hearts" state="false" />
<selection name="Internet Games" state="false" />
<selection name="Minesweeper" state="false" />
<selection name="More Games" state="false" />
<selection name="PurblePlace" state="false" />
<selection name="Shanghai" state="false" />
<selection name="Solitaire" state="false" />
<selection name="SpiderSolitaire" state="false" />
<selection name="Internet Backgammon" state="false" />
<selection name="Internet Checkers" state="false" />
<selection name="Internet Spades" state="false" />
<selection name="MediaCenter" state="false" />
<selection name="OpticalMediaDisc" state="false" />
<selection name="TabletPCOC" state="false" />
</package>
</servicing>
<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>1</Order>
<Size>30000</Size>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>Win7OS</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<WillWipeDisk>true</WillWipeDisk>
<DiskID>0</DiskID>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
<Key>TBX26-C6WD9-GYPHB-GFTHM-Y8XQG</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>None</FullName>
<Organization>None</Organization>
</UserData>
<DynamicUpdate>
<Enable>true</Enable>
</DynamicUpdate>
</component>
</settings>
<settings pass="oobeSystem">
<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">
<Themes>
<DefaultThemesOff>true</DefaultThemesOff>
</Themes>
<WindowsFeatures>
<ShowInternetExplorer>true</ShowInternetExplorer>
<ShowMediaCenter>false</ShowMediaCenter>
<ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>
</WindowsFeatures>
<OOBE>
<NetworkLocation>Work</NetworkLocation>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<AutoLogon>
<Password>
<Value>YgA0AGQAbQAwAHAAaAAwACEAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<Username>Administrator</Username>
<LogonCount>1</LogonCount>
</AutoLogon>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>YgA0AGQAbQAwAHAAaAAwACEAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Description>CLPIT</Description>
<DisplayName>CLPIT</DisplayName>
<Name>CLPIT</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<TimeZone>Eastern Standard Time</TimeZone>
</component>
<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">
<SystemLocale>en-US</SystemLocale>
<InputLocale>0409</InputLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" 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">
<fDenyTSConnections>false</fDenyTSConnections>
</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>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" 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>
<cpi:offlineImage cpi:source="wim:d:/win7/en_windows_7_enterprise_x86/sources/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

GeorgeM
Seasoned But Casual Onlooker

USA
67 Posts
Status: offline

Posted - 04/04/2012 :  10:52:29 AM  Show Profile  Reply with Quote
BTW: I am putting the wallpaper file in C:\Windows\Web\Wallpaper\Windows and then choosing it through the desktop background image section of Personalization logged in as the Administrator account.
Go to Top of Page

joshiieeii
Welcome Newcomer

6 Posts
Status: offline

Posted - 04/04/2012 :  2:36:54 PM  Show Profile  Reply with Quote
In the task sequence you are deploying this captured image, are you also making sure the unattend.xml has copyprofile as true?

TS>Properties>OS Info>Edit Unattend.xml
Go to Top of Page

GeorgeM
Seasoned But Casual Onlooker

USA
67 Posts
Status: offline

Posted - 04/04/2012 :  3:29:39 PM  Show Profile  Reply with Quote
I'm not using MDT. Do I have to to get the wallpaper to copy?
Go to Top of Page

joshiieeii
Welcome Newcomer

6 Posts
Status: offline

Posted - 04/06/2012 :  3:19:01 PM  Show Profile  Reply with Quote
I would mount the image you captured and go to the panther directory to make sure the CopyProfile is listed as true there.
Go to Top of Page

arwidmark
Old Timer

Sweden
533 Posts
Status: offline

Posted - 04/07/2012 :  7:46:42 PM  Show Profile  Visit arwidmark's Homepage  Reply with Quote
The unattend.xml in the image should not have CopyProfile to true, the WAIK documentation is incorrect on that point. So don't set it when sysprepping the image. Inject it to the unattend.xml file belonging to the task sequence you use to deploy the image. See my answer (below) to a similar post in the TechNet forums earlier today:

-----

I did some additional tests today, and it didn't matter if I stored the background image inside or outside the admin profile, it still gets copied as long as the copyprofile is set to true. Assuming its the unattend.xml file used when deploying the image (and not the unattend.xml used when sysprep/capturing the image). I also tried one of the default wallpapers, and that worked fine too.

Check your setupact.log file in the C:\Windows\Panther\UnattendGC folder after deploying the image, there should be a few lines saying:

2012-04-07 15:51:02, Info [Shell Unattend] Running 'specialize' pass
2012-04-07 15:51:02, Info [Shell Unattend] ComputerName set to PC00081
2012-04-07 15:51:02, Info [Shell Unattend] TimeZone: Time zone set to 'Pacific Standard Time'
2012-04-07 15:51:05, Info [Shell Unattend] CopyProfileDirectory from C:\Users\Administrator succeeded.
2012-04-07 15:51:05, Info [Shell Unattend] CopyProfile succeeded

/ Johan

Regards

Johan Arwidmark
Microsoft MVP - Enterprise Client Management
http://www.deploymentresearch.com
http://www.facebook.com/DeploymentResearch
Twitter: @jarwidmark
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2011 Mark Minasi Go To Top Of Page
This page was generated in 0.09 seconds. Snitz Forums 2000