Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.