Sysprep fails if Metro Apps have been "updated"

pparks1

Well-Known Member
VIP Member
Guru
Messages
3,658
Location
Westland, MI
Well, here is a fun one. A coworker spent the entire day getting a Windows 8 machine up and ready for imaging. As part of the process, he went ahead and let it update the metro apps from the store.

Big mistake: Apparently updating Metro apps breaks sysprep;
Sysprep giving "fatal error" -- but *only* after updating Metro apps?

Here is a KB article on the issue;
Removing or Updating Windows 8 built-in Windows Store apps causes Sysprep to fail

It's even being reported that simply "opening" a metro app will cause sysprep to fail on Windows 8;
Techy Geeks Home: SCCM capture of Windows 8 fails during Sysprep stage - Fatal error occurred while trying to sysprep the machine


Needless to say, my coworker was pretty miffed about losing an entire day on this particular issue.
 

My Computer

System One

  • OS
    Windows 7
    System Manufacturer/Model
    Self-Built in July 2009
    CPU
    Intel Q9550 2.83Ghz OC'd to 3.40Ghz
    Motherboard
    Gigabyte GA-EP45-UD3R rev. 1.1, F12 BIOS
    Memory
    8GB G.Skill PI DDR2-800, 4-4-4-12 timings
    Graphics Card(s)
    EVGA 1280MB Nvidia GeForce GTX570
    Sound Card
    Realtek ALC899A 8 channel onboard audio
    Monitor(s) Displays
    23" Acer x233H
    Screen Resolution
    1920x1080
    Hard Drives
    Intel X25-M 80GB Gen 2 SSD
    Western Digital 1TB Caviar Black, 32MB cache. WD1001FALS
    PSU
    Corsair 620HX modular
    Case
    Antec P182
    Cooling
    stock
    Keyboard
    ABS M1 Mechanical
    Mouse
    Logitech G9 Laser Mouse
    Internet Speed
    15/2 cable modem
    Other Info
    Windows and Linux enthusiast. Logitech G35 Headset.
Hi,

Thanks for pointing to the KB article! I've had scenario 3, and ended up reinstalling the OS I had prepared on a VM. The KB article suggests removing all updated apps, so it wouldn't work for my purposes anyway.

I also had a sysprep issue when simply installed an app from the store. But in that case I managed to remove it manually after analyzing the sysprep log.

Vadim
 

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model
    HP Pavilion dv7t (17.3'', i7-2630QM, HD 6770M 1Gb, 8Gb RAM, 2 SSD@120Gb + 1 HDD@750Gb)
Very strange. I have sysprepped a lot of both 7 & 8 images and systems, also existing 8 systems with updated Windows Apps. The absolutely most common reason for sysprep to fail (a subjective personal opinion!) is the Windows Media Network Sharing service (WMPNetworkSvc); stop it, sysprep again and usually it will work.

It's so usual I have a habit to stop the service always in Audit Mode before sysprepping, just to be sure.

Anyway, if even after stopping the said service sysprep fails, the KB2769827 mentioned by Pparks normally works. However, I have to say this: I have only needed it a few times, usually there's no issues after the WMP sharing service is stopped.

Kari
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.
Hi Kari,

Note that the KB article doesn't say "fails", it says "may fail", meaning it may not :)

Vadim
 

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model
    HP Pavilion dv7t (17.3'', i7-2630QM, HD 6770M 1Gb, 8Gb RAM, 2 SSD@120Gb + 1 HDD@750Gb)
Yes, as I mentioned it has mostly worked for me, only a couple of times have I needed that workaround.

Honestly geeks, try stopping the Windows Media Player Network Service before sysprepping and you will notice how seldom it fails.
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.
Turning WMPNS off takes care of the WMPNS problem (drmv2clt.dll,Sysprep in the log), but doesn't take care of other problems, like the one we discuss here.
 

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model
    HP Pavilion dv7t (17.3'', i7-2630QM, HD 6770M 1Gb, 8Gb RAM, 2 SSD@120Gb + 1 HDD@750Gb)
Let's try once again: The WMPNetworkSvc failing the sysprep is far more common than the Win App Package doing it. When sysprepping fails, checking the WMPNetworkSvc should IMO be the first thing to do, after doing it there's quite often no need for the KB fix.

I am not trying to step anyones toes here, just telling about my experience.

Kari
System Preparation Tool - Use to Customize Windows - Windows 7 Help Forums
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.
When sysprepping fails, checking the WMPNetworkSvc should IMO be the first thing to do
No, the first thing to do is to inspect the sysprep log :) I'm not saying that turning off WMPNS preemptively is a bad idea. I'm talking about the correct troubleshooting approach.
 

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model
    HP Pavilion dv7t (17.3'', i7-2630QM, HD 6770M 1Gb, 8Gb RAM, 2 SSD@120Gb + 1 HDD@750Gb)
Back
Top