问题描述
Folks,
我们在Windows 2008 r2上使用具有相同森林级别的Active Directory。
We are using Active Directory on windows 2008 r2 with same forest level.
几天前,偶然我删除了一个用户帐户"admin123"。而不是从回收站恢复它我创建了一个同名的新帐户。
Few days ago, accidentaly I deleted one user account "admin123". and instead of restoring it from recycle bin I created a new account with same name.
但是我在访问我以前在多个服务器上安装的服务和应用程序时面临很多挑战,例如文件服务器来自新创建的帐户的Lync等。
But then I faced a lot of challenges in accessing my previous installed services and applications on multiple servers like File Server, Lync etc from the new created account.
我现在所做的是将新帐户重命名为admin333。
What I have done now is renamed the new account to admin333.
现在我要恢复我的帐户旧帐户,以便我可以使用它。让我知道它的程序。我已经使用传统方法从cmdlet恢复ldp.exe和Get-ADObjects帐户但失败了。
Now I want to restore my old account so that I can use it. Let me know the procedure for it. I have already used conventional ways to restore accounts from ldp.exe and Get-ADObjects from cmdlets but failed.
问候
推荐答案
Get-ADObject -ldapFilter:"(msDS-LastKnownRDN=Finance_Department)" –IncludeDeletedObjects | Restore-ADObject
而不是部门使用您的AD帐户
Instead of department use your AD Account
这篇关于恢复活动主管帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!