From 5d5877113b3b217404fc004010eef82df74b2b47 Mon Sep 17 00:00:00 2001 From: GlebYoutuber <73891760+GlebYoutuber@users.noreply.github.com> Date: Tue, 30 Nov 2021 13:52:10 +0300 Subject: [PATCH] Updated Windows 11 Bypass --- src/Windows11Bypass/Windows11BypassSecureBootTPM.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Windows11Bypass/Windows11BypassSecureBootTPM.cs b/src/Windows11Bypass/Windows11BypassSecureBootTPM.cs index 3565136..6cf42c2 100644 --- a/src/Windows11Bypass/Windows11BypassSecureBootTPM.cs +++ b/src/Windows11Bypass/Windows11BypassSecureBootTPM.cs @@ -1,3 +1,4 @@ +using Microsoft.Win32; using System; using System.Collections.Generic; using System.ComponentModel; @@ -9,7 +10,6 @@ using System.Text; using System.Threading.Tasks; using System.Windows.Forms; -using Microsoft.Win32; namespace Windows11Bypass { @@ -20,9 +20,11 @@ public Windows11BypassSecureBootTPM() InitializeComponent(); if (MessageBox.Show("Do you want Bypass Windows 11 Secure Boot Check and TPM 2.0?", "Bypass Windows 11 Secure Boot Check and TPM 2.0", MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1) == DialogResult.Yes) { - RegistryKey bypasstpmandsecurebootcheck = Registry.LocalMachine.CreateSubKey(@"SYSTEM\Setup\LabConfig"); - bypasstpmandsecurebootcheck.SetValue("BypassTPMCheck", "1", RegistryValueKind.DWord); - bypasstpmandsecurebootcheck.SetValue("BypassSecureBootCheck", "1", RegistryValueKind.DWord); + RegistryKey bypasstpmsecurebootramstoragecheck = Registry.LocalMachine.CreateSubKey(@"SYSTEM\Setup\LabConfig"); + bypasstpmsecurebootramstoragecheck.SetValue("BypassTPMCheck", "1", RegistryValueKind.DWord); + bypasstpmsecurebootramstoragecheck.SetValue("BypassSecureBootCheck", "1", RegistryValueKind.DWord); + bypasstpmsecurebootramstoragecheck.SetValue("BypassRAMCheck", "1", RegistryValueKind.DWord); + bypasstpmsecurebootramstoragecheck.SetValue("BypassStorageCheck", "1", RegistryValueKind.DWord); RegistryKey BypassCPUCheckandTPMCheckINMoSetup = Registry.LocalMachine.CreateSubKey(@"SYSTEM\Setup\MoSetup"); BypassCPUCheckandTPMCheckINMoSetup.SetValue("AllowUpgradesWithUnsupportedTPMOrCPU", "1", RegistryValueKind.DWord); MessageBox.Show("Done.");