Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

windows 2008 server log in and log out inmidiately

Posted on 2013-02-06
4
Medium Priority
?
35 Views
Last Modified: 2015-06-23
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?
0
Comment
Question by:albenizpalma
[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
4 Comments
 
LVL 2

Expert Comment

by:alphaphaedrus
ID: 38861956
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.
0
 

Accepted Solution

by:
albenizpalma earned 0 total points
ID: 38862073
Actually this was resolved in another way. In the active director. The user had a command open program line. The program wasw a missing short cut. So as soon the profile tried to run got an error, And then the server log out the user. I took off that line and averything works fine.
0
 
LVL 35

Expert Comment

by:Seth Simmons
ID: 40845613
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

609 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