@Echo Off Title Reg Converter v1.0 & Color 1A cd %systemroot%\system32 call :IsAdmin Reg.exe add "HKCU\Control Panel\Desktop" /v "FontSmoothing" /t REG_SZ /d "2" /f Reg.exe add "HKCU\Control Panel\Desktop" /v "FontSmoothingType" /t REG_DWORD /d "1" /f Reg.exe add "HKU\.DEFAULT\Control Panel\Desktop" /v "FontSmoothing" /t REG_SZ /d "2" /f Reg.exe add "HKU\.DEFAULT\Control Panel\Desktop" /v "FontSmoothingType" /t REG_DWORD /d "1" /f Exit :IsAdmin Reg.exe query "HKU\.DEFAULT\Environment" If Not %ERRORLEVEL% EQU 0 ( Cls & Echo You must have administrator rights to continue ... Pause & Exit ) Cls goto:eof