w10install/scripts/cleanup-programlist.cmd
2024-07-18 14:18:49 +02:00

21 lines
455 B
Batchfile

@echo off
echo ####### %0 #######
echo.
echo trying to remove stale entries from program list ...
for %%K in (
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge"
"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge"
) do (
echo deleting registry key [ %%K ] using SUPERUSER ...
superuser /sw reg delete %%K /f
)
echo ####### %0 #######