Sunday, March 8, 2009

“0x80070005: Access is denied" when create new schedule task

“0x80070005: Access is denied" when you create a scheduled task on a XP



The new task has been created, but may not run because the account information could not be set. The specific error is: 0x80070005: Access is denied. Try using the Task page Browse button to locate the application

# เหตุเกิดเมื่อทำการสร้าง schedule task บน windows xp sp2 แล้วไม่ได้ใส่ user และ password

# ตอนแรกลองค้นหาข้อมูลใน google นึกว่าไลบราลีของ schedule task เรามีปัญหาเกือบแล้วมั้ยล่ะเนี๋ย

Solved

1. ถ้าสาเหตุเกิดจากไม่ได้ใส่ชื่อและรหัสผ่าน (ชื่อที่ใช้ login เข้าระบบ) ก็ใส่ซะ เพราะ เค้าบังคับให้ต้องใส่หว่า



2. แต่สาเหตุเป็นเรื่องบักของ xp ก็อ่านตามนี้เลย ไม่ไหวอ่านมะรู้เรื่อง เค้าเขียนไรหว่า

When I schedule a new task in Task Manager, I get an error saying that the new task has been created but may not run because the account information could not be set. It reports the error 0x80070005, "Access is denied." It says I should try the Browse button to locate the application. What can I do?

Arun Prasath

When you schedule a task, you must give it the account name and password under which it will run. That way the task can run even if a different user (or no user) is logged on. You must use an account for which a password is defined. If you try to use an account that has no password, or if you omit the password, you'll get the error described here.

So, first check to be sure that the account you're using has a defined password and that you've entered the password correctly. If the account and password seem okay, the problem may be with Windows itself: Microsoft acknowledges a problem in Windows XP SP2 that can produce precisely the same symptom. After more testing, the company will release a hotfix to solve the problem. You can also obtain a patch from Microsoft by linking from the Knowledge Base article at http://support.microsoft.com/kb/884573 .

Windows XP Home users will have to rely on the hotfix or patch, but those with XP Pro can correct the problem manually using the Group Policy Editor. Launch gpedit.msc from the Start menu's Run dialog. Navigate to Local Computer Policy | Computer Configuration | Windows Settings | Security Settings | Local Policies | User Rights Assignment. In the right-hand pane, double-click Access this computer from the network. Click the Add User or Group button, enter the name of the account you're using for the scheduled task, and click the Check Names button. Then click OK, OK again, and close the Group Policy Editor.

Note
  • งานนั้นจะไม่ทำงานเมื่อเปลี่ยนพาสเวิร์ดใหม่ระวังด้วยเรื่องเนี๋ย

References:

No comments:

Post a Comment