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

แก้ไข: The service cannot accept control messages at this time

"The service cannot accept control messages at this time" เป็นข้อผิดพลาดเกี่ยวกับเครือข่ายใน Windows ที่มักเกิดเมื่อ service กำลังถูกใช้โดยกระบวนการอื่น แต่ละ Windows service มี message pump (ลูปที่รอข้อความจาก Windows หรือแหล่งอื่น ส่งต่อและดำเนินการ)

เมื่อ service ได้รับข้อความ "stop" จะถือว่าอยู่ในสถานะ "stopping" โดย service manager ในสถานะ "stop-pending" ไม่สามารถรับคำสั่งที่ขัดแย้ง เช่น "start" ได้ เมื่อเกิดขึ้นจะได้ข้อความดังกล่าว

เมื่อข้อความค้างในโค้ดประมวลผล หรือใช้เวลานานในการประมวลผลคำสั่ง จะเกิดปัญหานี้ สามารถรอ 1-2 นาที ดูว่าจะแก้เองได้ไหม แต่จากประสบการณ์ นادرๆ ที่จะหายเอง

แก้ไข: The service cannot accept control messages at this time

แก้ไข The service cannot accept control messages at this time

วิธีแก้หลายอย่างด้านล่างอาจไม่เหมาะกับทุกคน แต่เราเชื่อว่าปัญหาจะหายถ้าทำตามทุกวิธีและใช้วิธีที่เหมาะกับสถานการณ์ โชคดีนะครับ

วิธีที่ 1: รีสตาร์ท Credential Manager Service

มีกระบวนการบางอย่างทำให้เกิด error นี้เมื่อพยายามรันกระบวนการหรือไฟล์เฉพาะ ผู้ใช้รายงานว่ารีสตาร์ท Credential Manager Service ช่วยแก้ได้ โดยเฉพาะเมื่อรันแอปจาก IIS หรือสถานการณ์คล้ายกัน

  1. Win+R > พิมพ์ "services.msc" > OK

แก้ไข: The service cannot accept control messages at this time

  1. หา Credential Manager Service > คลิกขวา Properties
  2. ถ้า Started (ดู Service status) คลิก Stop ทันที ถ้า Stopped ทิ้งไว้

แก้ไข: The service cannot accept control messages at this time

  1. ตั้ง Startup type เป็น Automatic > คลิก Start > ออก ถ้ามีกล่องโต้ตอบยืนยัน

อาจเจอข้อผิดพลาดตอนกด Start:

"Windows could not start the Background Intelligence Transfer Service on Local Computer. Error 1079: The account specified for this service differs from the account specified for other services running in the same process."

ถ้าเกิด ทำดังนี้:

  1. ทำขั้นตอน 1-3 อีกครั้ง เปิด IP Helper properties > แท็บ Log On > Browse...

แก้ไข: The service cannot accept control messages at this time

  1. พิมพ์ชื่อบัญชีใน "Enter the object name to select" > Check Names รอจดจำ > OK พิมพ์รหัสผ่านถ้ามี ควรเริ่มได้แล้ว

วิธีที่ 2: วิธีเกี่ยวกับ IIS - Kill IIS Worker Process

Internet Information Services (IIS) เป็นเว็บเซิร์ฟเวอร์สำหรับ Windows Server หากเจอปัญหา IIS และ error "The service cannot accept control messages at this time" วิธีที่ 1 และ 2 อาจช่วยทั้งคู่ วิธีนี้ง่ายและตรงไปตรงมา

  1. Ctrl+Shift+Esc > Task Manager หรือ Ctrl+Alt+Del > Task Manager หรือค้นหาใน Start

แก้ไข: The service cannot accept control messages at this time

  1. คลิก More details > หา IIS Worker Process ในแท็บ Processes (อยู่ใต้ Background processes) ลองหาและจบ w3wp.exe ด้วย ถ้ามีหลายรายการ คลิกขวาบางรายการ > End task
  2. คลิก Yes ในข้อความเตือน: "WARNING: Terminating a process can cause undesired results including loss of data and system instability..." หรือกล่องโต้ตอบอื่นๆ ขึ้นอยู่กับ Windows version
  3. รีสตาร์ท ตรวจสอบว่าสามารถดำเนินต่อได้โดยไม่เจอ error เดิมหรือไม่

วิธีที่ 3: เริ่ม Application Information Service และ Kill กระบวนการเฉพาะ

วิธีนี้ใช้ได้ดีบน Windows Server แต่ก็อาจสำเร็จบน Windows ปกติ ถ้าจำเป็น ต้อง kill กระบวนการเฉพาะเพื่อให้สำเร็จสมบูรณ์

  1. Win+R > "services.msc" > OK

แก้ไข: The service cannot accept control messages at this time

  1. ย่อหน้าต่าง Services (ป้องกันคอมพิวเตอร์รัน service ที่ kill ไปเอง) แล้วเปิด Task Manager
  2. Ctrl+Shift+Esc > Task Manager

แก้ไข: The service cannot accept control messages at this time

  1. หา "svchost.exe (netsvcs)" ใน Processes list (Windows เก่า) หรือ "Service Host: Background Intelligent Transfer Service" ใต้ Windows processes
  2. คลิกขวา > End task
  3. คลิก Yes ในข้อความเตือน
  4. ขยายหน้าต่าง Services กลับมา หา Application Information Service > คลิกขวา Properties น่าจะเป็น Stopped ตั้ง Startup type เป็น Automatic > Start > ยืนยัน ออก ตรวจสอบว่าปัญหายังคงอยู่หรือไม่

วิธีที่ 4: เปลี่ยนรหัสผ่านใน Edge

เพราะ Credentials Manager service เกี่ยวข้องกับการจัดการรหัสผ่านใน Edge การเปลี่ยนรหัสผ่านอาจช่วยแก้ error ถ้ามันเกี่ยวข้องกับ Credential Manager วิธีนี้ดูแปลกแต่แก้ได้

  1. เปิด Edge บน Windows 10 (ค้นหาใน Start หรือไอคอน Quick Access)
  2. คลิกสามจุด (มุมขวาบน) > Settings > เลื่อนลง Advanced Settings > View advanced settings > เลื่อนลง Privacy and services

แก้ไข: The service cannot accept control messages at this time

  1. คลิก "Manage my saved passwords" จะเห็นเว็บไซต์ที่บันทึกรหัสผ่าน คลิกรายการหนึ่ง จะแสดง URL, username, จุดแทนรหัสผ่าน เลือกหนึ่งรายการ ลองเปลี่ยนรหัสผ่าน
  2. คลิก Save รีสตาร์ทคอมพิวเตอร์เพื่อบันทึกการเปลี่ยนแปลง

วิธีที่ 5: ลอง System Restore

System Restore เป็นวิธีแก้ที่เป็นไปได้ คืนสถานะเครื่องก่อนเกิดข้อผิดพลาด ทำตามขั้นตอน

  1. เปิด System Restore tool: ค้นหา "System Restore" ใน Start > Create a restore point

แก้ไข: The service cannot accept control messages at this time

  1. หน้าต่าง System Properties ขึ้น ตรวจสอบ Protection Settings ให้เปิดบน system drive
  2. ถ้าปิด เลือกไดรฟ์ > Configure > เปิด protection กำหนดพื้นที่พอสมควร (อย่างน้อย 2-3 GB ถ้าอยากเก็บหลาย points) > Apply OK

แก้ไข: The service cannot accept control messages at this time

  1. ระบบจะสร้าง restore point อัตโนมัติเมื่อติดตั้งโปรแกรมหรือมีการเปลี่ยนแปลงสำคัญ

หลังเปิดใช้งานสำเร็จ คืนสถานะเครื่องก่อนเกิด error "The service cannot accept control messages at this time" สำรองเอกสาร/แอปสำคัญที่สร้าง/ติดตั้งใหม่ก่อน

  1. ค้นหา System Restore > Create a restore point > ใน System Properties คลิก System Restore

แก้ไข: The service cannot accept control messages at this time

  1. ใน System Restore เลือก Choose a different restore point > Next
  2. เลือก restore point ที่บันทึกไว้เอง หรือเลือกจากรายการ > Next ระบบจะคืนสถานะ