Skip to content

Commit

Permalink
Add tool to forcefully remove autostart entry
Browse files Browse the repository at this point in the history
Closes: #119
Ref: #125
  • Loading branch information
pal1000 committed Dec 23, 2022
1 parent 8ca0e16 commit 28f55da
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions utility/removesetupautostart.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@echo off
@cd /d "%~dp0"
@set "ERRORLEVEL="
@CMD /C EXIT 0
@"%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" >nul 2>&1
@if NOT "%ERRORLEVEL%"=="0" (
@powershell -Command Start-Process """%0""" -Verb runAs 2>nul
@exit
)
:--------------------------------------
@TITLE Realtek UAD generic setup autostart entry removal
@echo Begin Realtek UAD generic setup autostart entry removal...
@call modules\autostart.cmd remove
@echo Done.
@echo.
@pause

0 comments on commit 28f55da

Please sign in to comment.