FukenGruven Posted January 15, 2014 Share Posted January 15, 2014 (edited) Ever since XP.. i have never installed Adobe Flash..i've always used a portable browser...with portable flash..But Windows 8 natively comes bundled with Adobe Flash!There are tools out there for pre-mastering Windows' images...But this tutorial will focus on already installed /Online installs..which i just uninstalled IE.. and wanted Flash gone as well..1. Navigate here to get your flash package:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages 2. Start PowerShell.3. enable unsigned PowerShell scripts:Set-ExecutionPolicy -ExecutionPolicy RemoteSigned 4. Now scroll below and verify "Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~6.3.9600.16384" matches your registry key in Step 1.- if your package version is different.. edit all occurrence with your package version.5. Now manually execute each command below.. 1 line at a time.$acl = get-acl -Path "hklm:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing"$inherit = [system.security.accesscontrol.InheritanceFlags]"ContainerInherit, ObjectInherit"$propagation = [system.security.accesscontrol.PropagationFlags]"None"$rule = new-object system.security.accesscontrol.registryaccessrule "Administrators","FullControl",$inherit,$propagation,"Allow"$acl.addaccessrule($rule)$acl | set-aclSet-ItemProperty -Path "hklm:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~6.3.9600.16384" -Name Visibility -Value 1New-ItemProperty -Path "hklm:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~6.3.9600.16384" -Name DefVis -PropertyType DWord -Value 2Remove-Item -Path "hklm:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~6.3.9600.16384\Owners"dism.exe /Online /Remove-Package /PackageName:Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~6.3.9600.16384If you followed the tutorial to a T.. you should see something similar to my output:Note: for extreme minimalists.. this procedure could be used to remove other packages.. dism.exe /Online /Remove-Package /packagename:Microsoft-Windows-Camera-Package~31bf3856ad364e35~x86~~6.3.9600.16384dism.exe /Online /Remove-Package /packagename:Microsoft-Windows-FileManager-Package~31bf3856ad364e35~x86~~6.3.9600.16384 Edited January 15, 2014 by FukenGruven Quote Link to comment Share on other sites More sharing options...
Reefa Posted January 16, 2014 Share Posted January 16, 2014 (edited) Thanks fellow very nice..And thx for the:iNFONote: for extreme minimalists.. this procedure could be used to remove other packages.. Edited January 16, 2014 by F3dupsk1Nup Quote Link to comment Share on other sites More sharing options...
Ecarion Posted August 24, 2016 Share Posted August 24, 2016 (edited) Quote 5. Now manually execute each command below.. 1 line at a time. A few months ago, the forum was updated. So, I believe this part (5) has been changed by the update and the syntax perhaps need to be fix. I don't know PowerShell... perhaps something like this was the original (or the right) syntax ? What about the offline ? It should beginning by ? $acl = get-acl -Path "Registry::HKLM\WIM_Software\Microsoft\Windows\CurrentVersion\Component Based Servicing" At least, now I got an idea why the process refuse to work under Windows 8.1 (ACL ? After ? Remove TrustedInstaller (etc) ?). Edited August 30, 2016 by Ecarion Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.