Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :: ─────────────────────────────────────────────────────────────────────────────
- :: 💻 WINDOWS BOOT CONFIG TWEAKS
- :: ─────────────────────────────────────────────────────────────────────────────
- :: 📖 Improves Windows booting, memory management, security and virtualization, and optimizes CPU performance.
- :: ─────────────────────────────────────────────────────────────────────────────
- :: ©️ Copy & Paste it to your own .cmd/.bat file
- :: ─────────────────────────────────────────────────────────────────────────────
- :: 📜 SCRIPT
- :: ─────────────────────────────────────────────────────────────────────────────
- bcdedit /set tscsyncpolicy enhanced
- bcdedit /set bootux disabled
- bcdedit /set bootmenupolicy standard
- bcdedit /set quietboot yes
- echo %PROCESSOR_IDENTIFIER% ^| find "Intel" >nul && bcdedit /set nx optout || bcdedit /set nx alwaysoff
- bcdedit /set allowedinmemorysettings 0x0
- bcdedit /set vsmlaunchtype Off
- bcdedit /set vm No
- reg add "HKLM\Software\Policies\Microsoft\FVE" /v "DisableExternalDMAUnderLock" /t Reg_DWORD /d "0" /f
- reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceGuard" /v "EnableVirtualizationBasedSecurity" /t Reg_DWORD /d "0" /f
- reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceGuard" /v "HVCIMATRequired" /t Reg_DWORD /d "0" /f
- bcdedit /set x2apicpolicy Enable
- bcdedit /set uselegacyapicmode No
- bcdedit /set configaccesspolicy Default
- bcdedit /set usephysicaldestination No
- bcdedit /set usefirmwarepcisettings No
- :: ─────────────────────────────────────────────────────────────────────────────
- :: 🔁 RESTORE DEFAULT VALUES
- :: ─────────────────────────────────────────────────────────────────────────────
- bcdedit /deletevalue tscsyncpolicy
- bcdedit /deletevalue bootux
- bcdedit /set bootmenupolicy standard
- bcdedit /set hypervisorlaunchtype Auto
- bcdedit /deletevalue tpmbootentropy
- bcdedit /deletevalue quietboot
- bcdedit /set nx optin
- bcdedit /set allowedinmemorysettings 0x17000077
- bcdedit /set isolatedcontext Yes
- bcdedit /deletevalue vsmlaunchtype
- bcdedit /deletevalue vm
- reg delete "HKLM\Software\Policies\Microsoft\FVE" /v "DisableExternalDMAUnderLock" /f
- reg delete "HKLM\Software\Policies\Microsoft\Windows\DeviceGuard" /v "EnableVirtualizationBasedSecurity" /f
- reg delete "HKLM\Software\Policies\Microsoft\Windows\DeviceGuard" /v "HVCIMATRequired" /f
- bcdedit /deletevalue firstmegabytepolicy
- bcdedit /deletevalue avoidlowmemory
- bcdedit /deletevalue nolowmem
- bcdedit /deletevalue configaccesspolicy
- bcdedit /deletevalue x2apicpolicy
- bcdedit /deletevalue usephysicaldestination
- bcdedit /deletevalue usefirmwarepcisettings
- bcdedit /deletevalue uselegacyapicmode
- :: ─────────────────────────────────────────────────────────────────────────────
Advertisement
Add Comment
Please, Sign In to add comment