-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathBW11.bat
87 lines (75 loc) · 2.58 KB
/
BW11.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
@echo off
title BW11
mode 80,25
color 07
REM Author: Haitham Aouati
REM GitHub: https://github.com/haithamaouati
REM Bypass Window 11 system requirements
cls
net session >nul 2>&1
if %errorlevel% == 0 (
goto main_menu
) else (
echo This script must be run as an administrator.
pause
exit
)
:main_menu
cls
echo.
echo ########## ##########
echo ########## ##########
echo ########## ##########
echo ########## ##########
echo ########## ##########
echo.
echo ########## ##########
echo ########## ##########
echo ########## ##########
echo ########## ##########
echo ########## ##########
echo.
echo BW11 by Haitham Aouati
echo.
echo Main menu:
echo 1. Bypass Windows 11 system requirements
echo 2. Exit the program
echo.
set /p choice=Enter your choice:
if "%choice%"=="1" goto bypass
if "%choice%"=="2" goto end
echo Invalid choice. Please try again.
goto main_menu
:bypass
echo This section allows you to bypass various checks.
echo 1. Bypass CPU Check
echo 2. Bypass Storage Check
echo 3. Bypass RAM Check
echo 4. Bypass TPM Check
echo 5. Bypass SecureBoot Check
echo 6. Allow Upgrade With Unsupported TPM or CPU
echo 7. Bypass Internet connection and Microsoft account
echo.
echo Adding keys to bypass various checks...
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig /v BypassCPUCheck /f /t REG_DWORD /d 00000001
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig /v BypassStorageCheck /f /t REG_DWORD /d 00000001
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig /v BypassRAMCheck /f /t REG_DWORD /d 00000001
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig /v BypassTPMCheck /f /t REG_DWORD /d 00000001
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig /v BypassSecureBootCheck /f /t REG_DWORD /d 00000001
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup /v AllowUpgradesWithUnsupportedTPMOrCPU /f /t REG_DWORD /d 00000001
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig /v BypassNRO /f /t REG_DWORD /d 00000001
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig /v OOBEBypassNRO /f /t REG_DWORD /d 00000001
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig /v BypassMSARequirement /f /t REG_DWORD /d 00000001
echo Keys added successfully.
echo Requirements bypassed successfully.
echo.
echo Now go back to previous stage and then go to the next stage to proceed.
echo You should no longer see the "Unsupported" message anymore.
pause
goto main_menu
:end
echo Are you sure you want to exit the script? (y/n)
set /p confirm=
if /i "%confirm%"=="y" exit
if /i "%confirm%"=="n" goto main_menu
goto end