Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

How do I change the location of the My Documents folder?

I have partitioned my hard drive putting the OS and programs on C: and files on separate partitions. How do I get XP’s “My Documents” to refer directly to a location on the other partition?

Turns out there are a couple of ways to do this, and both are fairly simple.

Become a Patron of Ask Leo! and go ad-free!

The quickest and most complete way I know of is in Windows Explorer to right click and hold on C:\Documents and Settings\(your user name)\My Documents, and then drag it to the new location. When you release it’ll ask what you want to do.

For example, on my primary machine, my “My Documents” folder is located in C:\Documents and Settings\LeoN\My Documents. In Windows Explorer I navigate to locate that folder, right click on it and hold, and then drag it over to the root of my D: drive. This is what I see when I release the mouse:

Windows Explorer about to move My Documents folder

Selecting Move Here does several things:

  • It creates a new folder by the name of “My Documents” in the target location
  • It copies all of the files and folders from the old My Documents into the new
  • It removes the old, empty My Documents folder
  • It updates the system registry to use the new “My Documents” folder as the My Documents folder for your account.

Many people are very tempted to go in and simply edit the registry; I recommend against that.

Note that no matter how you move it, some applications may still refer to the old location. You’ll need to update each application as problems arise. In reality, moving My Documents is best done when first setting up a system.

Subscribe to Confident Computing! Tech problem solving & safety tips & a weekly confidence boost in your inbox every week.

I'll see you there!

10 Reasons Your Computer is Slow

Slow Computer?

Speed up with my special report: 10 Reasons Your Computer is Slow, now updated for Windows 10.

NOW: name your own price! You decide how much to pay -- and yes, that means you can get this report completely free if you so choose. Get your copy now!

13 comments on “How do I change the location of the My Documents folder?”

  1. Thanks for that, but is there a way to move the whole “Documents and Settings” to a second hard disk, rather than just the My Documents?

    Many thanks.

    Reply
  2. Your article is very useful. I used to di it by editing registry. I have two questions
    1) Why don’t you recommend changing in registry?
    will it make any problem? I have done it in many machines.
    2) Can I move entire profile (Documents and settings) to D: drive? How?

    Reply
  3. Another way, which doesn’t require TweakUI is to right click on the “real” my Documents folder (by Real I mean the start menu icon, or the desktop icon but NOT a shortcut to My Documents, and NOT the actual location on the disk) usually the easiest way to do this is rely on the one on the start menu as this will be the real folder (assuming you haven’t created extra shortcuts to My Documents on your start menu) and click the then you get the option right there to “move”.

    Simply type in or browse to your new location and click Apply/Ok and Windows will offer you to move all your existing documents to the new location, whilst at the same time updating the registry.

    Reply
  4. I have recently purchased a Toshiba lab top equiped with Windows Vista (use to Wndows XP). Where are the document I save, where is save as tab, what folder do they go to? I have a the present a free trial of Microsoft. Is that worth purchasing or would it be benifical to purchase Windows XP and do away with Windows XP?

    Reply
  5. For Vista, trying using WinBubble. It is free. Note that a commercial Vista product called TweakVI (note the ‘V’ in the name) has a free version available. But WinBubble works great for what I want to do. Google for “WinBubble” or try something like “vista settings tweak” and you’ll see lots of programs. I’ve used TweakVI and WinBubble, and I like WinBubble better.

    Reply
  6. This worked great the first time around.
    Now I have had to rebuild XP as it became unstable and the pesky My Documents on the C drive is back.
    I tried moving the new my documents to the D drive then moving all the former “My documents”under that but it has not worked.
    I now have both the C drive My Documents that windows explorer defaults to and a new one in the D drive I have to navigate to.

    Is there a way to handle the
    move after a rebuild? Reattach the D drive My Documents in some way?

    Reply
  7. HELP? I attempted this move (as I found you after looking up and attempting the move through “properties” “move” and it not working), and the same thing happened, a critical stop and the simple words “Cannot Move File”. No explanation, no error code, nothing! I have made sure the file is setup to be shared, as well as attempted to change it from “read only” (just in case either mattered), but it still will not move. I am afraid to move individual parts of it because I don’t know how (if) My Documents can read from multiple locations – but my c: is almost out of space and I seriously need to move much of my oft accessed files to the new drive I put in. Can you help?

    Reply
  8. leo i have to say:you are genious….its the simplest way to change my documents folder indeed….i am from sofia i am scientist…thanks and contact me if you are interested in cosmological research

    Reply
  9. Thank you. I have having problems in Vista (there was no Move button in the Location tab of the My Documents Properties window) and used your first method which worked like a charm!!!

    Reply
  10. Hi Leo, could you please tell me, regarding the drive C, is it possible to share the drive space from other drives D, E etc to increase the size of drive C. ( Drive C disk space id 19.5GB not enough ) windows XP and rest of drives have huge space upto 70GB. I dont want to format drive C at all, but can format other drives as not important files.

    Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.