Created
September 30, 2014 21:16
-
-
Save Egyiastic/7a36dedac32cebbd5f62 to your computer and use it in GitHub Desktop.
Reset IDM License
This file contains hidden or 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 | |
Title IDM Trial Reset by http://arabia-geeks.blogspot.com/ & Color 57 | |
@Echo Resetting your IDM License Brought to you by http://arabia-geeks.blogspot.com/ | |
@Echo. | |
@Echo. | |
Pause | |
REM ~ call :IsAdmin | |
call :RegExport | |
Exit | |
:RegExport | |
Set RegFile="%Temp%\~knuxmff.tmp" | |
If Exist %RegFile% ( | |
Attrib -R -S -H %RegFile% & Del /F /Q %RegFile% | |
If Exist %RegFile% cls & Echo Could not delete file %RegFile% & Pause | |
) | |
> %RegFile% Echo Windows Registry Editor Version 5.00 | |
>> %RegFile% Echo. | |
>> %RegFile% Echo [-HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}] | |
>> %RegFile% Echo [-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69 | |
>> %RegFile% Echo [-HKEY_USERS\S-1-5-21-3690687036-277158239-2570441021-1001\Software\Classes\Wow643 | |
>> %RegFile% Echo [-HKEY_USERS\S-1-5-21-3690687036-277158239-2570441021-1001_Classes\Wow6432Node\CLS | |
>> %RegFile% Echo [-HKEY_CURRENT_USER\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}] | |
Start /Wait %systemroot%\Regedit.exe /S %RegFile% | |
Del %RegFile% | |
goto:eof | |
:IsAdmin | |
Reg.exe query "HKU\S-1-5-19\Environment" | |
If Not %ERRORLEVEL% EQU 0 ( | |
Cls & Echo You must have administrator rights to continue ... | |
Pause & Exit | |
) | |
Cls | |
goto:eof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment