GPU Tweaks Batch Script


so you can also do a WinRE and choose the Command Prompt option and launch regedit that way. I did that alot when testing tweaks and breaking my system. load the hive then youre good as new
Yes, don't have experience with WinRE. Does any WinPE work or does it have to be the actual WinRE? Also, when one uses the command prompt option to launch regedit, will it be the GUI or is it closer to how people import .reg files to the registry?
 

My Computer

System One

  • OS
    Windows XP/7/8/8.1/10/11, Linux, Android, FreeBSD Unix
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9570
    CPU
    Intel® Core™ i7-8750H 8th Gen Processor 2.2Ghz up to 4.1Ghz
    Motherboard
    Dell XPS 15 9570
    Memory
    32GB using 2x16GB modules
    Graphics Card(s)
    Intel UHD 630 & NVIDIA GeForce GTX 1050 Ti with 4GB DDR5
    Sound Card
    Realtek ALC3266-CG
    Monitor(s) Displays
    15.6" 4K Touch UltraHD 3840x2160 made by Sharp
    Screen Resolution
    3840x2160
    Hard Drives
    Toshiba KXG60ZNV1T02 NVMe 1024GB/1TB SSD
    PSU
    Dell XPS 15 9570
    Case
    Dell XPS 15 9570
    Cooling
    Stock
    Keyboard
    Stock
    Mouse
    SwitftPoint ProPoint
    Internet Speed
    Comcast/XFinity 1.44Gbps/42.5Mbps
    Browser
    Microsoft EDGE (Chromium based) & Google Chrome
    Antivirus
    Windows Defender that came with Windows
Yes, don't have experience with WinRE. Does any WinPE work or does it have to be the actual WinRE? Also, when one uses the command prompt option to launch regedit, will it be the GUI or is it closer to how people import .reg files to the registry?
so WinRE is the blue interface that appears when holding shift key down while restarting the PC. i dont have any experience with WinPE, but i imagine it does the same thing. when you launch regedit at the cmd prompt it opens the registry edit program as normal.

when loading regedit through cmdprompt via WinRE, you have to specify drive C, since it mounts WinRE to drive X (C:\windows\system32\config\SYSTEM). its not too difficult. i did it repeatedly when tweaking and breaking my system with bad reg key edits.
 

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420
so WinRE is the blue interface that appears when holding shift key down while restarting the PC. i dont have any experience with WinPE, but i imagine it does the same thing. when you launch regedit at the cmd prompt it opens the registry edit program as normal.

when loading regedit through cmdprompt via WinRE, you have to specify drive C, since it mounts WinRE to drive X (C:\windows\system32\config\SYSTEM). its not too difficult. i did it repeatedly when tweaking and breaking my system with bad reg key edits.

Thanks, last time I had a BSOD from installing the new security files, WinRE did not work as the WinRE had to be atleast August 14, 2024 or later so my options were to boot with a USB Flash Drive which contain either WinPE or the ISO of Windows itself, the later needing to hit Shift+F10 at the prompt to mount the UEFI to delete a file that was added before the system would boot again, never gotten to try regedit. I guess it shouldn't be too hard other than spending time to actually note down what the original settings for each modded regkey is to use as reference for reversing the scripts if it caused problems. Yes, I think it helps to know where the Windows 11 registry files are located in order to load the hives to fix it. LOL.
 

My Computer

System One

  • OS
    Windows XP/7/8/8.1/10/11, Linux, Android, FreeBSD Unix
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9570
    CPU
    Intel® Core™ i7-8750H 8th Gen Processor 2.2Ghz up to 4.1Ghz
    Motherboard
    Dell XPS 15 9570
    Memory
    32GB using 2x16GB modules
    Graphics Card(s)
    Intel UHD 630 & NVIDIA GeForce GTX 1050 Ti with 4GB DDR5
    Sound Card
    Realtek ALC3266-CG
    Monitor(s) Displays
    15.6" 4K Touch UltraHD 3840x2160 made by Sharp
    Screen Resolution
    3840x2160
    Hard Drives
    Toshiba KXG60ZNV1T02 NVMe 1024GB/1TB SSD
    PSU
    Dell XPS 15 9570
    Case
    Dell XPS 15 9570
    Cooling
    Stock
    Keyboard
    Stock
    Mouse
    SwitftPoint ProPoint
    Internet Speed
    Comcast/XFinity 1.44Gbps/42.5Mbps
    Browser
    Microsoft EDGE (Chromium based) & Google Chrome
    Antivirus
    Windows Defender that came with Windows
WinRE can be many things, as you can recover your system in many ways. I fortunately was able to recover my system with WinRE without needing to resort to WinPE.

more than half of the reg keys used are not present by default, so i cant provide the default values, as ive gathered most of them from various sources noted in the batch script.
 

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420
LOL, it's hard to provide default values since everyone's system is different as some may have some of the keys even if it wasn't default. I am just saying that for Guidance for blocking rollback of Virtualization-based Security (VBS) related security updates - Microsoft Support - it specifically says:
"Windows Recovery Environment. The Windows Recovery Environment (WinRE) on the device must be updated with the latest Windows updates installed on the device before the SkuSipolicy.p7b is applied to the device. Omitting this step might prevent WinRE from running the Reset PC feature." which in this case meant August 13, 2024 or later.
which I did learn the hard way here:
 
Last edited:

My Computer

System One

  • OS
    Windows XP/7/8/8.1/10/11, Linux, Android, FreeBSD Unix
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9570
    CPU
    Intel® Core™ i7-8750H 8th Gen Processor 2.2Ghz up to 4.1Ghz
    Motherboard
    Dell XPS 15 9570
    Memory
    32GB using 2x16GB modules
    Graphics Card(s)
    Intel UHD 630 & NVIDIA GeForce GTX 1050 Ti with 4GB DDR5
    Sound Card
    Realtek ALC3266-CG
    Monitor(s) Displays
    15.6" 4K Touch UltraHD 3840x2160 made by Sharp
    Screen Resolution
    3840x2160
    Hard Drives
    Toshiba KXG60ZNV1T02 NVMe 1024GB/1TB SSD
    PSU
    Dell XPS 15 9570
    Case
    Dell XPS 15 9570
    Cooling
    Stock
    Keyboard
    Stock
    Mouse
    SwitftPoint ProPoint
    Internet Speed
    Comcast/XFinity 1.44Gbps/42.5Mbps
    Browser
    Microsoft EDGE (Chromium based) & Google Chrome
    Antivirus
    Windows Defender that came with Windows
to clarify, i meant that some of the reg keys present in the script are not in the registry at all, and must be manually added. and youre right, some other keys have no default and are variable depending on hardware. these keys in my scripts are noted and some have been updated to query hardware and dont need manually set thanks to the great people on this forum.

i always check for system updates daily, and also run canary insider builds, so i never had this issue. i always love staying up too date and bleeding edge, which is one of the reasons i use canary and consistently run windows update
 

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420
Yes, I know what you meant. I meant there could be some people who had those registry keys too except with different values in them. I run Beta Insiders and Canary as a VM under Beta's Hyper-V.
 

My Computer

System One

  • OS
    Windows XP/7/8/8.1/10/11, Linux, Android, FreeBSD Unix
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9570
    CPU
    Intel® Core™ i7-8750H 8th Gen Processor 2.2Ghz up to 4.1Ghz
    Motherboard
    Dell XPS 15 9570
    Memory
    32GB using 2x16GB modules
    Graphics Card(s)
    Intel UHD 630 & NVIDIA GeForce GTX 1050 Ti with 4GB DDR5
    Sound Card
    Realtek ALC3266-CG
    Monitor(s) Displays
    15.6" 4K Touch UltraHD 3840x2160 made by Sharp
    Screen Resolution
    3840x2160
    Hard Drives
    Toshiba KXG60ZNV1T02 NVMe 1024GB/1TB SSD
    PSU
    Dell XPS 15 9570
    Case
    Dell XPS 15 9570
    Cooling
    Stock
    Keyboard
    Stock
    Mouse
    SwitftPoint ProPoint
    Internet Speed
    Comcast/XFinity 1.44Gbps/42.5Mbps
    Browser
    Microsoft EDGE (Chromium based) & Google Chrome
    Antivirus
    Windows Defender that came with Windows
Yes, I know what you meant. I meant there could be some people who had those registry keys too except with different values in them. I run Beta Insiders and Canary as a VM under Beta's Hyper-V.
for sure, i do have my setting values tuned for optimal performance, so if some keys on another users machine have differing values than whats in the script, the script knows best what it should be set to prioritizing performance
 

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420
Which tweaks of NVGPUTweaks.bat interfere with DSC Digital Signal Compression monitors? Does hdmi 2.1 eliminate dsc? go around this at 1440p 240hz? Is the GPUTweaks.bat the new one?

Yeah looks like I'm stuck with a DSC DP1.4 monitor so I guess I need to be able to edit the script to use these.

 
Last edited:

My Computer

System One

  • OS
    24H2v3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Old Stuff Im ancient no longer an upgrade whore
i unfortunately dont have a DSC monitor to debug which option breaks support for this feature. you would have to trim the script and re-add lines to figure out which reg key it is.
 

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420
Crap, I was just about to install it until I saw DSC feature not supported. The Samsung Odyssey OLED G9 G95SC has DSC enabled by default in game mode :(
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations (24H2)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkPad X1 Carbon Gen 12
    CPU
    Intel Core Ultra 7 (Liquid Metal)
    Motherboard
    OEM
    Memory
    32GB DDR5
    Graphics Card(s)
    Intel Graphics (Integrated)
    Sound Card
    Realtek
    Monitor(s) Displays
    Lenovo OLED
    Screen Resolution
    2880x1800
    Hard Drives
    2TB Samsung 990 Pro
    PSU
    OEM
    Case
    OEM
    Cooling
    OEM
    Keyboard
    en-US
    Mouse
    Lenovo Haptic Touchpad
    Internet Speed
    2Gbps (xFinity)
    Browser
    Brave, Mozilla FF
    Antivirus
    ESET Endpoint Security
  • Operating System
    Windows 11 Pro for Workstations (24H2)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo P3 Ultra
    CPU
    Intel Core i9-13900 (Delidded, Liquid Metal)
    Motherboard
    OEM
    Memory
    64GB DDR5
    Graphics card(s)
    EVGA GeForce RTX 3090 FTW3 Ultra
    Sound Card
    Reaktek
    Monitor(s) Displays
    49" Odyssey OLED G9 (G95SC)
    Screen Resolution
    5120x1440
    Hard Drives
    512GB NVMe (OS), 4TB NVMe (Folders, Games)
    PSU
    Thermaltake Smart M 650W Bronze
    Case
    OEM
    Cooling
    OEM
    Mouse
    Razer Basilisk Pro 35K (2.5GHz)
    Keyboard
    Razer Huntsman V3 Pro Analog Optical
    Internet Speed
    2Gbps (xFinity)
    Browser
    Brave, Mozilla FF
    Antivirus
    ESET Endpoint Security
Don't most newer video cards automatically support DSC regardless if the monitor does?
 

My Computer

System One

  • OS
    Windows 11 Pro 23H2 (22631.4751 - using GRC InControl)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Pre-built
    CPU
    AMD Ryzen 7 7800X3D
    Motherboard
    MSI Pro B650-VC WiFi
    Memory
    32gb Team Group (T-Force) DDR5-6000
    Graphics Card(s)
    Zotac nVidia GeForce RTX 4070 SUPER - 12gb
    Sound Card
    Sound BlasterX G6
    Monitor(s) Displays
    BenQ XL2411P and ViewSonic VX2453
    Screen Resolution
    1920x1080
    Hard Drives
    WD Blue SN5000 - 500gb NVME
    WD Blue SN580 - 2TB NVME
    Keyboard
    Mountain Everest
    Mouse
    Logitech G502 Hero
    Internet Speed
    T-Mobile Home Internet
    Browser
    Firefox
    Other Info
    QNAP TS-469 Pro NAS
Well i would assume its vrr amongst others, how did you know it breaks on dsc monitors?
 

My Computer

System One

  • OS
    24H2v3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Old Stuff Im ancient no longer an upgrade whore
Nope wasnt vrr already had those input, fell asleep edit time expired. Guess ill have to search all of these or something, Reinstalling 10 times doesnt sound like fun, I'm on a debloated os so restore is off the table not sure how reversible a black screen will be if at all.
 

My Computer

System One

  • OS
    24H2v3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Old Stuff Im ancient no longer an upgrade whore
Back
Top Bottom