Created
October 13, 2017 23:33
-
-
Save okitavera/9d15e06b72af0546820cb6e6d1dc72b8 to your computer and use it in GitHub Desktop.
Customized monitor DRR's vendor data to Fix FreeSync issue on ASUS X550IU
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
@echo off | |
NET SESSION >nul 2>&1 | |
IF %ERRORLEVEL% EQU 0 GOTO install_mod | |
echo Run As Administrator to make this script works. | |
pause | |
goto:eof | |
:install_mod | |
echo :: Finding the right registry key | |
reg query HKLM\SYSTEM\CurrentControlSet\Control\Class /F "AMD Radeon R7" /s | Find "HKEY" | Findstr /vi "Settings" > %TEMP%\R7REGKEY.TXT | |
set /p REGKEY= < %TEMP%\R7REGKEY.TXT | |
echo :: Found : %REGKEY% | |
echo :: Kill Radeon Settings.exe | |
taskkill /f /im RadeonSettings.exe >nul 2>&1 | |
echo :: Adding patched drr to the registry | |
reg add "%REGKEY%" /v DalMonitorSpecificDrrOverride /t REG_BINARY /d af0638ed283cae0d15d5283c | |
echo :: Now you can Restart Driver via RadeonMod tools. | |
) ELSE ( | |
ECHO Run As Administrator to make this script works. | |
) | |
pause | |
goto:eof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment