
เมื่อ Task Scheduler รันงานไม่ได้ แสดงข้อความ "An error has occurred for task name. Error message: One or more of the specified arguments are not valid" แสดงว่า Task ขาดอาร์กิวเมนต์ที่จำเป็น Task Scheduler ใช้จัดตารางรันโปรแกรม/สคริปต์ ตามเวลาหรือเหตุการณ์

สร้าง Restore Point ก่อนเริ่ม
วิธีแก้ Task Scheduler Error One or more of the specified arguments are not valid
วิธีที่ 1: ตั้ง Permission ให้ Task ให้ถูกต้อง
- Win + X → Control Panel → System and Maintenance → Administrative Tools
- ดับเบิลคลิก Task Scheduler → คลิกขวา Task ที่ผิดพลาด → Properties
- แท็บ General → Change User or Group (Security Options)
- คลิก Advanced → Find now → เลือก SYSTEM → OK
- OK อีกครั้ง → ติ๊ก "Run whether user is logged on or not"
- OK → รีสตาร์ท

วิธีที่ 2: ให้สิทธิ์ Administrator แก่แอปพลิเคชัน
- หาไฟล์ .exe ของโปรแกรมที่ Task Scheduler รัน
- คลิกขวา → Properties → แท็บ Compatibility
- ติ๊ก "Run this program as an administrator"
- Apply → OK → รีสตาร์ท

วิธีที่ 3: รัน SFC และ DISM
- Win + X → Command Prompt (Admin)
- พิมพ์:
Sfc /scannow sfc /scannow /offbootdir=c:\ /offwindir=c:\windows (ถ้าข้างบนล้มเหลว)
- รัน DISM:
DISM.exe /Online /Cleanup-image /Scanhealth DISM.exe /Online /Cleanup-image /Restorehealth
- รีสตาร์ท

บทความแนะนำ:
- Fix WiFi icon is greyed out in Windows 10
- Fix You can't sign in to your PC right now error
- Your Device Is Offline. Please Sign In With The Last Password Used On This Device
- Fix Superfetch has stopped working
แก้ไขเสร็จสิ้น! ถามได้ในความคิดเห็น