Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Disable unnecessary and problematic driver replacements on a Dell Latitude 5591. Some devices with drivers also take resources even if they aren't actively used (like Intel AHCI and accelerometer), so this batch file aims to just handle them all in one-go.

- Touchpad has an Alps service that eats a large amount of CPU when moving an external USB mouse
- Intel Dynamic Tuning is useless when forcing highest perf
- Intel HID Events filter doesn't seem required and reported to cause issues elsewhere
- Intel SATA AHCI controller is unnecessary with NVMe (in AHCI)
- Intel Wireless Manageability seems like a security concern considering MEI is disabled (HAP bit)
- Realtek Audio Service is unnecessary without Realtek's main driver and EQ and stuff (which is also unnecessary)
- STMicroelectronics Accelerometer is for Dell's HDD free-fall protection and unnecessary with SSDs

Adaptable and usable on any computer and devices but you'll have to change Device ID paths.
  • Loading branch information
Espionage724 authored Apr 29, 2024
1 parent 282e8ce commit 2f4be33
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions 2024 Dell 5591 Driver Disable.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
:: Dell Latitude 5591
:: 2024/04/27

:: Initial
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyDeviceIDs" /t "REG_DWORD" /d "1" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyDeviceIDsRetroactive" /t "REG_DWORD" /d "0" /f

:: Dell Touchpad
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "1" /t "REG_SZ" /d "HID\VEN_DELL&DEV_0819&Col03" /f
::reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "1" /f

:: AlpsAlpine Virtual HID Device
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "2" /t "REG_SZ" /d "HID\Vid_044E&Pid_1212&Col01" /f
::reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "2" /f
sc stop "ApHidMonitorService"
sc config "ApHidMonitorService" start="disabled"

:: Intel(R) Dynamic Tuning Manager
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "3" /t "REG_SZ" /d "ACPI\VEN_INT&DEV_3400" /f
::reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "3" /f
sc stop "esifsvc"
sc config "esifsvc" start="disabled"

:: Intel(R) Dynamic Tuning Processor Participant
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "4" /t "REG_SZ" /d "PCI\VEN_8086&DEV_1903&SUBSYS_08191028&REV_07" /f
::reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "4" /f

:: Intel(R) Dynamic Tuning Generic Participant
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "5" /t "REG_SZ" /d "ACPI\VEN_INT&DEV_3403" /f
::reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "5" /f

:: Intel(R) HID Event Filter
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "6" /t "REG_SZ" /d "ACPI\VEN_INT&DEV_33D5" /f
::reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "6" /f

:: Intel(R) 300 Series Chipset Family SATA AHCI Controller
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "7" /t "REG_SZ" /d "PCI\VEN_8086&DEV_A353&SUBSYS_08191028&REV_10" /f
::reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "7" /f

:: Intel(R) Wireless Manageability
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "8" /t "REG_SZ" /d "SWC\842ADBFC-7499-407B-BD91-A52842585D0B" /f
::reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "8" /f

:: Realtek Audio Universal Service
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "9" /t "REG_SZ" /d "SWC\VEN_10EC&SID_0001" /f
::reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "9" /f
sc stop "RtkAudioUniversalService"
sc config "RtkAudioUniversalService" start="disabled"

:: STMicroelectronics 3-Axis Digital Accelerometer
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "10" /t "REG_SZ" /d "ACPI\VEN_SMO&DEV_8810" /f
::reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "10" /f

0 comments on commit 2f4be33

Please sign in to comment.