Jump to content

Премахване на компоненти от Win2016/10/2012R2 - Flash Edge etc


NetworkPro
 Share

Recommended Posts

Влезте в powershell като потребител TrustedInstaller с помощта на ProcessHacker Plugin  https://wj32.org/processhacker/forums/viewtopic.php?t=2407 или ExecTI https://winaero.com/download.php?view.1991

Windows 2012/2016/10

Get-ChildItem -Path "hklm:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Adobe-Flash-*" | Set-ItemProperty -Name Visibility -Value 1
Get-ChildItem -Path "hklm:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Adobe-Flash-*" | New-ItemProperty -Name DefVis -PropertyType DWord -Value 2
 
Get-ChildItem -Path "hklm:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Adobe-Flash-*\Owners" | Remove-Item
 
Get-WindowsPackage -Online -PackageName Adobe-Flash* | Remove-WindowsPackage -Online
 
Пишете ако успеете да го доработите да се изпълнява изцяло от команден ред включително и пускането под контекста на TrustedInstaller
Edited by NetworkPro
Link to comment
Share on other sites

  • 4 months later...

тука постя за 10-ка 

къстъмване по вкус

Win10.ps1

I never saw a wild thing sorry for itself . A small bird will drop frozen dead from a bough wit hour ever having felt sorry for itself.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.