เมื่อต่ออุปกรณ์ใหม่ Windows จะพยายามดาวน์โหลดและติดตั้ง Driver อัตโนมัติ ต่อไป OS จะอัปเดต Driver ผ่าน Windows Update ในส่วนใหญ่วิธีนี้เหมาะสมที่สุด เนื่องจากรับประกัน Driver เวอร์ชันล่าสุดที่ผ่านการตรวจสอบของ Microsoft แต่บางกรณี User ต้องการใช้ Driver เก่า/ Legacy และไม่ต้องการให้อัปเดตอัตโนมัติผ่าน Windows Update
ป้องกันไม่ให้ Windows 10/11 อัปเดต Driver เฉพาะตัวอัตโนมัติ
สามารถป้องกัน Auto-update Driver สำหรับ Device เฉพาะได้ เช่น ใช้ Video Card Driver เก่าที่เสถียร แต่หลัง Auto-update ทุกครั้งก็ทำงานผิดปกติ ต้องการให้ Driver อื่นๆ อัปเดตอัตโนมัติ ยกเว้น Driver ของ Device นั้น (Video Card)
Microsoft แนะนำ Tool แยก – wushowhide.diagcab (“Show or Hide Updates”) ซ่อน Updates/Driver เฉพาะใน Windows 10/11
- ดาวน์โหลด wushowhide.diagcab จาก Microsoft Download Center (https://download.microsoft.com/download/f/2/2/f22d5fdb-59cd-4275-8c95-1be17bf70b21/wushowhide.diagcab);
- รัน Tool เลือก “Hide Updates“;
- ในรายการ Updates/Driver ที่มี ให้ Check Driver ที่ต้องการปิด Auto-update คลิก Next;

- หลังจากนั้น Driver ที่เลือกจะไม่ถูกอัปเดตอัตโนมัติโดย Windows
ยังสามารถปิด Update Driver เฉพาะตัวผ่าน Group Policy ต้องหา Device ID ของ Device ที่ต้องการปิด Auto-update
- เปิด Device Manager (
devmgmt.msc) หา Device เปิด Properties; - แท็บ Detail เลือก “Hardware IDs” จาก Dropdown;
- Copy Hardware IDs (รูปแบบ
PCI\VEN_15AD&DEV_ …) ไป Notepad;
- ใน GPO Editor (
gpedit.mscสำหรับ Standalone) ไป: Computer Configuration -> Administrative Templates -> System -> Device Installation -> Device Installation Restrictions Enable Policy “Prevent installation of devices that match any of these device IDs”; - คลิก “Show” ใน Policy Settings วาง Hardware IDs ที่ Copy ไว้ในตาราง Values;

- Save และ Update GPO บน Client:
gpupdate /force; - ตอนนี้ หาก Windows ดาวน์โหลด Driver Updates สำหรับ Device นี้ จะ Error ระหว่าง Auto-install (The installation of this device is forbidden by system policy. Contact your system administrator)
ไม่สามารถ Update Driver Manual ได้ ต้อง Disable GPO นี้ หรือลบ Hardware ID ออกจาก List
ยังสามารถ Enable Policy นี้ผ่าน Registry: เปิด regedit.exe ไปที่ HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs สร้าง String (REG_SZ) Parameters ชื่อ 1, 2, 3... Value = Hardware ID แต่ละตัว

ปิด Driver Updates สำหรับ Device Types เฉพาะ (Printers, Sound Cards, USB Controllers) ด้วย GPO “Prevent installation of devices using drivers that match these device setup classes” ต้องระบุ Device Class GUID เช่น {4d36e972-e325-11ce-bfc1-08002be10318} = Network Adapters, {4d36e979-e325-11ce-bfc1-08002be10318} และ {4658ee7e-f050-11d1-b6bd-00c04fa372a7} = Printers รายการ GUID ครบ: https://docs.microsoft.com/en-us/windows-hardware/drivers/install/system-defined-device-setup-classes-available-to-vendors
ปิดการอัปเดต Hardware Drivers อัตโนมัติบน Windows 11 หรือ 10
วิธีง่ายที่สุด: เปลี่ยน System Settings บนแท็บ Hardware
- กด Win + X รัน
sysdm.cpl;
- แท็บ Hardware ของ Advanced System Settings จะเปิด;
- คลิก Device Installation Settings;

- ในหน้าต่าง Device Installation Settings เปลี่ยนเป็น “No (your device might not work as expected)” ใน Dialog “Do you want to automatically download manufacturers’ apps and custom icons available for your device?”;

- Save และ Restart
Setting นี้ทำงานทั้ง Windows 10 และ 11
หยุด Windows Update Hardware Drivers ด้วย Group Policies
ปิด Device Driver Updates ใน Windows 10/11 ด้วย GPO ใช้ Domain GPO (gpmc.msc) หรือ Local GPO (gpedit.msc)
- Win + R -> gpedit.msc -> OK (Home Editions รัน Local GPO Editor ได้ตามวิธีก่อนหน้า);
- ไป: Computer Configuration -> Administrative Templates -> System -> Device Installation -> Device Installation Restrictions;
- หา Policy Prevent installation of devices not described by other policy settings;

- Enable Policy (“Enabled”) Save;
- Enable Policy “Specify search order for device driver source locations” อยู่ที่ Computer Configuration -> Administrative Templates -> System -> Device Installation เปลี่ยน Setting เป็น “Do not search Windows Update” Policy นี้ยกเว้นการค้นหา Driver Updates บน Windows Update Sites (ตอนติดตั้ง Driver ใดๆ จะพยายามหา Driver ที่เหมาะสมกว่าผ่าน Windows Update);

- ไป: Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update หาและ Enable Policy “Do not include drivers with Windows Update”
บน Windows 11 และ Windows Server 2022 GPO นี้อยู่ที่ Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update -> Manage Updates offered from Windows Update
Domain GPOs (gpmc.msc) Deploy Settings นี้ไปหลายเครื่องใน AD Domain ใน Workgroup คัดลอก Local GPO Settings ไปเครื่องอื่นด้วย LGPO.exe
ปิด Auto Driver Updates ใน Windows ผ่าน PowerShell
ใช้ PowerShell Script ง่ายๆ ปิด Auto Driver Updates โดยเปลี่ยน Registry Settings เดียวกับ GPO ข้างต้น ใช้ได้กับ Home Edition (ไม่มี Local GPO Editor) และ Automation Tasks
เปลี่ยนค่า Registry Parameters ดังนี้:
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching –
SearchOrderConfig= 3 (3 — ไม่ติดตั้ง Drivers ผ่าน Windows Update) - HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata –
PreventDeviceMetadataFromNetwork= 1 - HKLM\SOFTWARE\Microsoft\Windows\WindowsUpdate –
ExcludeWUDriversInQualityUpdate= 1
เปิด PowerShell as Admin รัน:
Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching\ -Name SearchOrderConfig -Value 3
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata\' -Name PreventDeviceMetadataFromNetwork -Value 1
# Check registry key exists, create if not
$regKey3 = 'HKLM:\SOFTWARE\Microsoft\Windows\WindowsUpdate'
$test = test-path -path $regKey3
if(-not($test)){
New-Item -Path $regKey3
}
Set-ItemProperty -Path $regKey3 -Name ExcludeWUDriversInQualityUpdate -Value 1

แก้ Registry Settings นี้ Manual ด้วย regedit.exe หรือ Deploy ผ่าน GPO ก็ได้
Restart แล้ว Auto Driver Updates จะถูกบล็อก
ใน Windows 10 21H1 และ Windows 11 Build ล่าสุด Parameter ExcludeWUDriversInQualityUpdate อยู่ในหลาย Registry Keys:
- HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Update
- HKLM\SOFTWARE\Microsoft\PolicyManager\default\Update
- HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings
- HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
ต้องตั้ง ExcludeWUDriversInQualityUpdate = 1 ในทุก Key เพิ่ม Code นี้ใน Script:
$regkeys =
'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate',
'HKLM:\SOFTWARE\Microsoft\PolicyManager\default\Update',
'HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings',
'HKLM:\SOFTWARE\Microsoft\PolicyManager\current\device\Update'
foreach ($regkey in $regkeys){
$test = test-path -path $regkey
if(-not($test)){
New-Item -Path $regKey
}
Set-ItemProperty -Path $regkey -Name ExcludeWUDriversInQualityUpdate -Value 1
}
foreach ($regkey in $regkeys){write-host $regkey}
บาง Admin ชอบปิด Driver Updates หลัง Deploy Windows 10 Image และติดตั้ง Drivers ครบแล้ว ทำได้ด้วย GPO “Prevent installation of devices not described by other policy settings” หรือคำสั่ง:
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v DenyUnspecified /t REG_DWORD /d 1 /f