Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


July 2003

Move User Profiles

Ready for some fiddling?
RSS
Subscribe to Windows IT Pro | See More Registry Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

You probably don't give much thought to the amount of time you spend working on profiles. However, when you add up all the minutes you've ever spent modifying this application setting and that desktop tweak—and realize that nearly all those settings reside in a profile—you'll see that you've probably spent months turning your user profiles into solipsistic works of art.

A moment of great frustration is when you have to start over. Suppose your desktop has gone out of business, or perhaps you simply need to upgrade to a faster system. How can you either restore your settings from a backup or transfer them from your old computer to the new one? Essentially, you have three options—two easy yet limited approaches and one flexible one-size-fits-all approach. Unfortunately, the flexible way is undocumented and involves some fiddling. Let's start with the basics.

Two Limited Approaches
Roaming profiles let you store your profile in a directory on a file share, then link that directory to your domain account. Whenever you use your domain account to log on to a workstation, your workstation goes to the file share and loads the profile. The benefit of this process is that your desktop and other settings follow you. If your workstation spontaneously combusts, you need only log on to another workstation to access your familiar desktop settings. (For more information about using roaming profiles, see Ed Roth, "Using Intellimirror to Manage User Data and Settings," page 74.)

Unfortunately, many people don't use roaming profiles because every logon triggers a large set of file downloads. Because most people log on at roughly the same time every morning, the file server that holds the office's roaming profiles tends to get overloaded. Also, the large size of most roaming profiles strains the network further. My roaming profile is 36MB—a size that I'm told is anorexic compared with some of my clients' roaming profiles. In theory, roaming profiles are terrific, but they're not practical for many networks. Thus, many of us use local profiles.

Windows XP users who need to move profiles from one system to another have a great tool in the OS's Files and Settings Transfer Wizard (aka Fastwiz). If memory serves, Fastwiz first appeared in the Microsoft Windows 2000 Server Resource Kit, and it didn't work well. I'm delighted that the tool now works well in its newer XP incarnation. Fastwiz lets you copy your application settings, Microsoft Internet Explorer (IE) Favorites and cookies, Microsoft Outlook Express mail, desktop settings, and data files from any XP, Win2K, Windows NT 4.0, Windows Me, or Windows 9x system to an XP system. In my experience, Fastwiz does a great job of grabbing just about everything you would miss from your old system (except, of course, your applications; you'll need to reinstall those) and dropping it into a new system. However, Fastwiz is beneficial only if no one else uses your old system or your new system.

So, the question remains, "How do I move a local profile from one system to another or restore a local profile?" You can take virtually any profile from any machine and account and transplant it to any other machine and account—as long as you don't mind adjusting file permissions and registry settings.

What Makes Profiles Tick?
When you log on to a system, the system goes to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList registry subkey, which Figure 1, page 73, shows, and finds subkeys with numeric names that you'll probably recognize as SIDs. If your logon account's SID matches the name of one of these subkeys, your workstation looks in that subkey for the ProfileImagePath value entry. The ProfileImagePath entry appears as something like \%systemdrive%\documents and settings\username, where username is your username. Your workstation grabs the files in the directory named in ProfileImagePath and uses them as your profile.

Suppose a user named Jake uses either a local or domain account to log on to a workstation. (If he uses a domain account, assume he doesn't have a roaming profile.) His workstation logs him on, discovering in the process that his SID is S-1-5-21-3675345140-426764551-501881172-1012. The workstation looks in the registry for the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-3675345140-426764551-501881172-1012 subkey. If that subkey exists, the workstation looks in ProfileImagePath. (If the subkey doesn't exist, the workstation assumes that Jake needs a new profile—but that's another story.) ProfileImagePath contains a value such as \%systemdrive%\documents and settings\jake. The workstation then goes to that directory to find Jake's registry settings (in a file called ntuser.dat), Jake's desktop, and so on.

   Previous  [1]  2  Next 


Reader Comments
In the paragraph titled "The One-Size-Fits-All Approach", step one shows the getsid syntax, but, it appears that, the syntax is not complete.
Thanks,


John Shalack December 31, 2003


After creating the new account on step 2. Log in as administrator and copy the entire content of the old profile into the new profile. This seens to work for me. Is there any known problem by doing this way?

Eppie January 04, 2004


Microsoft KB "How to copy User Data to a New User Profile."
http://support.microsoft.com/default.aspx?scid=kb;en-us;811151

Dan February 16, 2004


Thanks this saved me from a lot of complaining from staff, we are moving domains (switched to samba :p), i could copy the profile ok, but the settings were lost (i.e. how icons on desktop were positioned ...) Thanks guys

Anonymous User February 24, 2005 (Article Rating: )


Last paragraph:"might not transfer all your Outlook Express passwords". Any ways to transfer passwords for Outlook or OE? Thanx.

EK April 17, 2005 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Microsoft Delivers Service Pack 2 Beta 2 for Vista, Server 2008

Microsoft on Tuesday announced the availability of the Beta 2 version of Service Pack 2 (SP2) for Windows Vista and Windows Server 2008. Since both operating systems were developed from the same code base, they have a common servicing structure and thus ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Introduction to Identity Lifecycle Manager "2"

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing