Link to home
Start Free TrialLog in
Avatar of BarkersIT
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
Avatar of jimmymcp02
jimmymcp02
Flag of United States of America image

Here are my 2 cents

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..
Avatar of BarkersIT
BarkersIT

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.
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
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
There is no local administrator account on the servers as they are both domain controllers.
Any updates please ? Thanks.
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.
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.
hmm it sounds like your policies are conflicting with the schedule tasks.
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
Avatar of jimmymcp02
jimmymcp02
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think youve got it. Woohoooooo!!! Thanks bro.
anytime