0

To make a very long story short: Someone #@%@ed up and there are several Windows 10 assets in my environment that require Flash OCX repair (IT WASN'T ME!)

Simply re-registering the OCX modules doesn't entirely resolve the issue, even after completely removing ownership from the built-in application itself (several keys return ACCESS DENIED when regsvr32 tries to access them).

I've decided that uninstall / reinstall Windows 10 Native Flash Player (ActiveX) on the deployed Windows 10 assets. Using a DISM.EXE method similar to the one found at this blog, I've scripted the uninstall routine. However, I'm looking for a "light-weight" method of reinstalling it. Any suggestions? I'd prefer not to have to mount an entire image to each machine (I'm looking at SMS / SCUP deployment for this solution). Is there a way to, say, isolate the Windows 10 Flash Player application on an image file, extract it (say to a .WIM file), and then point DISM to it?

Thank you!

4
  • for which Windows 10 build and architecture (32 or 64bit) do you need them? Commented Jan 25, 2017 at 14:53
  • Windows 10 Enterprise 64-Bit. I'm also curious if there is a way to generate, say, a .CAB file from an online image that has Flash installed.
    – WKJ
    Commented Jan 25, 2017 at 15:21
  • I posted some steps to extract the data. Commented Jan 26, 2017 at 17:56
  • any update on your question? Does it work? Or does it fail? Commented Feb 9, 2017 at 16:29

1 Answer 1

2
  1. Download sxsextract to C:\Extractor\
  2. Mount the Windows 10 Install.wim to C:\Extractor\Mount

    Dism /Mount-Image /ImageFile:C:\Extractor\ISO\install.wim /index:1 /MountDir:C:\Extractor\Mount

  3. Use ProcessHacker to open a cmd.exe as TrustedInstaller

    enter image description here

  4. Inside the cmd.exe, run cd \Extractor ENTER to go to C:\Extractor\

  5. run the 2 commands to extract the Flash Data into a CAB:

    cscript.exe sxsextract.vbs /Debug /VICIOUSHACKS /Image:C:\Extractor\Mount\Windows C:\Extractor\Mount\Windows\servicing\Packages\Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~10.0.14393.0.mum Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~10.0.14393.0.cab

    cscript.exe sxsextract.vbs /Debug /VICIOUSHACKS /Image:C:\Extractor\Mount\Windows C:\Extractor\Mount\Windows\servicing\Packages\Adobe-Flash-For-Windows-onecoreuap-Package~31bf3856ad364e35~amd64~~10.0.14393.0.mum Adobe-Flash-For-Windows-onecoreuap-Package~31bf3856ad364e35~amd64~~10.0.14393.0.cab

  6. Unmount the install.wim

    Dism /Unmount-Image /MountDir:C:\Extractor\Mount /discard

  7. Now use DISM /Online /Cleanup-Image /RestoreHealth /source:<PathToCABfiles> on the damaged systems to restore the Flash files.

This restores the 2 Flash Packages. This is for 64Bit Build 14393, the Windows 10 Anniversary update. Change the names according to the Build you use.

3
  • Wow, thanks for the write up. Will try this weekend and let you know how it turns out!
    – WKJ
    Commented Jan 27, 2017 at 4:05
  • Hello, MagicAndre. Sorry if I'm just not seeing it, but how, exactly, do I download sxsextract? I'm not seeing a download link and the code within the document doesn't appear to be a VBS script, as far as I can tell.
    – WKJ
    Commented Jan 28, 2017 at 21:47
  • you need to register in that forum to get the download link Commented Jan 29, 2017 at 20:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .