-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathBCD_Tweaks.bat
More file actions
62 lines (50 loc) · 1.97 KB
/
Copy pathBCD_Tweaks.bat
File metadata and controls
62 lines (50 loc) · 1.97 KB
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
rem ::: BCDEDIT Tweaks
rem ::: Plundered by NEKR1D
rem ::: Originally created by Shoober420
rem ::: https://github.com/shoober420/windows11-scripts
if not exist C:\Windows\System32\wbem\WMIC.exe (
echo Installing WMIC...
DISM /Online /Add-Capability /CapabilityName:WMIC~~~~
echo Done.
)
rem ::: Processor x2APIC Support helps operating systems run more efficiently on high core count configurations
bcdedit /set x2apicpolicy Enable
rem ::: Enable MSI
bcdedit /set configaccesspolicy Default
bcdedit /set MSI Default
bcdedit /set usephysicaldestination No
bcdedit /set usefirmwarepcisettings No
rem ::: Avoid the use of uncontiguous portions of low-memory from the OS
bcdedit /set firstmegabytepolicy UseAll
bcdedit /set avoidlowmemory 0x8000000
bcdedit /set nolowmem Yes
rem ::: Enable Physical Address Extension (PAE)
bcdedit /set pae ForceEnable
rem ::: Disable 57-bits 5-level paging, also known as "Linear Address 57". Only 100% effective on 10th gen Intel. 256 TB of virtual memory per-disk is way much more than enough anyway
bcdedit /set linearaddress57 OptOut
bcdedit /set increaseuserva 268435328
bcdedit /set disableelamdrivers Yes
bcdedit /set highestmode Yes
bcdedit /set forcefipscrypto No
bcdedit /set noumex Yes
bcdedit /set uselegacyapicmode No
bcdedit /set ems No
bcdedit /set extendedinput Yes
bcdedit /set debug No
bcdedit /set debugstart Disable
bcdedit /set bootdebug Off
bcdedit /set bootlog No
bcdedit /bootdebug Off
bcdedit /bootems Off
bcdedit /debug Off
bcdedit /ems Off
bcdedit /set sos On
bcdedit /set onecpu No
bcdedit /set halbreakpoint No
bcdedit /set bootmenupolicy Legacy
bcdedit /set graphicsmodedisabled No
rem ::: Set Number of Processors
rem ::: define processor count (includes counting cores with HT on as 2 processors example; 8 cores = 16 processor threads if HT is on)
rem ::: intel 12900K with HT disabled = 16 cores/processors (8 P-core and 8 E-core)
bcdedit /set numproc 24
PAUSE