ChrisTitusTech / winutil

Chris Titus Tech's Windows Utility - Install Programs, Tweaks, Fixes, and Updates
MIT License
24.59k stars 1.49k forks source link

WinUtil Fails to removed Home & Gallery from Windows Explorer. #3011

Closed anthonyrpitts closed 2 weeks ago

anthonyrpitts commented 2 weeks ago

Describe the bug

WinUtil Fails to remove Home & Gallery from Windows Explorer.

To Reproduce

Steps to reproduce the behavior:

  1. Use WinUtil shortcut created with WinUtil
  2. Navigate to Twekaks, Advanced Tweaks
  3. Select Remove Home and Gallery from explorer
  4. Click on "Run Tweaks"
  5. Confirmation of Selected Script has been executed
  6. Close WinUtil
  7. Log out of User Account
  8. Login into Windows
  9. Open Windows Explorer
  10. Home and Gallery are still in the menu top left hand side

Edition Windows 11 Pro Version 23H2 Installed on ‎5/‎11/‎2024 OS build 22631.2861 Experience Windows Feature Experience Pack 1000.22681.1000.0

Expected behavior

Home and Gallery should be removed from Windows Explorer

Screenshots

Screenshot 2024-11-05 235313

zmileski commented 2 weeks ago

Works on 24h2 4 5

i had the same issue on 23h2 on old build try update to latest 22631.4391 and try winutil again or try this Remove Home and Gallery.zip

Marterich commented 2 weeks ago

Tested on 23H2 Build: 22631.4317 It seems to work properly.

Following are all the commands and registry keys that are set via the script. Maybe try running them manually. The icons should disappear and reappear instantly even without logout/reboot.

Remove Home and Gallery

REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}" /f
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}" /f
REG ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /f /v "LaunchTo" /t REG_DWORD /d "1"

Add Home and Gallery

REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}" /f /ve /t REG_SZ /d "{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}" /f /ve /t REG_SZ /d "CLSID_MSGraphHomeFolder"
REG DELETE "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /f /v "LaunchTo"
anthonyrpitts commented 2 weeks ago

Thank you, so much for the feedback. I have updated to 22631.4391 I no longer have the Home & Gallery in windows explorer.

again thank you very much