Re: Access is denied
Let's try a different approach. Try this:
1. Create the batch file c:\Test.txt with the following lines:
@echo off
echo %date% %time% %UserName% >> c:\test.txt
2. Open a Command Prompt.
3. Type the following command:
schtasks /create /u administrator /p AdminPassword /sc once /tn MyTask
/tr c:\Test.bat /st hh:mm:00 /sd mm/dd/yyyy
You must replace AdminPassword with the domain administrator's password.
You must replace hh:mm:00 with a suitable time, e.g. 15:29:00.
You must also replace mm/dd/yyyy with today's date. Depending on
your time zone, the date format could be different from the one above.
Type this command to see the correct format: schtasks /create /?
If the command does not work after you have adjusted it to
your environment, report the exact message(s) you see, and post
the command you have used.
4. Wait until you're past the scheduled time.
5. Examine and post the contents of c:\test.txt.
"Diane Walker" <dianewalker@yahoo.com> wrote in message
news:%23%23SHC7HOJHA.4128@TK2MSFTNGP05.phx.gbl...
> Yes. Do you have any other suggestions? Thanks.
>
> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
> news:um76gWzNJHA.3320@TK2MSFTNGP04.phx.gbl...
>> OK. Does the account you use for the scheduled task have a non-blank
>> password?
>>
>> "Diane Walker" <dianewalker@yahoo.com> wrote in message
>> news:OFJoOLiNJHA.1960@TK2MSFTNGP04.phx.gbl...
>>>I already tried Google and no luck. Thanks.
>>>
>>> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
>>> news:uvW3pjhNJHA.4372@TK2MSFTNGP04.phx.gbl...
>>>>
>>>> "Diane Walker" <dianewalker@yahoo.com> wrote in message
>>>> news:%23gufOHhNJHA.1908@TK2MSFTNGP04.phx.gbl...
>>>>>I am trying to setup a backup job on Windows 2003 server. I logon
>>>>>locally as Administrator. I got this error message "An error has
>>>>>occurred while attempting to set task account information. The
>>>>>specific error is: 0x80070005: Access is denied. You do not have
>>>>>permission to perform the requested operation". Do you have any
>>>>>suggestions? Thanks.
>>>>
>>>> Google is your friend. I typed the following text into a Google search
>>>> box and got more than 300 hits. Some suggest that this may be a
>>>> password issue.
>>>>
>>>> "You do not have permission to perform the requested operation" backup
>>>>
>>>
>>>
>>
>>
>
>