forked from Scrut1ny/Malwarebytes-Premium-Bypass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Malwarebytes-Premium-Reset.bat
71 lines (56 loc) · 2.84 KB
/
Malwarebytes-Premium-Reset.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
:: ==================================================
:: Malwarebytes-Premium-Reset v12.7
:: ==================================================
:: Dev - Scut1ny
:: Help - AmmarSAA & firebirdjsb
:: Link - https://github.com/Scrut1ny/Malwarebytes-Premium-Reset
::
:: Note: using this will wipe all your Malwarebytes settings
::
::
:: changelog for v12.7: removed file backup and restore functions from 12.6 as they did not work as intended due to limitations
:: ==================================================
@echo off
title Malwarebytes-Premium-Reset ^| v12.7
:: Check for administrator privileges
fltmc >nul 2>&1 || (
echo( && echo [33m# Administrator privileges are required. && echo([0m
PowerShell Start -Verb RunAs '%0' 2> nul || (
echo [33m# Right-click on the script and select "Run as administrator".[0m
>nul pause && exit 1
)
exit 0
)
:: Script
cls && echo( && echo [94mMalwarebytes[0m: [33mPremium[0m - [[31mBYPASS[0m]
echo --------------------------------&& echo(
echo [+] Killing certain Mbam Processes!
start "" "%ProgramFiles%\Malwarebytes\Anti-Malware\malwarebytes_assistant.exe" --stopservice
echo Processes have been Killed. && timeout /t 5 >nul
cls && echo( && echo [94mMalwarebytes[0m: [33mPremium[0m - [[31mBYPASS[0m]
echo --------------------------------&& echo(
echo [+] Querying scheduled task...&& timeout /t 5 >nul
"%SystemRoot%\System32\schtasks.exe" /query /tn "Malwarebytes-Premium-Reset" >nul 2>&1
if %errorlevel% equ 0 (
echo( && echo [[93m![0m] Scheduled task already exists
echo [+] Deleting old task... && timeout /t 5 >nul
schtasks /delete /tn "Malwarebytes-Premium-Reset" /f >nul 2>&1
echo [+] Old task deleted. && timeout /t 2 >nul
)
echo [+] Creating scheduled task... && timeout /t 3 >nul
for /f %%a in ('powershell -c "[guid]::NewGuid().ToString()"') do (
reg add "HKLM\SOFTWARE\Microsoft\Cryptography" /v "MachineGuid" /t REG_SZ /d "%%a" /f >nul
)
schtasks /create /tn "Malwarebytes-Premium-Reset" /tr "\"%comspec%\" /c \"echo Task executed\"" /sc daily /mo 13 /rl highest >nul 2>&1
echo [+] Scheduled task created. && timeout /t 3 >nul
cls && echo( && echo [94mMalwarebytes[0m: [33mPremium[0m - [[31mBYPASS[0m]
echo --------------------------------&& echo(
echo [+] Running the task... && timeout /t 5 >nul
schtasks /run /tn "Malwarebytes-Premium-Reset" >nul 2>&1
echo [+] Task executed. && timeout /t 5 >nul
cls && echo( && echo [94mMalwarebytes[0m: [33mPremium[0m - [[31mBYPASS[0m]
echo --------------------------------&& echo(
echo [+] Restarting Mbam Processes... && timeout /t 3 >nul
start "" "%ProgramFiles%\Malwarebytes\Anti-Malware\mbam.exe" >nul 2>&1 && timeout /t 5 >nul
echo [+] Done, thank you for use this trial resetter.
echo(&&pause