Stored passwords and scheduled tasks in Windows Server 2003

Posted on

Stored passwords and scheduled tasks in Windows Server 2003 – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about windows-server-2003, windows, scheduled-task, windows-server-2003-r2, .

In general, if you are PCAdmin and you have a stored password for network share DOMAINSERVERShare (done using the interface “Stored User Names and Passwords”), and you have a scheduled task that runs as you even when you are not logged in, will a script that uses, say, xcopy be able to copy over to that share drive using your credentials?

Solution :

It should work. When you schedule the Task, you can specify a user and password to use when the task runs, use the Domainuser and password. I prefer to create special accounts for this, as if you use a user’s acct (your own) and the password changes, the tasks will fail. SO I create a account just for scheduled tasks, set a really long password, limit the rights to the bare minimum, and exempt it from the password expiration that my domain users have.

I reckon so. Never tested it, but when the process impersonates you, it should be able to reference your stored credentials. It’s easy to test… why not try it.

Leave a Reply

Your email address will not be published.