DrEmpiricism / Optimize-Offline

Optimize-Offline is a Windows 10 offline image optimization framework.
MIT License
710 stars 64 forks source link

[BUG] PowerShell ISE deleted after OO #175

Closed ghost closed 4 years ago

ghost commented 4 years ago

Why OO tool delete Powershell ISE from Windows? I know, that is the part of hardening of OS, but is it necessary to remove ISE? Later, there are some problems with reinstallation.

DrEmpiricism commented 4 years ago

Optimize-Offline does NOT remove PowerShell ISE from Windows. PowerShell ISE is now a FOD that can be SELECTED by the user to be removed either using its Capability Package or Cabinet Package. The only PowerShell variation Optimize-Offline does anything with automatically is the DISABLING of PowerShell 2.0 because it has been labeled a security risk by Microsoft, as detailed in the ReadMe. Moreover, this is simply the disabling of the PowerShell 2.0 Optional Feature, which can certainly be re-enabled during runtime if so desired. Optimize-Offline does NOT remove any PowerShell version. It never has and never will.

The removal of PowerShell ISE would only occur if it was selected for removal.