:: DK REGISTRY TEST PATCH

:: BY Sledge101  

@Echo OFF
:: ### Check if we have admin privileges
if "%~1"=="a" goto :start
:getfile
set "file=%temp%\%random%.file.vbs"
if exist "%file%" goto :getfile
>"%file%" echo Set UAC = CreateObject("Shell.Application")
>>"%file%" echo UAC.ShellExecute "%~f0", "a", "", "runas", 1
start "" "%file%"
goto :eof
:start
del "%temp%\*.vbs">nul 2>&1

REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper" /V "EditionAVL" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper" /V "OfflineActRetCode" /T "REG_DWORD" /D "0xCC126249" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper" /V "IsTrialware" /T "REG_DWORD" /D "0x00000000" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\Features\1" /V "Ins" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\Features\1" /V "Rev" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\Features\4" /V "Ins" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\Features\4" /V "Rev" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\Licensing\FA7EDD446657141500" /V "PAC" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\Licensing\FA7EDD446657141500" /V "PACData" /T "REG_SZ" /D "LGLKWPDQA7F4VRVBMTQJ8PVXK637W" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\Promotion" /V "PublicType" /T "REG_DWORD" /D "0x00000000" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\UserSettings" /V "ActivateOnFirstStartup" /T "REG_DWORD" /D "0x00000000" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\UserSettings" /V "AutoCheckForUpdates" /T "REG_DWORD" /D "0x00000000" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\UserSettings" /V "IsFilePerformanceOn" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\UserSettings" /V "PACKey" /T "REG_SZ" /D "LGLKWPDQA7F4VRVBMTQJ8PVXK637W" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\UserSettings" /V "ProxyAddress" /T "REG_SZ" /D "" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\UserSettings" /V "ProxyBypassLocal" /T "REG_DWORD" /D "0x00000000" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\UserSettings" /V "ProxyPassword" /T "REG_SZ" /D "D2A3B879A03C3C4F880E501968997D31" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\UserSettings" /V "ProxyPort" /T "REG_SZ" /D "" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\UserSettings" /V "ProxyRequireAuthentication" /T "REG_DWORD" /D "0x00000000" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\UserSettings" /V "ProxyUseProxyToConnect" /T "REG_DWORD" /D "0x00000000" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\UserSettings" /V "ProxyUserName" /T "REG_SZ" /D "" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\Diskeeper\UserSettings" /V "ShowExpirationMsgTime" /T "REG_QWORD" /D "0x01D06EDC941B6C30" /F 1>NUL
REG ADD "HKLM\SOFTWARE\Diskeeper Corporation\MJS" /V "MJSCR Path" /T "REG_SZ" /D "C:\PROGRA~1\COMMON~1\DISKEE~1\MJS\MJSCR.dll" /F 1>NUL
PAUSE
Exit
