Overview
Mapping a SharePoint document library to a drive letter lets you open, edit, and save files in File Explorer without a browser. It is handy for drag-and-drop uploads and for apps that expect a normal file path. This guide covers preparing Windows for the mapping and the steps to connect the library reliably.
Key Takeaways
- You need the SharePoint library's URL and permission to access it.
- Add your SharePoint site to Trusted Sites so credentials pass through.
- The WebClient service must be running for WebDAV mapping to work.
- Syncing with the OneDrive client is the modern, more reliable alternative.
Prepare Windows First
1. Press Windows + R, type inetcpl.cpl, and press Enter.
2. On the Security tab, select Trusted sites, click Sites, and add your https://yourcompany.sharepoint.com URL.
3. Open Services (services.msc), find WebClient, set its startup to Automatic, and start it.
4. Sign in to the SharePoint site once in your browser so your session is authenticated.
Get the Library Path
1. Open the SharePoint document library in your browser.
2. Copy the URL from the address bar, for example https://company.sharepoint.com/sites/Team/Shared Documents.
3. Convert it to a UNC-style path by replacing https:// with \\ and the slashes with backslashes, and use @SSL for HTTPS, e.g. \\company.sharepoint.com@SSL\sites\Team\Shared Documents.
Entering the SharePoint path in the Map Network Drive dialog.
Map the Drive
1. Open File Explorer, right-click This PC, and choose Map network drive.
2. Pick a drive letter and paste the converted SharePoint path into the Folder box.
3. Check Reconnect at sign-in and Connect using different credentials if needed.
4. Click Finish and enter your Microsoft 365 credentials when prompted.
<w:bottom w:val="single" w:color="E2F0D9" w:sz="4"/><w:left w:val="single" w:color="2E7D32" w:sz="24" w:space="10"/><w:right w:val="single" w:color="E2F0D9" w:sz="4"/></w:pBdr><w:shd w:fill="E2F0D9" w:color="auto" w:val="clear"/><w:spacing w:before="120" w:after="120"/></w:pPr><w:r><w:rPr><w:b/><w:bCs/><w:color w:val="2E7D32"/><w:sz w:val="22"/><w:szCs w:val="22"/><w:rFonts w:ascii="Calibri" w:cs="Calibri" w:eastAsia="Calibri" w:hAnsi="Calibri"/></w:rPr><w:t xml:space="preserve">Tip: For everyday use, the OneDrive sync client (Add shortcut to OneDrive, or Sync from the library) is more dependable than WebDAV mapping and works offline.
Troubleshooting
Problem: The mapped drive fails with a network path error.
Solution: Confirm the WebClient service is running and set to Automatic, then retry the mapping.
Problem: You are repeatedly prompted for credentials.
Solution: Add the SharePoint site to Trusted Sites and sign in through the browser first so the session is cached.
Problem: The drive disconnects frequently.
Solution: WebDAV connections can be unstable; switch to syncing the library with the OneDrive client for a persistent local copy.
Problem: Access denied when opening files.
Solution: Verify your account has at least edit permission on the library and that multi-factor sign-in has completed.
Conclusion
Mapping SharePoint to a drive letter brings cloud documents into the familiar File Explorer workflow. Prepare Windows by trusting the site and enabling WebClient, convert the URL correctly, and if WebDAV proves flaky, lean on the OneDrive sync client for a smoother experience.
About TechHub
This guide is part of the TechHub Knowledge Base. For more step-by-step IT guides and support, visit techhub.com.lk.















