Solved

Keeping Windows profile intact when joining/unjoining a domain

Posted on 2010-09-22
5
2,404 Views
Last Modified: 2012-05-10
Is there a way NOT to create a new Windows profile when first joining a domain - but make a local profile work? Same with unjoining - a way to switch back to a workgroup - converting a profile that was created in joining a domain to a local workgroup profile? Trying to keep profiles without having to recreate and copy data and setup applications.
Thanks very much for the help.
0
Comment
Question by:alpenit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Assisted Solution

by:Nezteek
Nezteek earned 167 total points
ID: 33736252
The quick way is to use a profile migration tool such as ForensiT.  http://www.forensit.com/downloads.html Otherwise you can do the same thing in the registry for user profiles.
0
 
LVL 8

Expert Comment

by:psychogr
ID: 33736488
For windows xp join the computer to the domain so the domain profile will be created.
Go to the local profile folder, select everything except Ntuser.* files.
Copy everything to the domain profile folder and you are set to go..
0
 
LVL 5

Assisted Solution

by:piji
piji earned 166 total points
ID: 33736696
if you remove workstation from the domain if you log in with the same user name then they get the same profile. if you forgot the password or user details just type control userpasswords2 you can see all the username and also you can reset the password.

When join to domain and rejoin back to the same server likely again you should get the same profile but if it is different domain or you change some workstations settings like as computer name, then users can't get the same profile.

For pointing a profile to any user you can do change is registry to give users the same profile which they got before joining to new server domain or the same domain. Frankly, I am not really suggest this option because later on could cause unstable profile for user. But if you have to do it, here is the solution.

if the username is John and his old profile directory in c:\document and settings is John, when you login with John in new domain name for the first time the windows created the folder like as John.wks1 which wks1 is the name of computer, with brand new profile.

Then you restart the machine and login with administrator or any other user with administrator rights. Don't forget you need to restart not logout.

Once you login with administrator you go to registry and look for this path:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList]

In here you will see all the profile record with very long name. Each user with the same domain comes with the same long number. Then looking for "Profileimagepath" with value John.wks1 and put any profile that you want John to point to it like as his old profile name which was "John". Finally you restart the machine and login with John and will see his old profile in new domain.

Hope doesn't confuse you.
0
 
LVL 3

Accepted Solution

by:
joesinc earned 167 total points
ID: 33736791
This method always works for me but it is quite labour intensive:
1) Make a note of the currently active profile folder, eg:
C:\Documents and Settings\DaveSmith
1) Join PC to Domain, reboot as instructed
2) Login to Domain as the intended user on the PC, DaveS
3) restart PC (important to RESTART not just log out)
4) login to PC as LOCAL Administrator, not domain Administrator)
5) Locate the new, blank profile folder that has been created, eg:
C:\Documents and Settings\DaveS
Rename this new, blank profile folder to: DaveS_OLD
Rename the old, good DaveSmith folder to DaveS
6) When you RESTART the PC again the computer will be fooled into thinking the content of DaveS is the Domain profile and will even preserve the icon locations and other customisations the user implemented. Sometimes the background Wallpaper image gets lost in the process. Rarely, the user will have setup hard coded references to their old profile location (maybe Batch files, or desktop shortcut link files etc.). We've re-named the folder so they would get broken. I can't think of a simple way to avoid this situation. But I've done this hundreds of times and it isn't often an issue.
If you do all that and it goes wrong (when you login again you get issued a new, blank profile with a folder name along the lines of DaveS.Domainname, or DaveS.old), then you didn't do it right. Srsly, if you follow those steps, to the letter, then it works every time.
This procedure is pretty much exactly the same as Psyhcogr described above, but you get to keep your NTUSER.* files which iirc are useful registry content.
Joe
0
 
LVL 1

Author Closing Comment

by:alpenit
ID: 33765475
psychogr - thanks, this is what I usually do anyway. Trying to save time in the copy process here. Nezteek - thanks this answers one of my 2 needs. Piji and Joesinc - I know how profiles are sensitive and I probably would go with joesinc if I were to go that route. Thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This article runs through the process of deploying a single EXE application selectively to a group of user.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question