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

We have a Windows 2008R2 server which can be connected via Remote Desktop. We have some applications running (Scheduled / build etc) in the server

One of our application needs to copy / access files on a share which has different user credentials.

I was thinking of mapping this drive as a network drive with different credentials so that the applications can access it

My question will the mapped drive be available even after the I log out from the server?

share|improve this question
up vote 1 down vote accepted

Try the following:

net use /p:yes
net use Z: \\server\sharename

You should also safe your credentials in the credentials manager.

share|improve this answer
Thanks. Seems to solve my issue :-) – Karthik Krishnan Jan 25 '12 at 11:02

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.