Link to home
Start Free TrialLog in
Avatar of albenizpalma
albenizpalma

asked on

windows 2008 server log in and log out inmidiately

I got a New server installed. When I try to do remote desktop with one specific user.
log in and log out inmidiately. Just with that user particulary.

Any clue?
Avatar of alphaphaedrus
alphaphaedrus
Flag of United States of America image

try clearing out that profile or SID associated with that account.




Identify the SID of the user whose profile needs to be deleted.

- I typically use ADSI Edit on a domain controller to do this. Open ADSI Edit, navigate through the OU’s until you find the user, CN=”Username”, right-click and choose properties. Scroll to the object property labeled “objectSid”. Document that SID because you will need it shortly.
 




2.


Verify that the user is not logged into the server.

- From a command prompt type “query user” and verify that the user is not listed.
 




3.


Open the folder directory where the server user profiles are stored.

- Server 2008 default is “C:\%USERNAME”.
 




4.


Delete the profile folder for the user.

 




5.


Open the registry editor.

- Start > regedit
 




6.


Navigate to the following: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

 




7.


Locate the sub-key that is named the same as the documented SID from earlier. Right-click on the sub-key choose delete.

 




8.


Have the user log back in. If the user reports no problems then you have successfully deleted a user profile.

- If the user logs in and is presented with a pop-up from the system try stating that the user is being logged in with a temporary profile then proceed to step 9.
 




9.


If the user gets logged in with a temporary profile then have them log out, open up the registry editor once again, and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.

 




10.


Look for a sub-key named the same as the documented SID followed by a “.bak”. Right-click on that sub-key and choose delete.

 




11.


Have the user attempt to login. The user should no longer be prompted by the temporary profile pop-up.
ASKER CERTIFIED SOLUTION
Avatar of albenizpalma
albenizpalma

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
Avatar of Seth Simmons
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.