Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In general, if you are PC\Admin and you have a stored password for network share DOMAINSERVER\Share (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?

share|improve this question
up vote 2 down vote accepted

It should work. When you schedule the Task, you can specify a user and password to use when the task runs, use the Domain\user 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.

share|improve this answer

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.