Packaging / Extracting Windows 10 Native Flash Player

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!

WKJ

Posted 2017-01-25T03:36:01.520

Reputation: 1

for which Windows 10 build and architecture (32 or 64bit) do you need them? – magicandre1981 – 2017-01-25T14:53:03.460

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 – 2017-01-25T15:21:22.617

I posted some steps to extract the data. – magicandre1981 – 2017-01-26T17:56:38.227

any update on your question? Does it work? Or does it fail? – magicandre1981 – 2017-02-09T16:29:40.453

Answers

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.

magicandre1981

Posted 2017-01-25T03:36:01.520

Reputation: 86 560

Wow, thanks for the write up. Will try this weekend and let you know how it turns out! – WKJ – 2017-01-27T04:05:22.093

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 – 2017-01-28T21:47:58.000

you need to register in that forum to get the download link – magicandre1981 – 2017-01-29T20:20:03.583