Tag Archives: profile

Moving the “Users” directory in Windows 7

If you want to have your Users folder stored somewhere other than the default location, you generally need to do an unattended installation with a modified installation script. If want to move the folder on an existing installation, then you need to make a couple of changes to the registry and then move the folder yourself. This is what we’ll do here.

The Users folder is the default folder/directory name for the Windows ProfilesDirectory, and by default it is stored in %SystemDrive%. Typically this is your C:\ drive (unless you installed Windows on a different drive), so it looks like C:\User\. We’re going to move it to the D: drive.

First, as always, backup your files and create a restore point just in case something goes wrong. Once you’ve done that go through the following:

  1. Create a temporary admin user temp-admin.
  2. Log out from your current user and log back in as the temp-admin user. (Don’t just switch users, actually log-out and then back in.). If you encounter any files in your original user account that are still in use, try restarting the computer.
  3. Create a D:\Users\ folder.
  4. Move every folder except Public and temp-admin from C:\User\ to D:\User\. Make sure you include all the hidden folders too.
  5. Copy the Public folder from C:\User\ to D:\User\.
  6. Open the Registry Editor and go to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.
  7. Replace %SystemDrive% to D: in the Default, ProfilesDirectory, and Public keys.
  8. Expand the ProfileList tree-node to show all the profiles, and go through these replacing C: to D: in any ProfileImagePath that points to C:\Users\.... There should be one of these for each user account.
  9. Restart your computer and log in as your normal Admin user.
  10. The Users folder is now in the desired location. You can delete the temp-admin user.

Update: If you encounter the user profile service failed the logon error when you try to log in using an account created after moving the ProfilesDirectory, it is because you didn’t include the Default folder when moving folders from C:\Users\ to D:\Users\. This folder is used as a template for creating profiles for new accounts. Make sure it exists in your new ProfilesDirectory.

Thanks to a blog entry at rob.brooks-bilson.com for this update.

FIX: Firefox 3.6 not starting in Ubuntu 10.04 Alpha (Lucid Lynx)

I got Firefox 3.6 in a Lucid alpha update on 27 January. The problem is that it wouldn’t start. I tried it with a new profile, which made it work. So I ran firefox with the -safe-mode argument and disabled all add-ons. Then in firefox, I tried each add-on to figure out which one’s weren’t working, and left them disabled.

To do this, open up a console and run the following:

firefox -safe-mode

You’ll see the following dialog box:

Select the first checkbox (Disable all add-ons), and press the Make Changes and Restart button.

When Firefox starts up, go into the Tools->Add-ons menu. And try enabling each add-on and restarting firefox. If it starts, then the add-on is working. If it isn’t, run firefox in safe-mode and disable the last add-on you enabled.

In my case, Adblock Plus, Better Gmail 2, Better GReader, Firebug, FoxyProxy, Ghostery, HttpFox, NoScript, Nuke Anything Enhanced, and User Agent Switcher were working. DownThemAll, Greasemonkey, and Stylish were not.

Screenshot showing the add-ons I had to disable

click image to enlarge.