Documents & Settings Folder

  • Thread starter Thread starter Philip K.
  • Start date Start date
Hyperterminal, Wordpad, and Dialer are three. Office will also get confused. Pray tell how you change the Reg_Multi_sz strings?

Only if it's done at setup will it work perfectly.
 
WTC said:
This should help you (look at the section that has "Entire Folder"
(near the bottom of the page.

http://support.microsoft.com/kb/q236621/

Why not just move each user's My Documents folder? It's more work, but
easier than any registry hack, and only takes a right-click, Move command to
accomplish.

Looks like making a lot of work for little return? And of course, keep the
drive cleaned up frequently.

Pop
 
"David Candy" <.> wrote in message
Hyperterminal, Wordpad, and Dialer are three. Office will also get confused.
Pray tell how you change the Reg_Multi_sz strings?

Only if it's done at setup will it work perfectly.

-----------

David

What happens to Office?

Lee
 
The orignal poster presumbly has office installed.Office shortcuts point to windows installer, that does a mini check of Office's files and registry entries, and starts a repair install (surely you've seen this dialog pop up from time to time). It will be confused. Windows accessories will install themselves sooner or later to whereever Program Files currently are. Shortcuts point to environmental variables. So they'll point to D drive even though the files are on C. Many reg entries are in Reg Expand or Reg Multi. The normal way is to export the reg, search and replace, import it. But this won't work on either of those two types.

No issue is serious by itself and I could do it and adjust (by ignoring wierd things or fixing this or that) but it's not a solution you can sell. Geoffery presumbably is doing it just after install (but the orig poster isn't) where issues are less and generally quite minor (mainly shortcuts that will often self repair) and wordpad ends up installed twice.

So do it the right way or do it before installing software.
 
Gotcha.. thanks

I think the original poster could free up space on C: in a number of other
better ways, such as uninstall/reinstall or app-move some stuff, using many
of the options in Tweakui/My Computer/ Special Folders, moving mail store,
TIF, and/or allocating the swapfile to another drive. D&S would the second
last thing I would think of at that point, before moving Windows.

Lee

"David Candy" <.> wrote in message
The orignal poster presumbly has office installed.Office shortcuts point to
windows installer, that does a mini check of Office's files and registry
entries, and starts a repair install (surely you've seen this dialog pop up
from time to time). It will be confused. Windows accessories will install
themselves sooner or later to whereever Program Files currently are.
Shortcuts point to environmental variables. So they'll point to D drive even
though the files are on C. Many reg entries are in Reg Expand or Reg Multi.
The normal way is to export the reg, search and replace, import it. But this
won't work on either of those two types.

No issue is serious by itself and I could do it and adjust (by ignoring
wierd things or fixing this or that) but it's not a solution you can sell.
Geoffery presumbably is doing it just after install (but the orig poster
isn't) where issues are less and generally quite minor (mainly shortcuts
that will often self repair) and wordpad ends up installed twice.

So do it the right way or do it before installing software.
 
jeffrey said:
Hi Lee,

For the OP, probably best to get a bigger HDD for the primary drive as
well. But some of the registry keys you change are for the installer paths
to the Documents and Settings folder. Like I written in the other posts,
I`ve haven`t had any problems on the systems I maintain. I`ve changed the
D&S folder on over 250 computers, varies with Dell, Panasonic, Sony, and
Toshiba. I haven`t had any users complain about any problems.

Another reason some people would also move the D&S is, they re-image the C
drive monthly without affecting the D drive and the images for those
computers are set with the D drive having the D&S folder. My company
hasn`t implement that yet, but might soon, since 95% of our PC`s are of
the same make and model, plus having the same standard applications
installed.

Do you do this move after MS Office has already been installed? David Candy
believes this will lead to ongoing issues. As I replied to him, as strictly
a space-saving move, and for a typical user, I do not believe this is
something that should be considered, there are too many other simpler ways
to make room on C:, such as changing the swapfile for one.

Lee
 
Hi,

Sorry for the late response, was away for the weekend after my last post.
As for Office, no, have no problems with systems with Office installed
before I moved the D&S or any other installed programs. None of the
computers that I have done this on has had any problems with their software.
About 40 systems I moved the D&S after they had a bunch of software already
on and they work fine, even when I do updates to them.

As long as all the keys have been adjusted properly when editing the
registry, you shouldn`t have any problems.

Jeff
 
Jeffrey,

Could I get my hands on this beloved document? Use the e-mail address in my
profile, there will be a trick in sending it though.

Thanks,
William
 
Jeffrey,

Yes, please send me a copy of this document. Use the e-mail address in my
profile, there it just a llittle trick to sending me a message on it.

Thanks,
William
 
I tried the registry editing documented in article ID 314843 (Q314843) to
move the entried Documents and Settings folder from C:\ to D:\ and never got
it to work completely.

When I searched the registry for "documents and settings", I replaced every
instance of "C:\Documents and Settings" with "D:\Documents and Settings ".
This was somewhere around 150 entries.

There were some names (ProfileImagePath, ProfilesDirectory) that had
"%SystemDrive%" in front.

Some names (\REGISTRY\USER\S-1-5-19_Classes, ...) had "HardDiskVolume1" in
front.

There was also (HOMEPATH) that had nothing in front.

I am not sure what to do with these other settings. When I tried changing
them all to "D:\", I got user accounts that had ".computer_name" extensions,
and some of the registry entries went BACK to showing "C:\, even though I
changed all of them.

What am I missing?

There was mention of a word document that had the instructions... Can I get
that to try?
 
Someone sent me a copy of that document and it was missing a lot of things,
so I will tell you everyting that needs to be done.

You need to follow the directions at
<http://support.microsoft.com/default.aspx?scid=kb;en-us;314843>. You may
find it helpful to start you computer in safe-mode command prompt mode (hit
F8 I think at boot) and log in to the generic Administrator account, copy the
folders with
xcopy "C:\Documents and Settings\" "D:\Documents and Settings\" /c/h/e/k/r/v
(add /y if you want to ignore overwrites). The /c switch makes the program
ignore errors, so you will have to go back in with a different
administrator-level account and run
xcopy "C:\Documents and Settings\Administrator\" "D:\Documents and
Settings\Administrator\" /c/h/e/k/r/y/v
in order to copy the missing files. This is better than copying with the
GUI because /v makes it verify all writes, which I am not sure that the GUI
does.

On step 11, you use regedit or some third-party Windows Registry editor
(most safely done in safe-mode command prompt again) and you need to search
for flat out "Documents and Settings" (no quotes). You will come up with
entries that look like foo -> and need to be changed to bar
%systemdrive%\Documents and Settings -> D:\Documents and Settings (change
these two first)
%systemroot%\Documents -> D:\Documents and Settings (change these two first)
C:\Documents and Settings -> D:\Documents and Settings
C?\Documents and Settings -> D?\Documents and Setings

In one registry key HOMEPATH data just has \Documents and Settings (you
don`t need to put D: for that one) you need to go up one key to HOMEDRIVE and
change the HOMEDRIVE key data from C:\ to D:\ .

I'm not sure how to handle the "HardDiskVolume1" keys but they seem to fix
themselves.

When you are done with that you need search for what the Microsoft Knowledge
base article leaves out: DOCUME~1 (or whatever the 8-character name for your
Documents and Settings folder is, you find that by right-clicking on the
folder and choosing properties). Again,
C:\DOCUME~1 -> D:\DOCUME~1
C?\DOCUME~1 -> D?\DOCUME~1

You might find another HOMEPATH key such as above, the same rule applies.

Some keys might go blank, and others might change themselves back. If you
have changed the %systemdrive%\Doc... and %systemroot%\Doc... keys, the ones
that keep switching should fix themselves after you reboot.

On to step 12, reboot, go back to safe-mode command prompt and log in to a
different administrator-level account than the one that you did the registry
changes with, and your command prompt should come up at D:\Documents and
Settings\username\. If not then you have screwed up. In either case run
regedit again and verify that everything is at D where it should be.

Reboot again into normal mode, and run a file search (Start, Search...).
Search for text within the files for "Documents and Settings" and "Docume~N,"
(no obviously omittable punctuation, N is the number in the eight-character
name of the old directory) looking in all files and folders including system
and hidden files. Both searches will take a long time, but this is necessary
because some programs keep settings outside of the registry. Edit their
configuration files using notepad substituting C for D. You might want to
reboot again for fun, but you should be good to go after this.

And of course, delete the old Documents and Settings folder.

Let me know if you need any further assistance.
 
I would love a copy of how to do this (send to Anthony at burk10 dot co dot
freeserve) via:
Method 1. Creating an unattend.txt file from an existing installation.
Amending Profiles Dir to E:Documents and Settings. Then doing a
reinstallation using the amended unattend.txt.
Method 2. Moving the entire folder by using the article re: Windows XP
Professional http://support.microsoft.com/kb/q314843/ not
http://support.microsoft.com/kb/q236621/ which refers to Windows Server.
It looks simple but leaves unresolved questions. In Method 2. The Article
headed MOVING THE ENTIRE FOLDER point 7. raises the question: Why do you copy
the profile of the original administrator acount instead of copying it in the
same way you dealt with the other User folders in point 5.
I have done a dummy run on Method 1.(look but don't touch). Presume
HOMEDRIVE in HKEY_CURRENT_USER\VolatileEnvironment is set to E: that
%SystemDrive%\Documents and Settings in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList (I
have 6 occurences including the 3 Users), may be changed to E:\Documents and
Settings. That when changing path in registry you need to sign in to each
User in turn and amend paths. Two of my Users have 180 entries to amend and 1
User has 196 entries. Most of those entries will be changed when the first
user registry is is amended so there will not be 556 amendments - probably
196 minimum.
On method 2. there is an article headed CUSOMIZING UNATTENDED INSTALLATIONS
in Microsoft support files which is helpful.
This is a short outline of some of the main concerns raised which may be of
interest to others reading this topic.
There is however nothing to touch experience at ground level and your help
would be welcome.
 
Look at my message dated 5/1/2005 in this thread, I explain how to do this.
It is four messages down from here if I counted correctly.
 
Hi William

Brilliant reply, just the ticket. Operation completed successfully without
problems using article 314843 and your comments especially HOMEDRIVE,
%SystemDrive% and DOCUME~. Took a few dry runs first. Shifted Documents and
Settings from C: to E: drive. You need at least two users with administrator
status.

Important thing is to change registry for each user in turn. Search until
nothing is found for Documents and Settings and also Docume~. Do not log back
in to recheck because the act of logging in produces registry entries for
C:\Documents and Settings.

Note: after rebooting and deleting the C:\Documents and Settings folder and
its contents. There are residual entries in the registry for the default user
in C:\ in HKEY_CURRENT _USER\Software\Microsoft\Media Player\Setup\Created
Links. Just change them to point to your new folder and reboot again.

Many Thanks
Anthony L P Burk.
 
Hi Jeff,

Could you email this document to me please.

I am setting up multiple XP Pro PCs and Laptops as part of a Server 2003
domain with use of SharePoint Services and SQL Server. I believe I may need
to use Roaming Profiles once the network infrastructure is installed. In the
interim I want to install 'general' software apps on the PC workstations and
Laptops in standalone mode. I also want to keep User Data away from System
Data on C: drive hence need to relocate all user profiles to D: drive.

By your posts your insight and document may be useful to me!

Cheers,
 
Jeffrey,

Could you, please send me a copy of your D&S document. Tring to create a
tweaked clean image for all my machines. Use the e-mail address in my
profile.

Also any tricks you have on setting up roaming profiles on a "so called
server" with a non-domain P-P network.

Thanks,
Jay
 
Back
Top