Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

แก้ไข Error Code 0x800f0954 หรือ 0x500f0984 บน Windows 11/10

อย่ากลัวเมื่อเจอ Windows Error 0x800f0954 หรือ 0x500f0984 ขณะติดตั้ง Windows Feature หรือ Windows Update สามารถแก้ได้ง่ายด้วยคำแนะนำในบทความนี้

วิธีแก้ Error 0x800f0954 บน Windows 11/10

แก้ไข Error Code 0x800f0954 หรือ 0x500f0984 บน Windows 11/10

Windows couldn't complete the requested changes. The changes couldn't be completed. Please reboot your computer and try again.

Error code: 0x800F0954 – CBS_E_INVALID_WINDOWS_UPDATE_COUNT_WSUS.

คุณอาจเจอ Error 0x800f0954 เมื่อพยายามติดตั้ง .NET Framework 3.5 หรือ Optional feature อื่นๆ ผ่าน Windows Features หรือ DISM ลองวิธีเหล่านี้:

เปิด Registry Editor

ไปที่ registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

ด้านขวา หา UseWUServer ตั้งค่าเป็น 0

ปิด Registry Editor และ restart คอมพิวเตอร์

หายังไม่ได้ อาจต้อง Repair computer ด้วย Windows ISO

วิธีแก้ Windows Update Error 0x500f0984

เมื่อระบบโยน Windows Update Error 0x500f0984 คุณอาจไม่ดาวน์โหลดหรือรับ build updates ได้ แต่แก้ได้โดยสร้าง batch file รันด้วยสิทธิ์ admin

  1. เปิด NotePad
  2. คัดลอกและวางคำสั่งจากบทความ
  3. คลิกแท็บ File
  4. เลือก Save as
  5. ตั้งชื่อไฟล์ Wufix.bat กด Save
  6. รัน Wufix file ด้วยสิทธิ์ administrator
  7. Restart คอมพิวเตอร์

Batch command ตามชื่อ จะรันชุดคำสั่งตามลำดับ

เพื่อแก้ Windows Update Error 0x500f0984 ต้องสร้าง batch file ด้วย NotePad ก่อน

เปิด NotePad คัดลอกคำสั่งด้านล่าง:

SC config trustedinstaller start=auto

net stop bits
net stop wuauserv
net stop msiserver
net stop cryptsvc
net stop appidsvc
Ren %Systemroot%\SoftwareDistribution SoftwareDistribution.old
Ren %Systemroot%\System32\catroot2 catroot2.old
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
netsh winsock reset
netsh winsock reset proxy
rundll32.exe pnpclean.dll,RunDLL_PnpClean /DRIVERS /MAXCLEAN
dism /Online /Cleanup-image /ScanHealth
dism /Online /Cleanup-image /CheckHealth
dism /Online /Cleanup-image /RestoreHealth
dism /Online /Cleanup-image /StartComponentCleanup
Sfc /ScanNow
net start bits
net start wuauserv
net start msiserver
net start cryptsvc
net start appidsvc

คำสั่งนี้จะล้าง Software Distribution และ catroot2, re-register DLL ที่จำเป็น, reset winsock, รัน DISM และ SFC

แก้ไข Error Code 0x800f0954 หรือ 0x500f0984 บน Windows 11/10

เสร็จแล้ว ไปที่แท็บ File มุมขวาบนของ NotePad เลือก Save As

ใน dialog Save As ใส่ File name ว่า Wufix.bat

แก้ไข Error Code 0x800f0954 หรือ 0x500f0984 บน Windows 11/10

กด drop-down ถัดจาก Save as type เลือก All Files

กด Save บันทึกไฟล์

คลิกขวา Wufix file รัน batch file ด้วยสิทธิ์ admin รอจนเสร็จ

Restart PC ดูว่าข้อผิดพลาดหายหรือไม่

หวังว่าจะช่วยได้

แก้ไข Error Code 0x800f0954 หรือ 0x500f0984 บน Windows 11/10