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

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
add comment

1 Answer

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
add comment

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.