Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

แก้ไขข้อผิดพลาด "Windows couldn't complete the requested changes" ตอนติดตั้ง .NET Framework

แก้ไข Windows couldn't complete the requested changes

ข้อผิดพลาดนี้มักเกิดเมื่อติดตั้ง .NET Framework พร้อมรหัสข้อผิดพลาดหลากหลาย เช่น 0x80004005, 0x800f0906, 0x800f081f, 0x80070422, 0x800F081F, 0x800736B3, 0x800f0805, 0x800f0922 เป็นต้น มักเกิดเมื่อรันโปรแกรมที่ต้องการ .NET Framework 3.5 คลิก Yes ติดตั้ง แสดงสำเร็จ แต่รันโปรแกรมใหม่ก็ขอติดตั้งซ้ำ หรือ Disable/Enable .NET 3.5 ก็ยัง error เหมือนเดิม เรามาแก้ไขกัน

เตรียมความพร้อม

สร้าง Restore Point ก่อนเริ่ม

วิธีที่ 1: รัน DISM Tool ติดตั้ง .NET 3.5 จากสื่อติดตั้ง

  1. Windows Key + X > Command Prompt (Admin)
  2. รันคำสั่ง:
    Dism /online /enable-feature /featurename:NetFx3 /All /Source:[drive_letter]:\sources\sxs /LimitAccess
  3. หมายเหตุ: แทนที่ [drive_letter] ด้วยไดรฟ์ของสื่อติดตั้ง Windows (DVD/USB)
  4. รีบูท และลองติดตั้ง .NET Framework ใหม่

วิธีที่ 2: ทำ Clean Boot

ซอฟต์แวร์บุคคลที่สามอาจขัดแย้งกับการติดตั้ง .NET ให้ทำ Clean Boot แล้วลองติดตั้งใหม่

วิธีที่ 3: ตรวจสอบ Windows Update ให้เป็นปัจจุบัน

  1. Windows Key + I > Update & Security
  2. คลิก Check for updates ติดตั้งอัปเดตที่ค้างอยู่
  3. รีบูท และทดสอบ

วิธีที่ 4: เปิดใช้งาน .NET Framework 3.5 ผ่าน Windows Features

  1. Windows Key + R appwiz.cpl Enter
  2. เมนูซ้ายคลิก Turn Windows features on or off
  3. ติ๊ก .NET Framework 3.5 (includes .NET 2.0 and 3.0)
  4. OK > Follow วิซาร์ด > Restart

วิธีที่ 5: แก้ไขผ่าน Registry (UseWUServer)

  1. Windows Key + R regedit Enter
  2. ไปที่: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
  3. เลือก AU > ดับเบิลคลิก UseWUServer DWORD (หากไม่มี ให้สร้างใหม่: New > DWORD 32-bit > ชื่อ UseWUServer)
  4. Value data = 0 > OK
  5. รีบูท และรัน Windows Update ใหม่

วิธีที่ 6: ติดตั้ง .NET Framework ด้วยสื่อติดตั้ง Windows 10

  1. สร้างโฟลเดอร์ C:\Temp
  2. Mount Windows 10 ISO (DAEMON Tools/Virtual CloneDrive) หรือเสียบ USB Bootable
  3. คัดลอกโฟลเดอร์ SxS จาก Sources ไปวางที่ C:\Temp
  4. เปิด PowerShell as Administrator
  5. รัน:
    dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:\temp\sxs /LimitAccess
  6. รอจนเจอข้อความ "The operation completed successfully"
  7. รีบูท และทดสอบ

วิธีที่ 7: เปิดใช้งาน Group Policy สำหรับ Component Installation

  1. Windows Key + R gpedit.msc Enter > Group Policy Editor
  2. ไปที่: Computer Configuration > Administrative Templates > System
  3. หา Specify settings for optional component installation and component repair
  4. ดับเบิลคลิก > เลือก Enabled > ติ๊ก Contact Windows Update directly...
  5. Apply > OK
  6. ลองติดตั้ง .NET 3.5 ใหม่

วิธีที่ 8: รัน Windows Update Troubleshooter

ดาวน์โหลด Windows Update Troubleshooter จากเว็บ Microsoft รัน และทำตามขั้นตอน เพื่อให้ Windows Update ทำงานได้ปกติ (สำคัญสำหรับ .NET Framework)

วิธีที่ 9: ใช้ Microsoft .NET Framework Repair Tool

ดาวน์โหลดและรันเครื่องมือนี้ จะพยายามซ่อมแซมปัญหา .NET Framework อัตโนมัติ

วิธีที่ 10: ใช้ .NET Framework Cleanup Tool (ทางเลือกสุดท้าย)

ใช้เมื่อทุกวิธีล้มเหลว จะลบเวอร์ชัน .NET ที่เลือกออกจากระบบ ช่วยแก้ปัญหาติดตั้ง/ถอน/ซ่อม/แพทช์ ดูรายละเอียดที่ NET Framework Cleanup Tool User's Guide หลังลบเสร็จ ให้ติดตั้งเวอร์ชันที่ต้องการใหม่

บทความแนะนำเพิ่มเติม

  • Fix Keyboard Typing Numbers Instead of Letters
  • Fix The Windows Installer service could not be accessed
  • How To Fix Your Computer has a Memory problem
  • Fix Please Insert a Disk into Removable Disk USB Error

ขอให้สำเร็จในการแก้ไข Windows couldn't complete the requested changes error หากมีคำถาม ถามได้ในความคิดเห็นครับ