Link to home
Start Free TrialLog in
Avatar of Andre P
Andre PFlag for Canada

asked on

Domain User Profile corruption . Restore copied user profile data . Getting Temporary profile .

I had to readd a machine into my SBS 2008 domain ,
Once doing so the user profile would not let me log in . It was throwing the following error :
The Group Policy Client service failed the logon. Access denied."
So I did some research and removed the machine from the domain
copied the C:\USER\CUsername folder to a new location . Renamed the existing one .
Then re added it .. logged in as new ClientName.
This was successful except I am getting a message about :

You have been logged on with a temporary profile.  Try logging in later.

After editing registry etc
Windows will not recreate the profile and C:\USERS \Clientname.

1. How do I get it to do so  ( I need a fresh C:\Users\ClientName )
2. I need to take the data which I copied from the original CleintName  and get it back unto the fresh one so that the desktop and user settings are restored .
Any help will be greatly appreciated
Avatar of kulboy
kulboy

If you tried to log on to Windows and received an error message telling you that your user profile might be corrupted, you can try to repair it. You will need to create a new profile, and then copy the files from the existing profile to the new one.

Before you create a new profile

Occasionally, Windows might not read your user profile correctly—for example, if your antivirus software is scanning your computer while you try to log on. Before you create a new user profile, try restarting your computer and logging on with your user account again.

To create a new user profile

To create a new user profile, you must first create a new user account. When the account is created, a profile is also created.  (important step is to have the new profile created before you overwrite the new profile folder with the old content!)

To create a new user profile

Open Microsoft Management Console by clicking the Start button Picture of the Start button, typing mmc into the search box, and then pressing Enter.‌  Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

In the left pane of Microsoft Management Console, click Local Users and Groups.

If you don't see Local Users and Groups

If you don't see Local Users and Groups, it's probably because that snap-in hasn't been added to Microsoft Management Console. Follow these steps to install it:

In Microsoft Management Console, click the File menu, and then click Add/Remove Snap-in.

Click Local Users and Groups, and then click Add.

Click Local computer, click Finish, and then click OK.

Click the Users folder.

Click the Action menu, and then click New User.

Type the appropriate information in the dialog box, and then click Create.

When you are finished creating user accounts, click Close.

Restart the PC.

After you create the profile, you can copy the files from the existing profile. You must have at least three user accounts on the computer to complete these steps, including the new account you just created.

Log on as a user other than the new user you just created or the user that you want to copy files from.

Open the My Documents folder by clicking the Start button Picture of the Start button, and then clicking Computer. Double-click the hard disk drive that Windows is installed on (it's usually your C: drive), double-click Users, double-click the folder with the name of your account, and then double-click My Documents.

Click the Tools menu, and then click Folder Options.

If you don't see the Tools menu, press Alt.

Click the View tab, and then click Show hidden files, folders, and drives.

Clear the Hide protected operating system files check box, click Yes to confirm, and then click OK.

Locate the C:\Users\Old_Username folder, where C is the drive that Windows is installed on, and Old_Username is the name of the profile you want to copy files from.

Select all of the files and folders in this folder, except the following files:

Ntuser.dat

Ntuser.dat.log

Ntuser.ini

Click the Edit menu, and then click Copy.

If you don't see the Edit menu, press Alt.

Locate the C:\Users\New_Username folder, where C is the drive that Windows is installed on, and New_Username is the name of the new user profile you created.

Click the Edit menu, and then click Paste.

If you don't see the Edit menu, press Alt.

Log off, and then log back on as the new user.

If you have e‑mail messages in an e‑mail program, you must import your e‑mail messages and addresses to the new user profile before you delete the old profile. If everything is working properly, you can delete the old profile.
Sounds like you are using Roaming profile.  

1. Delete or rename the roaming profile files at the SERVER location of the accounts you are trying to pull new from; .ntuser.dat, etc OR the entire roaming folder if you want a fresh start.  

2. Then before you login do the remove local pc folder move/rename then Delete the Registry entries that you mentioned before (HKLM\SOFTWARE\Microsoft\Windows NT\ CurrentVersion\ProfileList).  

3. Try logging in again.
Avatar of Andre P

ASKER

How do i find /delete the roaming profile ?
Check your user profile in Active Directory Users and Computers.  Look at the account(s) in question and open their profile up to the TAB profile.  

What does it say in the User profile - Profile Path?  if there is nothing in there then they don't have a roaming profile.  

If there is something in there check the path to make sure it available to them but by UNC and permissions.  If you don't want them to have roaming anymore delete the Profile path entry.
Avatar of Andre P

ASKER

There is nothing there
Is there anything populated in the User profile tab- like home folder?  if there is nothing then follow these steps.

1. Go to "Advanced System Settings" on the "System" icon in the control panel of the workstation.  Then click on "Advanced".  Go to "Settings" in the User Profile box.
2. Select and Delete any instance of the DOMAIN account you are trying to load.  (this will delete the folder so save what ever you need first)
3. Go to local drive where the default Users folder is and rename all instances of the users folder to .old or .bak.
4. Go to the registry key HKLM\SOFTWARE\Microsoft\Windows NT\ CurrentVersion\ProfileList and delete any keys with the string of that Username in reference that you are trying to load.  
5. Reboot and try to log in again.

if this fails, I would make sure you can see you domain properly.  If you ping the domain i.e. ping domain.net - does it reply back with your correct domain controller IP??
ASKER CERTIFIED SOLUTION
Avatar of Andre P
Andre P
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial