How to get View in File Explorer in SharePoint
View in File Explorer, the command that used to be called Open with Explorer, is hidden by default in modern SharePoint libraries. To get it in Microsoft Edge, an administrator sets two things: the Edge policy ConfigureViewInFileExplorer on the computers, and Set-SPOTenant -ViewInFileExplorerEnabled $True on the tenant. The command then appears in the library's view menu.
Microsoft documents the feature and steers people away from it in the same article: "In June 2022, we stopped supporting Internet Explorer 11 (IE 11) at Microsoft 365 apps and services. As a result, we no longer recommend View in File Explorer and encourage using the OneDrive sync client." If you only need SharePoint files in File Explorer, the Sync button in the library does that with no policy at all. Use this page when you specifically need the old Explorer view back.
| Part | Where it is set | What happens without it |
|---|---|---|
| Edge policy ConfigureViewInFileExplorer | Each computer, by Group Policy or Intune | Selecting the command gives a blank screen |
| Tenant setting ViewInFileExplorerEnabled | SharePoint Online Management Shell | The command does not appear in the library |
| Persistent sign-in | The user, at sign-in | The Explorer window cannot authenticate |
Requirements
- Microsoft Edge build 93 or later. Microsoft: "Starting in Microsoft Edge Stable version 93, you can enable the View in File Explorer capability on SharePoint for modern document libraries." The policy is supported on Windows only.
- A managed Windows computer. The policy "is available only on Windows instances that are joined to a Microsoft Active Directory domain, or Windows 10 Pro or Enterprise instances enrolled for device management."
- A persistent sign-in. "View in File Explorer requires persistent cookies to operate correctly; when you sign in, select Yes when the Stay signed in? prompt appears."
- SharePoint Online Management Shell version 16.0.21610.12000 or higher, for the tenant setting.
The command does not work in Google Chrome or Mozilla Firefox, or on a Mac.
Step 1: Set the Edge policy
The policy allows links with the viewinfileexplorer: scheme to open WebDAV addresses in Windows File Explorer, for the SharePoint domains you list, using the cookies you name.
| Setting | Value |
|---|---|
| Group Policy name | Configure the View in File Explorer feature for SharePoint pages in Microsoft Edge |
| Group Policy path | Administrative Templates/Microsoft Edge |
| ADMX file | MSEdge.admx |
| Registry path | SOFTWARE\Policies\Microsoft\Edge |
| Registry value name | ConfigureViewInFileExplorer (REG_SZ) |
The value is a short piece of JSON naming your SharePoint domain and the two authentication cookies:
[{"cookies": ["rtFa", "FedAuth"], "domain": "contoso.sharepoint.com"}]
Replace contoso with your tenant name. Microsoft's guidance is to "update the domain to your tenant domain or use sharepoint.com if you plan on visiting multiple SharePoint tenants."
With Group Policy:
- Download the Microsoft Edge administrative template that matches your operating system version. Without it the policy is not listed.
- Right-click Administrative Templates in the Computer Configuration or User Configuration node, select Add/Remove Templates and browse to the downloaded template.
- Enable the policy and enter the value.
- Refresh the client's policy. From a Command Prompt, enter
GPUpdate.exe /force.
With Intune, configure it as a Microsoft Edge policy setting in the same way as other Edge policies.
To check that the computer has the policy, open Microsoft Edge and go to edge://policy. You may need to close and reopen Edge before it is listed.
Step 2: Turn on the tenant setting
A tenant administrator shows the menu option from the SharePoint Online Management Shell:
Connect-SPOService -Url https://contoso-admin.sharepoint.com
Set-SPOTenant -ViewInFileExplorerEnabled $True
Connect-SPOService covers the sign-in. Microsoft says "it may take up to 15 minutes" for the command to appear in SharePoint.
Step 3: Use the command
- Sign in to SharePoint in Microsoft Edge and select Yes at the Stay signed in? prompt.
- Open the document library.
- Select the library view menu on the right-hand side.
- Select View in File Explorer.
The library opens in a Windows File Explorer window.
Fix View in File Explorer problems
The command is missing, or selecting it does nothing
| What you see | Cause | Fix |
|---|---|---|
| No View in File Explorer in the view menu | The tenant setting is off. Microsoft: "If you don't enable ViewInFileExplorerEnabled via Set-SPOTenant, the View in File Explorer button won't appear" | Run the command in Step 2 and wait up to 15 minutes |
| No command, in Chrome, Firefox or on a Mac | The command works only in Microsoft Edge on Windows | Use Edge on Windows, or use Sync |
| A blank screen after selecting the command | The tenant setting is on and the Edge policy is missing | Set the policy in Step 1, then check edge://policy |
"This policy is blocked - its value will be ignored" in edge://policy | The policy was applied to a computer that is not domain joined | Use a domain-joined or managed computer |
| "The requested operation is part of an experimental feature that is not supported in the current environment" | The functionality is not supported in your environment | Use Sync |
The error messages
Microsoft's troubleshooting article lists four messages:
- "Your client does not support opening this list with Windows Explorer."
- "We're having a problem opening this location in File Explorer. Add this web site to your Trusted Sites list and try again."
- "We're having a problem opening this location in File Explorer. To open with File Explorer, you'll need to add this site to your Trusted Sites list and select the "Keep me signed in" check box when you sign in to the SharePoint Online site."
- "We're having trouble opening this library in File Explorer. Syncing this library will give you a better experience."
They share three fixes. Work through them in order.
1. Sign in so the session persists. Sign out of Microsoft 365, close all browser windows, then sign in again and choose to stay signed in. Without a persistent cookie the Explorer window has no session to use.
An administrator can make this automatic with the UsePersistentCookiesForExplorerView parameter of Set-SPOTenant, which "lets SharePoint issue a special cookie" that works even when the user did not choose to stay signed in. Microsoft marks it as important that "this method should be used only on a private computer."
2. Add the SharePoint addresses to Trusted sites. In Windows, open Internet options, select the Security tab, select Trusted sites, then Sites, and add each address. Microsoft is specific that you need two addresses for each location:
| For | Add both of these |
|---|---|
| A SharePoint site | https://contoso.sharepoint.com and https://contoso-files.sharepoint.com |
| A OneDrive library | https://contoso-my.sharepoint.com and https://contoso-myfiles.sharepoint.com |
3. Check the WebClient service. View in File Explorer uses WebDAV, which depends on the Windows WebClient service.
- Make sure the latest Windows updates are applied.
- Select Start, enter
services.msc, and press Enter. - Find WebClient and check that its status is running.
- If it is not, double-click it and select Start. If the Startup type is Disabled, change it to Manual or Automatic first, select Apply, then Start.
On Windows Server, if the WebClient service is not present, install the Desktop Experience first.
Why Microsoft recommends Sync
Microsoft's troubleshooting article says: "The Open with Explorer command is slower and less reliable than syncing SharePoint files with the new OneDrive sync client." Sync also gives you Files On-Demand, which "allows you to access all your files in SharePoint without using up local storage space."
| View in File Explorer | Sync | |
|---|---|---|
| Setup | An Edge policy on every computer and a tenant setting | The Sync button in the library |
| Browser | Microsoft Edge on Windows | Not tied to a browser |
| Local disk space | A live WebDAV connection to the library | Files On-Demand shows every file without using up local storage space |
| Microsoft's position | No longer recommended | Recommended |
Mapping a network drive to a library uses the same WebDAV technology, and Microsoft describes it in the same words: "slower and less reliable than syncing". For getting copies of files out of a library, see how to download files and folders from SharePoint.
Frequently asked questions
Where is View in File Explorer in SharePoint?
In a modern document library, open the view menu on the right-hand side of the command bar and select View in File Explorer. It is there only in Microsoft Edge on Windows, and only after an administrator has enabled the Edge policy and the tenant setting.
Why is View in File Explorer missing in SharePoint?
It is hidden by default. Microsoft states that "the View in File Explorer menu option won't be visible" until a tenant administrator runs Set-SPOTenant -ViewInFileExplorerEnabled $True. It is also unavailable in Chrome, Firefox and on a Mac.
Does View in File Explorer work in Microsoft Edge?
Yes, from Edge version 93, on Windows computers that are domain joined or enrolled for device management, once the ConfigureViewInFileExplorer policy is set.
Is Open with Explorer the same as View in File Explorer?
Yes. Open with Explorer is the older name for the same command, from the classic library ribbon and Internet Explorer. Microsoft's troubleshooting article uses both names.
Why do I get "Add this web site to your Trusted Sites list and try again"?
The SharePoint address is not in the Windows Trusted sites zone. Add both https://<tenant>.sharepoint.com and https://<tenant>-files.sharepoint.com, sign in again and stay signed in.
Is View in File Explorer still supported?
It still works in Microsoft Edge, but Microsoft says it no longer recommends it and encourages using the OneDrive sync client instead.
What does the WebClient service have to do with SharePoint?
View in File Explorer and mapped network drives connect to SharePoint over WebDAV, and Windows handles WebDAV through the WebClient service. If the service is stopped or disabled, the Explorer window cannot open.
Related reading
- How to download files and folders from SharePoint - the Download command, zip files and limits.
- OneDrive sync issues with SharePoint libraries - when the recommended alternative misbehaves.
- SharePoint Online login: how to sign in and fix sign-in problems - staying signed in and idle sign-out.
- Connect-SPOService: connect to SharePoint Online with PowerShell - connecting before you run Set-SPOTenant.
- SharePoint 'locked for shared use': check out, check in and fixes - file locks when editing from Explorer or the desktop apps.
- SharePoint document libraries - structure and management.
- SharePoint admin center - the URL, who can sign in and what each section does.
Mark Smith co-founded SmiKar Software in 2015 and has spent the past decade helping organisations solve Microsoft 365 data management challenges. He works with the SmiKar team to build solutions for SharePoint archiving, storage optimisation, governance and compliance, supporting customers from growing businesses through to Fortune 500 enterprises.
More about SmiKar


