Map a Secure SharePoint 2010/IIS Network Drive over SSL and WebDAV in Windows 7

Once, after viewing a SharePoint 2010 document library in Windows Explorer, I ran a net use and saw that Windows 7 had stored the credentials of my SSL-secured SharePoint intranet server. It took a bit of fiddling, but I eventually found you can, in fact, map a secure network drive using the command line:

net use W: \\[email protected]\DavWWWRoot\SiteCollectionName\SiteName /user:domain\username *

If your Site Collection is at the root of the server, you can just use \\[email protected]\DavWWWRoot. If you’re not a fan of the command line, using the Windows GUI is also an option, as demonstrated here. Each of these methods requires a trusted certificate. I’m betting you can use self-signed cert if you just trust yourself as a root.

Chrissy is a PowerShell MVP who has worked in IT for nearly 20 years, and currently serves as a Sr. Database Engineer in Belgium. Always an avid scripter, she attended the Monad session at Microsoft’s Professional Developers Conference in Los Angeles back in 2005 and has worked and played with PowerShell ever since. Chrissy is currently pursuing an MS in Systems Engineering at Regis University and helps maintain RealCajunRecipes.com in her spare time. She holds a number of certifications, including those relating to SQL Server, SuSE Linux, SharePoint and network security. She recently became co-lead of the SQL PASS PowerShell Virtual Chapter. You can follow her on Twitter at @cl.

Posted in IIS, Security, SharePoint
2 comments on “Map a Secure SharePoint 2010/IIS Network Drive over SSL and WebDAV in Windows 7
  1. Tanveer says:

    I use 'net use' at work so very often, never knew it could do such stuff too..:) nice!

  2. Dane says:

    Thanks for this command prompt line. I will test this out with my existing firewall so I can see if this allows document scanning software interface on real time via sharepoint active use.

Leave a Reply

Your email address will not be published. Required fields are marked *

*