Geeks With Blogs
Enterprise Architecture by Ahsan Alam

Microsoft has added new security features surrounding mapped drive usage in Windows 2008. Previously, with Windows 2003, we could utilize mapped drive not only from Windows explorer but also from the command line. Now, we can continue to map a network drive from Windows explorer; however, command line applications and batch scripts no longer have access to the mapped drive. No worries... there is a workaround. In order to utilize mapped drive from command line, we must take the following steps:

  1. Map network drive (net use b: \\computername\drivename)
  2. Execute scripts or application
  3. Disconnect mapped drive (net use b: /delete)

It must be noted that the above mentioned steps may need to get split into individual files for the entire process to be successful.

Posted on Thursday, July 7, 2011 6:26 AM .NET , General | Back to top


Comments on this post: Mapped Drive in Windows 2008

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Ahsan Alam | Powered by: GeeksWithBlogs.net