![]() |
|
|
|||||||
| Petri.co.il is happy to award auglan the title of Most Valuable Member !!! |
| Register | Calendar |
Search |
Today's Posts |
Mark Forums Read |
| Notices |
|
|
Scheduled tasks; 0x80070005 Access is denied if I click "Apply", but fine if "Okay"this thread has 3 replies and has been viewed 49208 times
|
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||||||||||
|
|||||||||||
|
I just had something really weird happen to me with scheduled tasks on a Server 2003 machine. The short story: I completed the task that I set out to do by using a bizarre work-around. I'm not sure what the deal is, but maybe someone else can contribute or benefit from this scenario.
The environment: Windows Server 2003 SP2 machine. Relatively fresh installation (four months). Not too much running on it; AVG AntiMalware, Genie Backup Manager Server 8, and SQL Server 2005. This is in a workgroup, not a domain. The problem: While logged into an administrator account (We'll call this account "BKPACCT"), I created a scheduled task to run my backup software. Later, I noticed that the task was not running at the scheduled times. Then, From the "Administrator" account (not the BKPACCT user), I noticed that the "Run only if logged on" box in the task's properties was ticked. "Well duh," I muttered to myself. I unticked it and was asked to provide a username and password. I typed SERVER\BKPACCT and then put that account's password in. When I click Apply to exit the task's properties box, I am greeted with this error: Code:
An error occurred while attempting to set task account information. 0x80070005 Access is denied. You do not have permission to perform the requested operation. The solution Ignoring the maxim that says "The definition of insanity is doing the same thing over and over and expecting different results," I did the same thing over again. After a few tries I was surprised to notice that if I supplied the user account's password, and then clicked "okay" to get out of the password box, and then "okay" on the task's properties sheet I did NOT get the error message. :: triple take :: "Say what?!" I tried that again, this time on another scheduled task. I supplied the password, hit okay to return to the properties sheet and this time hit apply. Wham! I got the error message. I retraced my steps, but clicked okay instead of apply. Voila! It worked. Skeptical, I logged out BKPACCT and ran the scheduled task. It worked! It logged in as BKPACCT without a problem! How could clicking Apply cause a problem, but hitting Okay be fine? I didn't find this situation anywhere on the interweb yet. ![]() ![]() ![]()
__________________
Wesley David LinkedIn | Careers 2.0 ------------------------------- Microsoft Certifications: MCSE 2003 | MCSA:Messaging 2003 | MCITP:EA, SA, EST | MCTS: a'plenty | MCDST Vendor Neutral Certifications: CWNA Blog: www.TheNubbyAdmin.com || Twitter: @Nonapeptide || GTalk, Reader and Google+: Nonapeptide@gmail.com || Skype: Wesley.Nonapeptide Goofy kitten avatar photo from Troy Snow: flickr.com/photos/troysnow/ |
|
#2
|
||||||||
|
||||||||
|
Did this error occur logged in as the administrator and the BKPACCT? I know Windows backup data is stored in the users local profile, and your backup software might be similar. In which case, it is most likely a permissions issue. For instance, having permissions to Delete but not modify a file could cause an issue like that, and clicking Apply might modify the file but click OK might overwrite it (delete).
|
|
#3
|
|||||||||||
|
|||||||||||
|
Thanks for the reply.
Yes, this error occurred in both the Administrator and BKPACCT accounts when I tried to change the properties of the scheduled task. I did encounter an issue with the backup software creating some preferences in the local user profile in the past. I created a scheduled task within the backup software (Genie Backup Manager Server That's a good idea that 'Apply' might modify while 'OK' might overwrite.
__________________
Wesley David LinkedIn | Careers 2.0 ------------------------------- Microsoft Certifications: MCSE 2003 | MCSA:Messaging 2003 | MCITP:EA, SA, EST | MCTS: a'plenty | MCDST Vendor Neutral Certifications: CWNA Blog: www.TheNubbyAdmin.com || Twitter: @Nonapeptide || GTalk, Reader and Google+: Nonapeptide@gmail.com || Skype: Wesley.Nonapeptide Goofy kitten avatar photo from Troy Snow: flickr.com/photos/troysnow/ |
|
#4
|
||||||||
|
||||||||
|
I too have had this problem on an XP Pro while setting Tasks.
Originally I was using Vice Versa Pro for scheduling backups and thought maybe this was the issue. Then I tried scheduling a bat file backup and that too had the same error message. Could not figure out why I could get some scheduled tasks to work OK while others got the Access denied message. When I tried "OK" instead of "Apply" all the problems solved - many thanks for such an astute observation. Next step is to try to find out what is the difference between OK and Apply, and why both buttons are on the same screen, Good work and thanks again |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "access is denied" when creating child domain | eyalos | Active Directory | 9 | 18th September 2007 18:06 |
| "Access" denied while adding Win2k3 machine to domain | sco1984 | Active Directory | 2 | 16th March 2007 11:45 |
| "access denied" when printing to local USB printer | atain | Terminal Services | 1 | 8th March 2007 19:02 |
| "Junk E-mail" folder under "Tasks" | sorinso | Outlook XP/2003/2007 | 0 | 15th December 2006 11:00 |
| How to solve "Access is Denied" message in install | pcwin | Windows 2000 Pro, XP Pro | 0 | 16th August 2004 19:57 |