Solved

Keeping Windows profile intact when joining/unjoining a domain

Posted on 2010-09-22
5
2,312 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
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

896 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now