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.

I would like to know how do i map a network drive with user Credentials and is it possible to map network drive with local system account ??

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Local System uses the machine account in an Active Directory domain so provided the DOMAIN\COMPUTER$ account is granted access to the share it will be able to mount and access the share

See http://technet.microsoft.com/en-us/library/cc170953.aspx for further details

share|improve this answer
    
Thanks Matty .. –  AMIT Dec 20 '10 at 8:20
    
but how do i find this acount name ??means from commandline?? –  AMIT Dec 20 '10 at 8:22
add comment

You could create a bat file that uses the runas command:

C:\WINDOWS\system32\runas.exe /user:domainorsystemname\username "mapdrive.cmd"

Within the mapdrive.cmd you can use the standard net use drive: \\networkpath\

This will prompt you for a password, then run the mapdrive command

share|improve this answer
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.