Skip to content

Instantly share code, notes, and snippets.

@rudolfovich
Last active January 18, 2021 14:07
Show Gist options
  • Save rudolfovich/574418101a5aadfe7ca0ebc31cc354b6 to your computer and use it in GitHub Desktop.
Save rudolfovich/574418101a5aadfe7ca0ebc31cc354b6 to your computer and use it in GitHub Desktop.
Remove redundancy Windows 10 applications
#
# Remove Paint3D app
#
Get-AppxPackage Microsoft.MSPaint | Remove-AppxPackage
Get-AppxPackage -AllUsers Microsoft.MSPaint | Remove-AppxPackage
# Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\.jpeg\Shell\3D Edit
$Items = Get-ChildItem -path HKLM:\SOFTWARE\Classes\SystemFileAssociations\ -Recurse | Where-Object { $_.Name -match '3D Edit'}
$Items | Select-Object -ExpandProperty Name
$Items | Remove-Item -Force -Recurse
#
# Remove 3D Objects folder from Explorer
#
# HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}
Get-Item "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" | Remove-Item
# HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}
Get-Item "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" | Remove-Item
#
# Remove 3DViewer app
#
Get-AppxPackage Microsoft.Microsoft3DViewer | Remove-AppxPackage
Get-AppxPackage -AllUsers Microsoft.Microsoft3DViewer | Remove-AppxPackage
#
# Remove GetHelp app
#
Get-AppxPackage Microsoft.GetHelp | Remove-AppxPackage
Get-AppxPackage -AllUsers Microsoft.GetHelp | Remove-AppxPackage
#
# Remove One Drive folder from Explorer
#
# HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT
Get-Item "HKCR:\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" | Remove-Item
Get-Item "HKCR:\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" | Remove-Item
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment