Jump to content


o0JeZ0o

Deploying Windows 8 and the copy profile setting using SCCM 2012

Recommended Posts

Hi all,

 

let me start by saying what a fantasic resource this site is for IT admins to share knowledge. I have been able to find answers to many questions on here.

 

I'm having a bit of trouble trying to capture and build a Windows 8 deployment solely using SCCM 2012 SP1 though. I have been able to achive my goals using MDT stand alone, but I'd really like to be able to use SCCM as my one stop solution for most needs.

 

I've created a reference Windows 8 system in Hyper V and customised it to my liking. My main goal is to preserve the start screen look and tile placement for all users, so I am wanting to use the "copyprofile" setting during the specialize phase of deployment. The rest of my customizations are handled by group policy.

 

So I have my reference system, I then use the capture media iso created in SCCM to capture the wim file. I then import the wim and build a task sequence to deploy this image. In doing so I create a package to hold my unattended.xml that only changes the copy profile setting and make sure that is deployed as part of the task sequence during the apply operating system section.

 

Now, the problem is once the deployment completes and I log on as the local administrator all of my start screen customisations are gone, I'm looking at a blank start screen and searching for any app returns no results. Everything from the start screen is wiped during deployment.

 

Has anyone else encountered this? I must be doing something slightly wrong because some form of copying of the local admin profile must be happening, just not with any of my customisations and in fact wipes the entire start screen blank.

 

Should I just go through the process of captuing the initial wim manually instead of using the sccm capture media?

 

Any help would be appreciated

 

Jez

Share this post


Link to post
Share on other sites


I've experienced this exact same problem. Unfortunately, I don't have a fix yet, but I wanted to provide a link to my post at the System Center forum in case anyone posts anything helpful: http://social.technet.microsoft.com/Forums/en-US/configmgrgeneral/thread/79368c27-e7e4-4578-8c8d-a7c40af8c1c3

 

It's really driving me crazy. Hopefully someone can point us in the right direction.

Share this post


Link to post
Share on other sites

I am having the exact same issue here. I have looked at the site that anyweb posted and I am getting this issue only when i run the CopyProfile setting in the specialize phase. If i remove this step my image runs perfect except for the the face it doesn't copy my Admin profile over to all users.

  • Like 1

Share this post


Link to post
Share on other sites

I found a solution to this by installing mdt 2012 update 1 and creating my reference image and then deployed my captured image from mdt with sccm sp1 and my unattend.xml file that included the settings of copy profile. Everything installed fine and copied my profile from administrator to default user like it was suppose to.

Share this post


Link to post
Share on other sites

ok Zach, so you are deploying a MDT 2012 update 1 captured WIM file using Configuration Manager 2012 sp1 ? can you share the unattend.xml file here with others so that they may benefit,

it would of course be nice if we could do this without having to capture the image outside of Configuration Manager, if i get time i'll delve into this (if i get time...)

Share this post


Link to post
Share on other sites

Thanks anyweb!

 

Yes you are correct I created my image in MDT2012 U1 captured my WIM file and then imported that WIM into CM12 SP1 and deployed that image to my machine with the following unattend.xml file. My unattend.xml file include some configuration settings that I change also along with my copyprofile setting.

 

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<GroupTabs>true</GroupTabs>
</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">
<Themes>
<WindowColor>Color 1</WindowColor>
</Themes>
<CopyProfile>true</CopyProfile>
</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">
<VisualEffects>
<SystemDefaultBackgroundColor>24</SystemDefaultBackgroundColor>
</VisualEffects>
</component>
</settings>
<cpi:offlineImage cpi:source="wim://cm01/sccm_sources$/osd/windows%20sources/windows%208%20x64%20ent%20kms/sources/install.wim#Windows 8 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

 

 

it would of course be nice if we could do this without having to capture the image outside of Configuration Manager

This was my issue all along I thought that we could still do this with Windows 8 but apparently it isn't supported any longer with CM12 SP1?

Share this post


Link to post
Share on other sites

Ive had to end up using the manual sysprep method with a copyprofile.xml file

The capture semed to go fine, and i have added the wim to sccm.

After the driver package applies, the machine reboots (as usual) and then pop up the "personalise" screen wanting background colors pcname etc.... completely removing any kind of automation..

 

Obviously this is not the case when using capture media.

 

however you cannot use any unattend files with capture media.

 

has anyone else experienced this?

 

My xml file just contains settings for CopyProfile=yes

 

Thanks

Share this post


Link to post
Share on other sites

Ok so ive worked this out after a ridiculous amount of research which game me all the wrong information.


Until i finally came across a buried post on the technet forums from Niall (surprise, surprise)


Where he states that the .xml file MUST be named unattend.xml


Where mine was previously called copyprofile.xml which was I was told to put in a earlier guide id read (not on here)



So created my answer file using WSIM where i only stipulated the copyprile=yes



I captured my VM using the sysprep command and specified the unattend.xml



Booted VM into winpe and used DISM to capture the image



I then onboarded this image to SCCM and depoyed it to a physical machine with the unattend.xml file specified.



Hope this helps anyone.



Deploying Windows 8 with SCCM 2012 SP1


  • Like 1

Share this post


Link to post
Share on other sites

Anyone know what the final answer is on this? I have tried everything to get the start menu, except to recapture my image.. is that the only way around this issue?

 

Also, is there a fix planned anytime soon? thanks!!

Share this post


Link to post
Share on other sites

@GolfKingUK - I am experiencing the same as the rest of the gurus here STILL right now. Our organization has the latest release as well SCCM 2012 SP1 5.0.7804.1300. CU2 did not cure this issue unfortunately...

 

What I do not understand is why Microsoft would release the support for WinPE 4.0 (forcefully) and the importance it delivered in Service Pack 1 for Windows 8 support. They just failed to mention that the entire process is different for deploying source files and the capture method. If system administrators have to manually execute Sysprep and specify an answer file, we may as well be deploying Vista...

 

Side note question: Is anyone using Windows 8 currently and deploying it in their environment? I am only going to be using this for a few of our development teams to test out for fun really.

 

Another side note: Windows 8.1 preview is not supported in SCCM 2012 SP1 CU2. The Boot Image WIM is not supported and SCCM cannot insert the binary files it needs to execute System Center specific functions. Essentially WinPE 4.1 will be needed, but SCCM cannot connect to the foreign resource. Result:

Error: The wizard detected the following problems when updating the boot image.

• Failed to inject a ConfigMgr driver into the mounted WIM file

The SMS Provider reported an error.: ConfigMgr Error Object:

instance of SMS_ExtendedStatus

{

• Description = "Failed to insert OSD binaries into the WIM file";

• ErrorCode = 2152205056;

• File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\sspbootimagepackage.cpp";

• Line = 4566;

• ObjectInfo = "CSspBootImagePackage::PreRefreshPkgSrcHook";

• Operation = "ExecMethod";

• ParameterInfo = "SMS_BootImagePackage.PackageID=\"00200453\"";

• ProviderName = "WinMgmt";

• StatusCode = 2147749889;

};

 

 

I just did not want someone to SKIP Windows 8 and start troubleshooting something that is not officially supported until R2 of SCCM 2012 SP1.

 

Thanks guys, still looking for solutions. I am currently testing a new packaged Unattend.xml file with that only file in the package to see if it cures the issue | @SpinnZ

 

Thanks again.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...