Skip to content

Commit

Permalink
feat: remove advertisements from Start Menu (23H2+)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyueta committed Oct 18, 2023
1 parent ae3a32f commit ea5bea0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/playbook/Executables/STARTMENU.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ for /f "usebackq tokens=2 delims=\" %%a in (`reg query "HKEY_USERS" ^| findstr /
for /f "usebackq delims=" %%c in (`reg query "HKU\%%a\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount" 2^>nul ^| findstr /c:"start.tilegrid" 2^>nul`) do (
reg delete "%%c" /f > nul 2>&1
)

rem Remove advertisements from Start Menu (23H2+)
reg delete "HKU\%%a\Software\Microsoft\Windows\CurrentVersion\Start" /v "Config" /f
)
)

0 comments on commit ea5bea0

Please sign in to comment.