Add files via upload

This commit is contained in:
Molly Lau 2021-02-21 21:00:16 +09:00 committed by GitHub
parent ad0caa9488
commit c80f465b73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

Binary file not shown.

View file

@ -0,0 +1,25 @@
@echo off
::set color
color DE
echo Checking administrator authority...
net session >nul 2>&1
if %errorLevel% == 0 (
goto continue
) else (
echo,
echo Please run me as an administrator!
echo Press any key to exit...
pause > nul
exit
)
:continue
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching" /v "SearchOrderConfig" /t REG_DWORD /d "0" /f
echo You will not receive all driver updates from Microsoft any more!
echo Press any key to exit
pause > nul
exit