File Explorer is an essential Windows app for folder navigation and file management. By default, Explorer is set to open in Quick Access, where you can access common folders. You can only select one alternative This PC option on the Open File Explorer drop down menu.
Some users would probably prefer to select a custom folder to open File Explorer’s taskbar button. There are two good ways you can set Explorer taskbar shortcut to open with a different default folder. Here’s how you can change File Explorer’s default folder in Windows 11.
How to change File Explorer’s default folder with a new taskbar shortcut
This method creates a new Explorer shortcut with a different default folder and adds it to the taskbar. It doesn’t change in any way the original File Explorer button, which you can remove from the taskbar afterwards. You can create a new taskbar shortcut for Explorer and set the default folder as follows.
First, note the full path of the folder you want to open in Explorer.
Right-click any part of the desktop background area to select it New.
Then select the abbreviations Submenu option to open a wizard.
%SYSTEMROOT%\explorer.exe /e,C:\full folder path
Select the shortcut creation wizard Next Possibility.
Entry browse filer as the title of the new shortcut.
Click on the wizard Finished Button to add a File Explorer shortcut to the desktop.
Right-click the new File Explorer desktop shortcut to select it View more properties. Choose Pin it to the taskbar Option in the classic Windows 11 right-click menu.
To remove the Explorer desktop shortcut you added, right-click the icon and select Trash(Extinguish) button.
You need to change the item location given above to include an actual directory path that you want Explorer to open. Remove full folder path from that location and replace it with a real directory. For example, to set Explorer to open Program Files (x86), you would enter the following item location:
Clicking the new File Explorer taskbar shortcut will open that app in the destination folder specified in the item location field. You can keep or remove the original Quick Access Explorer taskbar button. If you’d rather keep it, give the new shortcut a different title or icon so you don’t confuse them.
You can remove the original File Explorer button by right-clicking on it and selecting Detach from the taskbar. However, consider copying this shortcut first, just in case you want to restore it later. You can copy the original shortcut to this directory:
Select the old File Explorer shortcut file in that directory and press ctrl + C. Open another folder you want to copy it to and press the ctrl + v hotkey. Then you can move the backup copy of the shortcut back to the TaskBar folder to restore it.
How to change File Explorer’s default folder by editing the registry
In this method, you change the default folder for the original File Explorer button already on the taskbar. It is a more complicated method that involves setting up VBS and registry script files. First, set up a VBS script that specifies a folder that Explorer can open like this:
Press window + button Sand enter the keyword notepad into the search field that the hotkey opens.
Right click on Notepad search result so you can select a Execute as administrator option for this app.
Press the ctrl + v Keyboard keys simultaneously to paste the copied script.
Extinguish my folder in this script and replace it with a real folder path that explorer can open.
Choose file menu and click the Save as Possibility.
Select the All files option on the Save as Menu.
Entry launch.vbs within the filename Crate.
Select this option to save the VBS script in your user folder.
Then click Save on computerand exit the Notepad app.
Next you need to set up a registration script. This script will add new {52205fd8-5dfb-447d-801a-d0b52f2e83e1}\shell\opennewwindow\command Key to Registration. Applying the script will set Explorer to open in the folder specified in your VBS file. Here is how you can set up this registration script:
Open Notepad with administrator rights as described in steps one and two above.
Copy the contents of this registration script to the clipboard with the file ctrl + C Key combination:
Substitute user folder in this script with the title of your actual user folder where you saved the VBS script.
Press the ctrl + change + S Keyboard shortcut to invoke a Save as Window.
Choose All files for the guy.
Enter a file tile for the registration script that contains .reg At the end. For example, you could type File Explorer Script.reg be the name.
Select Desktop as the location for this script.
click Save on computer to add the registration script to the desktop.
Close the editor window.
Double-click the registration script on the desktop and click Yes apply.
Now click on the File Explorer taskbar button to see where it opens. It will open in the folder specified in your VBS script instead of quick access. Explorer also opens the same default folder when you press it window + button E hotkey.
You can restore Explorer’s original default folder for Quick Access by changing the {52205fd8-5dfb-447d-801a-d0b52f2e83e1} Key added to the script. Access Registry Editor using a method in our guide to opening Regedit. Then enter this key location in the Registry Editor address bar:
Right click on the {52205fd8-5dfb-447d-801a-d0b52f2e83e1} In the left navigation bar, type and select Extinguish. A dialog box appears asking you to confirm deleting this key and its subkeys. Choose Yes Clear.
Set File Explorer to open to the folder of your choice
So now you can set a File Explorer taskbar shortcut to open at any folder using both of the above methods. The first method is faster and less complicated, but does not change the default save location Win + E Hotkey opens Explorer under. If you use this key combination frequently, use the second method to change the default Explorer hotkey folder.