Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 96
  • Last Modified:

Event 5805 The session setup from the computer failed to authenticate. -- Tracked this error down to a user account. Getting "Directory Object Not Found"

I inherited this issue when I accepted this job position, one of the first errors I found when checking the logs.  I have located the user account causing issues and in ADUC i'm getting "Windows cannot move object {User Name} because:  Directory object not found."

I could simply rebuild the account but I was tasked with finding out if there was a solution where I could recover this missing data/account without any real interruption on the user's end.

Does anyone have a solution for recovering this user account?
0
Daniel Checksum
Asked:
Daniel Checksum
  • 3
  • 2
2 Solutions
 
Daniel ChecksumAuthor Commented:
No assistance available for this issue?
0
 
Jackie ManCommented:
You got a tough question.

You can use Windows PowerShell script to restore the missing Directory object.

The example in Technet article is as follows:-

1. Click Start, click Administrative Tools, right-click Active Directory Module for Windows PowerShell, and then click Run as administrator.

2. Restore the missing user account by running the following command at the Active Directory Module for Windows PowerShell prompt:

Get-ADObject -SearchBase "CN=Deleted Objects,DC=[Your DC]" -Filter {lastKnownParent -eq "OU=[Your OU]   ,DC=[Your DC]"} -IncludeDeletedObjects | Restore-ADObject

Source: https://technet.microsoft.com/en-us/library/dd379509%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396
0
 
Jackie ManCommented:
OR

There is a similar question like yours and the answer is:-

If you refresh the current OU you're in, does the user still show up? Normally this occurs when the user has been moved from the current location and sometimes a simple refresh will fix it.

https://www.experts-exchange.com/questions/26520928/Deleting-User-from-Active-Directory-Error-Object-not-found.html
0
 
Daniel ChecksumAuthor Commented:
Wow!  The powershell command appeared to do nothing; however, The "refresh" on the OU it resides in did move his account to the proper location(original motive) and I can now see all of the data in his account properties.  Will close the question once i've confirmed the errors have stopped on my DC.  Thank you for all your help Jackie, you've been great.  And thank you Mr. Wolfe for getting this to the proper groups to be answered.
0
 
Daniel ChecksumAuthor Commented:
OK, the DC just recorded the same two errors I've been getting again.  Going to open another question and close this one as you've resolved the active directory account information problem.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now