Geeks in Phoenix

Geek Blog


How to manually change the default location of user files in Windows

Are you having problems changing the location of your user files? Did you uninstall OneDrive, and now your personal folders are all screwed up. Here is how to manually change the default location of user files in Windows.

How to manually change the default location of user files in Windows

Being able to change the location of user files has to be one of the coolest features of Windows when it works. But there may be a time when you encounter an error when trying to move a folder location. The most common error is 'Can't move the folder because there is a folder in the same location that can't be redirected. Access is denied'. This error relates to the folder redirection done when OneDrive is used and often appears when you uninstall OneDrive.

Note: The following procedures require editing the registry. Incorrectly editing the registry can cause system instability and even failure to boot. If you do not feel comfortable editing the registry, please get in touch with a local computer technician for assistance.

Yes, truth be told, the special user folders are merely just registry entries and can be easily changed. But it is highly recommended to back up the registry first. So I want to show you how to back up the registry, change the location of your user files, and restore the registry if necessary.

How to open the Registry Editor in Windows

  1. Bring up the Run dialog box by either:
    1. Pressing the Windows logo key Windows logo key + R
    2. Right-click on the Windows logo Windows logo key on the Start Menu or press the Windows logo key Windows logo key + X and then select Run
  2. In the Run dialog box that appears, type regedit and select OK. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

How to backup the registry

  1. With the Registry Editor open:
    1. Highlight Computer in the left-hand column to backup the complete registry.
    2. Highlight the key or value you want to backup.
  2. Left-click on the File pull-down menu and left-click on Export.
  3. Select the location and a descriptive file name for the backup file, then left-click on Save.

How to change the default user files location in the registry

  1. With the Registry Editor open:
  2. Navigate to the following key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    The user shell folders registry keys in Windows 11
  3. In the right-hand column, right-click on the Name of the key you want to change and select Modify... from the context menu.
  4. Enter either the default settings for that folder from the table below or the path to the actual folder (C:\Example\Docs). Make sure the actual folder exists before changing the folder key.
  5. Log off or restart your computer for the registry change to take effect.

Default user shell folder settings

Registry key name Folder Data (default value)
{374DE290-123F-4565-9164-39C4925E467B} Downloads %USERPROFILE%\Downloads
Desktop Desktop %USERPROFILE%\Desktop
Favorites Favorites %USERPROFILE%\Favorites
My Music Music %USERPROFILE%\Music
My Pictures Pictures %USERPROFILE%\Pictures
My Video Videos %USERPROFILE%\Videos
Personal Documents %USERPROFILE%\Documents

How to restore the registry

  1. With the Registry Editor open:
  2. Left-click on the File pull-down menu and left-click on Import.
  3. Navigate to the location of the REG file you want to import and left-click on it.
  4. Left-click on the Open button. You should get a confirmation screen telling you successfully imported the file.

Add comment

Free computer diagnostics

Repairing a PC can sometimes be expensive, and that is why we offer free basic in-shop diagnostics. Give one of our professional and experienced technicians a call at (602) 795-1111, and let's see what we can do for you.

Check out our reviews

Geeks In Phoenix LLC, BBB Business Review

Customer service is #1

Here at Geeks in Phoenix, we take pride in providing excellent customer service. We aim to give the highest quality of service  from computer repair, virus removal, and data recovery.

Bring your computer to us and save

Repairing a computer can be time-consuming. That is why we base our in-shop service on the time we work on your computer, not the time it takes for your computer to work! From running memory checking software to scanning for viruses, these are processes that can take some time.

Contact us

If you have any questions, please feel free to give us a call at (602) 795-1111  and talk with one of our Geeks. Or you can send us a message from our contact page , and one of our Geeks will get back to you as soon as possible. Or you can stop by and see us. Here are our hours and location.

Like Geeks in Phoenix on Facebook

Follow Geeks in Phoenix on Twitter

Watch Geeks in Phoenix on YouTube