Win 8.1 Metro apps re-installing after being removed from the reference image

Scenario:
MDT 2013 - Build reference image for Win 8.1 on hyper-v executing the following commands removing all metro apps.
Powershell.exe -Command "&{Get-appxPackage -AllUsers | Remove-AppxPackage -ErrorAction SilentlyContinue}"Powershell.exe -Command "&{Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online -ErrorAction SilentlyContinue}"
Install windows updates and perform sysprep and capture wim task
Import Wim into Sccm 2012 r2 and deploy with standard mdt task
Problem:
After deployment all Metro apps are reinstalled or reinstalling.
Notes:  Setting Copyprofile True is ignored and have tried various methods and it is always ignored.
If I use the wim from sources\install.wim and I either dism /remove-appx... or powershell in win PE get-appx -path | Remove-appx...
If that wim is modified and used then it deploys without the Metro apps but it doesnt have any windows updates.  If I use that wim to build the reference image it will have no metro apps but after capture and deploy through sccm the metro apps start
to re-install.
Below is the unattend.xml
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<Display>
<ColorDepth>16</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<ComplianceCheck>
<DisplayReport>OnError</DisplayReport>
</ComplianceCheck>
<UserData>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key></Key>
</ProductKey>
</UserData>
</component>
<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>0409:00000409</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
</component>
</settings>
<settings pass="generalize">
<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">
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<Identification>
<Credentials>
<Username></Username>
<Domain></Domain>
<Password></Password>
</Credentials>
<JoinDomain></JoinDomain>
<JoinWorkgroup></JoinWorkgroup>
<MachineObjectOU></MachineObjectOU>
</Identification>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<ComputerName></ComputerName>
<ProductKey></ProductKey>
<RegisteredOrganization></RegisteredOrganization>
<RegisteredOwner></RegisteredOwner>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
<TimeZone>Pacific Standard Time</TimeZone>
<CopyProfile>true</CopyProfile>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" 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">
<Home_Page>http://www.microsoft.com/</Home_Page>
<DisableWelcomePage>true</DisableWelcomePage>
<DisableFirstRunWizard>false</DisableFirstRunWizard>
</component>
<component name="Microsoft-Windows-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Description>EnableAdmin</Description>
<Order>1</Order>
<Path>cmd /c net user Administrator /active:yes</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Description>UnfilterAdministratorToken</Description>
<Order>2</Order>
<Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Description>disable user account page</Description>
<Order>3</Order>
<Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<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>0409:00000409</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
</component>
<component name="Microsoft-Windows-TapiSetup" 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">
<TapiConfigured>0</TapiConfigured>
<TapiUnattendLocation>
<AreaCode>""</AreaCode>
<CountryOrRegion>1</CountryOrRegion>
<LongDistanceAccess>9</LongDistanceAccess>
<OutsideAccess>9</OutsideAccess>
<PulseOrToneDialing>1</PulseOrToneDialing>
<DisableCallWaiting>""</DisableCallWaiting>
<InternationalCarrierCode>""</InternationalCarrierCode>
<LongDistanceCarrierCode>""</LongDistanceCarrierCode>
<Name>Default</Name>
</TapiUnattendLocation>
</component>
<component name="Microsoft-Windows-SystemRestore-Main" 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">
<DisableSR>1</DisableSR>
</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">
<UserAccounts>
<AdministratorPassword>
<Value>QQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</UserAccounts>
<AutoLogon>
<Enabled>true</Enabled>
<Username>Administrator</Username>
<Domain>.</Domain>
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<LogonCount>999</LogonCount>
</AutoLogon>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>wscript.exe %SystemDrive%\LTIBootstrap.vbs</CommandLine>
<Description>Lite Touch new OS</Description>
<Order>1</Order>
</SynchronousCommand>
</FirstLogonCommands>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<RegisteredOrganization></RegisteredOrganization>
<RegisteredOwner></RegisteredOwner>
<TimeZone></TimeZone>
</component>
<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>0409:00000409</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
<DriverPaths>
<PathAndCredentials wcm:keyValue="1" wcm:action="add">
<Path>\Drivers</Path>
</PathAndCredentials>
</DriverPaths>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog://sccm1/deploymentshare$/operating systems/windows 8.1 enterprise x64.1/sources/install_windows 8.1 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Yes as I've removed it both via get-appxpackages | Remove-appxpackages and via the dism commands.
I have found also that wasn't getting a good sysprep.  Problems with copy profile lead me to try doing a manual sysprep where I found I was getting failures in my sysprep. The problem was that I was disabling the windows store service in my reference
image.  
I was very hopeful that was going to be the resolution but it appears that is not the case.
2014-09-26 07:15:03, Error SYSPRP WSLicenseCleanUpState failed with hr=c0020017
2014-09-26 07:15:03, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'WSLicenseCleanUpState' from C:\Windows\System32\wsclient.dll; dwRet = 0xc0020017
2014-09-26 07:15:03, Error SYSPRP ActionPlatform::ExecuteAction: Error in executing action; dwRet = 0xc0020017
2014-09-26 07:15:03, Error SYSPRP ActionPlatform::ExecuteActionList: Error in execute actions; dwRet = 0xc0020017
2014-09-26 07:15:03, Error SYSPRP SysprepSession::Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0xc0020017
2014-09-26 07:15:03, Error SYSPRP RunPlatformActions:Failed while executing SysprepSession actions; dwRet = 0xc0020017
2014-09-26 07:15:03, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0xc0020017
2014-09-26 07:15:03, Error [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0xc0020017

Similar Messages

  • How can I get a family member back after being removed from family share?

    How can I get a family member back after being removed from family share?

    See [[Replace your Sync information]] but read the cautions carefully.
    * also see [[firefox Sync is not working]]
    It is always a useful precaution to make manual bookmarks backups
    * see [[Backing up and restoring bookmarks]]
    The above article also explains about the autobookmark backups that firefox generates, but be sure to make manual backups as you work, it is very easy to overwrite the wrong set of backups.
    I am not entirely certain what firefox is doing in your case, perhaps the synced Netbook does not have the expected set of bookmarks on it.
    Presumably sync may be uninstalled or disabled like any other add-on
    *see [[Uninstalling add-ons]]

  • My iPhone 4S is freezing shortly after being disconnected from the charger and/or while trying to unlock my phone.

    Why is my 3 day old iPhone 4S freezing after being disconnected from a power source and/or while trying to unlock the phone?

    hold down the power/home key together for 10 to 15 secs or until you see the apple logo and then release then wait for your phone to boot back up.

  • Tube Map for BlackBerry 10 requesting password after being removed from device

    Deleted this app from my Z10 and everything was fine.
    Changed my mobile carrier from O2 to BT and now I'm getting a notification once a day from this app about my account password needing attention.
    I reinstalled the app and changed all the permissions to NO and then removed the app again. Still getting the notification everyday.
    Anyone know how to totally remove this 'invasive' app?

    OK, I'm one of those people who switches off my mobile every night and back on in the morning.
    The notification occurs either when I make the first call of the day or when I connect using Blackberry Link. Sometimes I can make a call without the notification occurring and then it happens when I connect to Link in the evening.
    I have installed and removed this app twice. Neither time have I created a user account and have the settings inside the app set to location only so no personal details are allowed to be passed across. When it was installed and not set to run, even in the background, I was receiving alerts about problems on the tube system/network. My concern is that Blackberry World needs to investigate this app with regard to what it's doing without the users permission.
    I have looked at the developers support website and to send an email you have to give out personal details that I'm not willing to do to a company that seems to already be obtaining data from my phoine even though it's, supposedly, been removed.
    This app, under my definition, is spyware/malware. As such the security integity of my Blackberry phone is being comprimised.

  • HT4859 How do I remove old unwanted applications from my app store tracking?  I removed from the phone, but still showing and reinstalling from the App Store screen.

    I'm trying to remove old apps off my phone, and they keep showing up.  How do I get rid of them?

    i was losing temper looking for an answer for this. at the end the trick is that you need to show the side bar then only your library will list the apps menu for you to access & start doing the deletion huhhhhh..
    Itunes > view (menu bar) > show side bar > under library select apps > all apps list either active & deleted on your device will be displayed in tile view > then you start to delete by right clicking> finally empty recycle bin >

  • Applications keep reappearing after being removed from notifications

    I go into the Notifications preference pane and remove most of the applications, and change what I want to see for the few that remain. After I shut down my computer and come back and restart the next day, all of the applications are back. This happens both on my work iMac and my home MacBook Pro. Extremely frustrating; am I missing something or is there a way to fix this?

    Is it necessary to misread what I wrote as some sort of criticism or personally directed at you? All I intended was to ask for additional people to post an answer because I'm starting to become desperate to find out the answer and will be trying to call tech support when they're open again. I was not trying to demean your answer in any way. It's just that I'm trying to reach out for more people to answer in addition to you, not criticize your answer.
    I don't see what's wrong with me asking for more responses when the answers in this thread don't solve it -- if I just sit here without asking for more replies, the thread will get buried. I tried everything you suggested but it didn't solve the problem, although I appreciated the suggestions.
    Also I was hoping you could shed light on how the Address book might affect the cookies in the browser and that was part of what I meant to convey but apparently because I typed it hastily you assumed the worst tone possible -- I did not intend a nasty tone but I'm not speaking when I type and you cannot hear my intended tone of voice. At any rate if I notice the cookies stop showing up now that I've deleted the URL from my address book, I will report back.
    Message was edited by: rivmo
    Message was edited by: rivmo

  • External Hard Drive No Longer Working After Being Removed From Mac

    The following issue is happening to two other mac users that i know and its quite frustrating.
    So if an external hard drive is not ejected properly from a mac, it then cannot be recognised by any other Mac’s. This issue is not isolated to just one external hard drive.
    Then if i plug the external hard drive/s into my 8 year old Dell (PC) it works fine.
    Further to this when i check the hidden files on the PC it looks as though Old Apple imbeds the external HD with a bunch of useless hidden files, once these are all deleted it miraculously works  again on the Mac’s.
    Too bad if you only have a Mac Because if the Mac disk utility can read the External HD it says that the disk has crashed and needs to be replaced.
    Nice one Apple...
    So now for my questions.
    Why does mac add hidden files to an external hard drive when not ejected properly that prevents it from operating again on a Mac ?!!!!
    How do i prevent apple from adding these hidden files?

    Can you see the drive in Disk Utility? If so, try selecting it and using the Mount button in the top menu. You can also run repair disk and repair permissions.

  • How many computers can I install iWork's on after downloading it from the app store? on

    How many computers can I install Pages on after downloading it from the app store?
    I know it is only $20 but im am stuck between getting iworks or microsoft office.

    All of them, as long as you have the same Apple I.D.
    Peter

  • Firefox won't insall into my applications folder. Says can't install because libsmime3.dylib is in use. I am running Mac Os 10.6.7 on a Macbook Pro. I can run firefox okay from the disk image but just won't install into the apps folder.

    My system is a Macbook Pro running Mac Os 10.6.7 with a 2.8 GHz Intel Core 2 duo processor with 4 GB 1067 MHz DDR3 ram. The upgrade downloads fine, but when I try to drag the firefox image onto my appication folder, I get a dialogue box that says...Cannot install application because "libsmime3.dylib" is in use. I can run Firefox fine from the disk image.

    Nope---didn't work. I've owned Macs for about 12 years so although I am brain dead on some things, I do have a working knowledge on most things. I only say that to say this--I did try holding down the mouse and choosing empty trash. It asks if I want to permanently delete what's in there. I say yes--and then I get the same identical message again-----'The operation can't be completed because the item "Firefox 8.0.1.dmg" is in use I can then click stop, or continue.' So apparently that complains the same way it does if I click it up on the menu :)))
    As for item owned by---that's not an issue and isn't coming up. User is not a problem either as I am the only user on this system. There is only ONE file in my trash at the moment at that is this dmg file. Nothing Mac. Nothing owned by anyone other than Firefox. The problem seems to be that the dmg file and the original 4.0 FF file are working in tandem with each other--even though I have already drug the new 8.0 globe into the Apps folder and it updated the FF app with the new stuff. If I could force the dmg file to go away, I would do so, but at every turn the system is telling me it can't be done because it seems to think that dmg file is in use---even though everything is shut down and/or ejected. Hey--I'm getting ready to head out and won't be back till evening. I'll check back in this evening. Thank you again for your help.

  • Just installing a few updates from the Mac App Store for mountain lion on my 2010 MacBook Pro, during this it made a noise and then the screen and keyboard went off, like it is off. What happened, is it off...or should I just wait it out?

    Just installing a few updates from the Mac App Store for mountain lion on my 2010 MacBook Pro, during this it made a noise and then the screen and keyboard went off, like it is off. What happened, is it off...or should I just wait it out?

    What kind of noise?
    The only things I can think of that make noise are fans and disks. Fans usually will not cause the computer to shutdown as you describe. My guess is your disk drive died. I hope you made a backup prior to start the ungrade.
    Allan

  • HT201210 Hi, the App Store icon has been removed from my iPad even after synching and updating. Any suggestions on how to get it back to be able to update / purchase apps?

    Hi, the App Store icon has been removed from my iPad even after synching and updating. Any suggestions on how to get it back to be able to update / purchase apps?

    If you do not have, or remember, the passcode for Restrictions, the only option available to you is to reset the device to factory settings via itunes.

  • I can't find pages and keynotes on my imac (ie not in applications folder)after purchasing them from the app store? help please!!!

    can't find pages and keynotes on my imac (ie not in applications folder)after purchasing them from the app store? help please!!!

    Try searching with Spotlight. Click the magnifying glass icon top right corner of your screen.
    If you can't locate the apps, you can re download without being charged again.
    http://support.apple.com/kb/HT2519

  • I have 2 macs, 2 iPhones and am looking to buy an iPad. If I buy an app like pages or angry birds from the app store, can I install it on all of them?

    I have 2 macs, 2 iPhones and am looking to buy an iPad. If I buy an app like pages or angry birds from the app store, can I install it on all of them? Is that legal to authorize all of those devices, I think I get up to 5, so that it would work?
    Thanks

    You can buy and install on all your IOS devices, and separately buy and install on all OSX devices, so 2 purchases.

  • How to delete the movie "Hugo" from my itouch5 after downloading it from the free app "12 days" from apple

    How to delete the movie "Hugo" from my itouch5 after downloading it from the free app "12 days" from apple?

    I do not know what you mean left or right, but if I press the edit button it still will not give the option to delete.

  • After purchasing something from the i store and dowloading it , I can only syn it on my i phoone if i delete all my apps

    After purchasing something from the istore and downloading it . I can then only syn it on my i phone if I delete all my apps

    Cameron_From_QLD wrote:
    I think I may have downloaded the one for iPad/iPhone.. Does it make any difference to the one for a MacBook Air?
    Yes. You cannot Use that Version on any computer.

Maybe you are looking for

  • TS2972 why wont my ipod touch 2nd generation wont show up in my itunes??

    my Ipod touch is just stuck on the "connect to itunes" screen

  • Fix for broken tool cursors in PS Elements 7 with Windows 8.1?

    I have Photoshop Elements 7 and have been perfectly happy with it for editing photos/images as a hobby on my older Windows XP and Windows 7 PCs. I have no real need to upgrade to Photoshop Elements 12. I just installed  Windows 8.1 on my new Surface

  • Validation on data and time format

    Hi In a flat file a date and time fill in but user.  And the data and time format should always be fill in with the format <DDMMYYYY> <HHMMSS> is there a FM which check whether user has put the wrong date format such as <YYYYMMDD> or <MMDDYYYY> inste

  • IWeb won't let me publish 2 sites to mobileme....

    I have 2 sites created with iweb with 2 different domain names.  When I edit both sites, only one site gets published.  I do not even have the option of 'publish to mobileme" on pages of my second site.  I have tried 'publish all' and Iweb shows that

  • Slow to send files over airport extre and msn(amsn)

    Hi! When trying to send or recieve files on msn or amsn it is very slow...got 10mb connection but it sends and recievs at only 4kb (modemspeed)... And it is only over msn i got the problem...if i download over the internet the speed is aroung 800kb/s