Created
October 20, 2016 05:20
-
-
Save antfu/3ee08ce1ce9cc8719d8e98451329f779 to your computer and use it in GitHub Desktop.
Remove Steam uninstall links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@title Remove Steam Uninstall Links From Windows | |
@net session >nul 2>&1 | |
@if %errorlevel% == 0 ( | |
@for /F "delims=" %%a in ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall ^| findstr /C:"Steam App"') do @reg delete "%%a" /f | |
@for /F "delims=" %%a in ('reg query HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall ^| findstr /C:"Steam App"') do @reg delete "%%a" /f | |
@echo Success! | |
@pause>nul | |
) else ( | |
@echo You do not have Administrator Priveleges. Try right clicking and choosing 'run as administrator ' | |
@pause>nul | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment