Helping people with computers... one answer at a time.

The My Documents folder is typically in a very specific place for each user in Windows XP. The good news is you can move it, and it's easy to do.

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.

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

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

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. If you don't want to do everything that's listed above, a quick way to only change the registry setting is our old and free friend TweakUI. After downloading and installing TweakUI from the Microsoft web site you can run it, and then expand My Computer and then click on Special Folders. There you can drop down a list of all the special folders Windows keeps track of. Select My Documents:

TweakUI showing the My Documents setting

As you can see TweakUI is already reflecting the change I made above by using Windows Explorer. Note also the descriptive text below the setting indicating that changing the setting here will not move any files, and in fact describing the method used above to do so.

If you click on the Change Location button TweakUI will give you a warning, but then let you select a new location for the My Documents folder.

Note that no mater 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.

Related:

Article C3298 - February 21, 2008

Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

Recent Comments
10 Comments

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?

Posted by: Ann Hardegree at May 12, 2008 7:45 PM

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.

Posted by: David Thompson at September 9, 2008 8:32 AM

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?

Posted by: David Robinson at December 22, 2008 3:31 AM

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?

Posted by: Peter at March 15, 2009 2:26 PM

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

Posted by: LUCI at July 13, 2011 5:56 AM
Post a comment on "How do I change the location of the My Documents folder?":





Remember Me?

(You may use HTML tags for style)

Before commenting, please...

  • READ THE ARTICLE. A comment that shows you didn't will be deleted and ignored.

  • Comment only on the article. Use the search box at the top of the page if you have a question about something else.

  • NO PERSONAL INFORMATION in the comment. No email addresses. No phone numbers. No physical addresses.

  • Anything that looks the least bit like spam will be deleted. Links to unrelated sites or links that appear to be primarily promotional will be deleted, or the comment will be deleted.

  • Don't ask me to recover lost passwords or hacked accounts. I can't. Those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...