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 ??

link|improve this question
feedback

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

link|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
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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