How to Fix OneDrive Network Drive Mapping and Automatic Sign-In Errors
Question details
The user needs to map a OneDrive account as a network drive but encounters errors requiring the site to be trusted and automatic sign-in to be enabled.

- Product
- OneDrive
- Device & OS
- Windows 11
- Scenario
- Mapping a OneDrive web directory as a local network drive in Windows File Explorer.
- Observed behavior
- Windows 11 displays an error message stating that the OneDrive site must be added to trusted sites and that automatic sign-in must be enabled to proceed with the network mapping.
Ensure you have your Microsoft account credentials ready and that you are logged into Windows 11 with an administrator account to modify system internet security settings.
Configure Internet Options for Trusted Sites and Authentication
Adjust your Windows Internet Options to trust the OneDrive WebDAV URL and allow automatic logon, which satisfies the prerequisites for network drive mapping.
Windows requires WebDAV connections (like mapping a OneDrive drive) to pass authentication securely. Adding the specific Microsoft document server to your Trusted Sites and tweaking the logon policy will resolve the mapping blocks.
Press the Windows key, type 'Internet Options' into the search bar, and press Enter to open the Internet Properties dialog box.
Navigate to the 'Security' tab. Click on 'Trusted sites' (the green checkmark icon), then click the 'Sites' button. Type 'https://d.docs.live.net' into the 'Add this website to the zone' field, click 'Add', and then click 'Close'.
While still on the 'Security' tab with 'Trusted sites' selected, click 'Custom level'. Scroll down to the bottom of the list to find the 'User Authentication' section. Select 'Automatic logon with current user name and password', then click 'OK' to apply the changes.

Manage Your Documents Seamlessly with WPS Office
If you are struggling with complex network drive mappings and Microsoft Office syncing issues, consider switching to WPS Office. It provides a lightweight, easy-to-use alternative with built-in cloud support, completely removing the hassle of manual network mapping.
- 1. Download and Install: Download WPS Office Free from the official website and follow the simple installation wizard.
- 2. Sign In for Cloud Access: Launch WPS Office and sign in to activate the built-in WPS Cloud for immediate file syncing.
- 3. Edit Your Documents: Open any existing Microsoft Office document directly from your local drive or cloud, and edit with seamless compatibility.

Frequently Asked Questions
Why does Windows require OneDrive to be a trusted site for network mapping?
Mapping a WebDAV network drive requires secure authentication. Windows needs the server domain added to Trusted Sites to safely pass your user credentials and permit automatic background sign-in without continuous prompts.
Can I map OneDrive for Business as a network drive in Windows 11?
Yes, but the process uses a different URL (typically your company's SharePoint URL). It also heavily depends on your organization's security policies and whether they allow legacy authentication or require multi-factor authentication (MFA).
What should I do if my organization blocks automatic sign-in?
If your IT department restricts automatic sign-in via Group Policy for security reasons, you will not be able to map it as a network drive. You should use the native Windows OneDrive sync client instead, which securely supports modern authentication and MFA.




