Solved

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

Posted on 2016-08-24
  • Active Directory
  • Windows Server 2008
  • Windows 10
  • MS Server OS
  • Windows OS
  • +1
5
77 Views
Last Modified: 2016-08-26
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
Comment
Question by:Daniel Checksum
  • 3
  • 2
5 Comments
 
LVL 1

Author Comment

by:Daniel Checksum
ID: 41770198
No assistance available for this issue?
0
 
LVL 42

Assisted Solution

by:Jackie Man
Jackie Man earned 500 total points
ID: 41771234
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
 
LVL 42

Accepted Solution

by:
Jackie Man earned 500 total points
ID: 41771235
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
 
LVL 1

Author Comment

by:Daniel Checksum
ID: 41771728
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
 
LVL 1

Author Closing Comment

by:Daniel Checksum
ID: 41771978
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

947 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

20 Experts available now in Live!

Get 1:1 Help Now