Solved

Scheduled tasks loose login information after dcpromo

Posted on 2008-06-13
5
744 Views
Last Modified: 2012-06-21
Can't find any information, so I don't know what's going on, but every time I use dcpromo to promote or demote a server, either 2000 or 2003, all the scheduled tasks become disabled. I can open them (after receiving an error that states it can't find the account information) but the 'run as' field is greyed and the 'set password' button is disabled.

The only way I can re-enable the task is to delete it and re enter it. Then it works fine. I have a server that I plan on promoting to a DC soon that has over 20 important tasks, and the thought of having to re-enter those is daunting.

Can anybody give me more information on this or tell me a way to prevent it?
0
Comment
Question by:twinstead
  • 3
5 Comments
 
LVL 14

Accepted Solution

by:
plug1 earned 250 total points
ID: 21778492
The reason is because the tasks were created with local security applied, as soon as you run dcpromo  all of this security is stripped hence why they no longer work.

You can copy these tasks to a network location, demote and copy them back, that should work although I havent tried it.
0
 
LVL 70

Assisted Solution

by:KCTS
KCTS earned 250 total points
ID: 21778494
You can't prevent it. When you promote a machine to a DC then all the local accounts are effectivly removed - a DC has no local users, the task is therefore void and cannot run with an account that no longer exists.
0
 
LVL 14

Expert Comment

by:plug1
ID: 21778506
Beat you by a minute KC lol..
0
 

Author Comment

by:twinstead
ID: 21778787
Even if the tasks were originally entered using the domain admins account?
0
 
LVL 14

Expert Comment

by:plug1
ID: 21778794
yes mate..
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Synchronize a new Active Directory domain with an existing Office 365 tenant
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now