LeDragoX / Win-Debloat-Tools

Re-imagining Windows like a minimal OS install, already debloated with minimal impact for most functionality.
MIT License
4.88k stars 246 forks source link

Add `"Remove PowerShell ISE"` #84

Closed EMBBlaster closed 1 year ago

EMBBlaster commented 1 year ago

Description

Please, remove PowerShell ISE in debloat process.

Reason

It is not useful anymore for PS >= v6. The recommended editor is "VS Code" with "powershell extension". See: https://learn.microsoft.com/en-us/powershell/scripting/windows-powershell/ise/introducing-the-windows-powershell-ise

Examples

No response

LeDragoX commented 1 year ago

I'll find out later if there's a certain way to remove (not disable) these old Windows Components. PowerShell ISE is one of them, but there's more.

LeDragoX commented 1 year ago

image

Expect something like this coming... :) But i'll seek other Capabilities to remove aside PowerShell ISE, this is a new debloat unexplored area.

* Edit After removing PowerShell ISE i couldn't use the Out-GridView on pipe anymore, as it required ISE. Now to check on every object i'm using the Format-Table** command, no problemo.

LeDragoX commented 1 year ago

Now, to the remaining capabilities aside "PowerShell ISE", heres the list:

Name                                                          State Path Online WinPath SysDrivePath RestartNeeded LogPath                       ScratchDirectory     LogLevel
----                                                          ----- ---- ------ ------- ------------ ------------- -------                       ----------------     --------
App.StepsRecorder~~~~0.0.1.0                              Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
App.Support.QuickAssist~~~~0.0.1.0                        Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Browser.InternetExplorer~~~~0.0.11.0                      Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
DirectX.Configuration.Database~~~~0.0.1.0                 Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Hello.Face.18967~~~~0.0.1.0                               Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Language.Basic~~~pt-BR~0.0.1.0                            Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Language.Handwriting~~~pt-BR~0.0.1.0                      Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Language.OCR~~~pt-BR~0.0.1.0                              Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Language.Speech~~~pt-BR~0.0.1.0                           Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Language.TextToSpeech~~~pt-BR~0.0.1.0                     Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
MathRecognizer~~~~0.0.1.0                                 Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Media.WindowsMediaPlayer~~~~0.0.12.0                      Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Microsoft.Windows.MSPaint~~~~0.0.1.0                      Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Microsoft.Windows.Notepad~~~~0.0.1.0                      Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Microsoft.Windows.WordPad~~~~0.0.1.0                      Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
NetFX3~~~~                                                Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
OneCoreUAP.OneSync~~~~0.0.1.0                             Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
OpenSSH.Client~~~~0.0.1.0                                 Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Print.Fax.Scan~~~~0.0.1.0                                 Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Print.Management.Console~~~~0.0.1.0                       Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Tools.Graphics.DirectX~~~~0.0.1.0                         Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo
Windows.Client.ShellComponents~~~~0.0.1.0                 Installed        True                              False C:\Windows\Logs\DISM\dism.log                  WarningsInfo

Microsoft.Windows.PowerShell.ISE~~~~0.0.1.0 isn't there anymore, now i'm making this automated, it'll take some time.

LeDragoX commented 1 year ago

After messing around with this i've found out that there's 2 installations of Quick Assist:

The legacy installation is located at: C:\Windows\System32\quickassist.exe The new installation is located at: C:\Program Files\WindowsApps\MicrosoftCorporationII.QuickAssist_2.0.16.0_x64__8wekyb3d8bbwe\Microsoft.RemoteAssistance.QuickAssist

Why Microsoft, why have 2 apps for the same purpose? Just keep the last version and delete the old. I'll keep them both as the most updated didn't came with Windows 10 (idk for Win 11 yet)

LeDragoX commented 1 year ago

Hey @EMBBlaster, i guess you wanna check the develop branch. And say farewell to PowerShell ISE + other Windows Acessories.

Direct Link: https://github.com/LeDragoX/Win-Debloat-Tools/archive/develop.zip

EMBBlaster commented 1 year ago

Hey @EMBBlaster, i guess you wanna check the develop branch.

Hi @LeDragoX. Thanks for you quick reply. Unfortunately, I can't test this right now. I would need a VM as my main machine is now on "production only mode". But seems that you solved this.

And say farewell to PowerShell ISE + other Windows Acessories.

I did look at the code yet so, probably, I'm misjudging now. I'm only not sure that all "Acessories" should be removed in default mode. Anyway, IMHO, this is discussion for another time or issue. A customize settings would be necessary for that. Thank you again for yours efforts.

LeDragoX commented 1 year ago

I'm only not sure that all "Acessories" should be removed in default mode.

Not all the acessories are being removed, i kept notepad, paint and some other required to the system work properly.

A customize settings would be necessary for that.

I'm planning in doing that, but hmm, to be honest, the GUI is a mess right now. I need to organize the tweaks per tabs, so it'll not confuse everybody who's using this interface.

EMBBlaster commented 1 year ago

I'm planning in doing that, but hmm, to be honest, the GUI is a mess right now. I need to organize the tweaks per tabs, so it'll not confuse everybody who's using this interface.

Agreed. Should we close this issue?

LeDragoX commented 1 year ago

Not yet, it'll be automatically closed when merged on main branch.