BarkersIT
asked on
Scheduled Tasks problem on server
On our server theres a schedule task which runs the backup at 23:59 every nite.
The domain\Administrator account and password has been set up for it to run under.
But!!!!!!!!!
It works once, then you have to reinput the password again for it to work again. I know that you should not have to do this, so any ideas why ?
This is the command line in the batch file we have created and the scheduled task is set up to run it at 23:59 every nite.....
C:\WINNT\system32\NTBACKUP .EXE backup "@C:\backup.bks" /v:yes /r:no /rs:no /hc:on /m normal /j "Job1" /l:s /p "4mm DDS" /UM
The domain\Administrator account and password has been set up for it to run under.
But!!!!!!!!!
It works once, then you have to reinput the password again for it to work again. I know that you should not have to do this, so any ideas why ?
This is the command line in the batch file we have created and the scheduled task is set up to run it at 23:59 every nite.....
C:\WINNT\system32\NTBACKUP
ASKER
We have been scheduling the backup program to run the backup via the scheduled task schedular for a while now, I have tried recreating them many times, using batch files, linking the task schedular directly to the backup program, tried recreating users and adding them in the username and password boxes, everything. Bloody everything. lol. Well apart from reinstalling the OS, which is unrealistic at the moment.
Its strange the same problem is happening on both servers in the same office (domain, as our network consists of 4 domains all joined).
Ive also tried to change the username and password for the scheduled task service but it wont start up on any other username and password apart from the default one.
Grrr.
Its strange the same problem is happening on both servers in the same office (domain, as our network consists of 4 domains all joined).
Ive also tried to change the username and password for the scheduled task service but it wont start up on any other username and password apart from the default one.
Grrr.
Do you have sql installed in one of those servers.. or any type os database server....Have you tried updating you OS to the lastest service packss
ASKER
Ones an exchange server and ones a file server mate, so no SQL datebases or any other databases. Both servers have the latest service packs also.
so lets get back to work....
let assume that you are running the schedule task with admin account
now have you tried running the task with the LOCAL ADMIN account? if not please try it... and post back
let assume that you are running the schedule task with admin account
now have you tried running the task with the LOCAL ADMIN account? if not please try it... and post back
ASKER
There is no local administrator account on the servers as they are both domain controllers.
ASKER
Any updates please ? Thanks.
i have exhausted al resources and this is all i could find.
For some reason the articles keep saying run it as local admin account.
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/573a07f4-3fca-4e95-8c94-b3842b840273.mspx
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/573a07f4-3fca-4e95-8c94-b3842b840273.mspx
For some reason the articles keep saying run it as local admin account.
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/573a07f4-3fca-4e95-8c94-b3842b840273.mspx
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/573a07f4-3fca-4e95-8c94-b3842b840273.mspx
ASKER
Id love to run it as a local admin account on our domain controllers lol. But the only way I could find out how to do it was specify log on locally in the domain poilcy. Which locked out all our users so had to set it back. Ill check the articles you have posted and see if they say any different.
ASKER
Having read that, yet again microsoft ONLY offer help for THEIR way of doing things. lol.
I cant find anywhere on the microsoft website offering advice for running scheduled tasks on domain controllers with domain or even local admin accounts. Im gonna take this problem to my grave I think. lol.
I cant find anywhere on the microsoft website offering advice for running scheduled tasks on domain controllers with domain or even local admin accounts. Im gonna take this problem to my grave I think. lol.
hmm it sounds like your policies are conflicting with the schedule tasks.
ASKER
Would you mind elaborating ? What policies would conflict with schedule tasks ? and why would they work for abit and then the password resets iself ? How ? Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I think youve got it. Woohoooooo!!! Thanks bro.
anytime
i did that before created a batch file and the next day i had to input the password again, finally i deleted the task an created a new from task scheduler and that fixed my issue...try that and post back..