As an internal network administrator, it is inevitable that there will be accidents in the daily maintenance of the AD Active Directory. How to solve this inevitable accident? Avoid the loss for the current production environment, internal network management The first time you can restore the lost user data, this tutorial will explain to you how to recover the data:
Method 1 (unauthorized restore): use the ntbackup tool by pre-backing up system state data Restore all user accounts and OUs.
Method 2 (authorized restore): Restore the deleted user accounts using the ntbackup tool by using the system state data backed up in advance, and then use Ntdsutil to perform the authoritative restore.
< The Ntdsutil syntax is as follows (refer to the Microsoft Knowledge Base):
ntdsutil "authoritative restore" "restore object
For example, to delete a user in the Mayberry OU of the Contoso.com domain JohnDoe performs an authoritative restore using the following command:
ntdsutil "authoritative restore" "restore object cn=John Doe,ou=Mayberry,dc=contoso,dc=com" qq
To perform an authoritative restore of the deleted security group ContosoPrintAccess in the Mayberry OU of the Contoso.com domain, use the following command:
ntdsutil "authoritative restore" "restore object cn=ContosoPrintAccess,ou=Mayberry,dc=contoso,dc=com" qq
For example, to delete the Mayberry OU in the Contoso.com domain User JohnDoe performs an authoritative restore using the following command:
ntdsutil "authoritative restore" "restore object cn=JohnDoe,ou=Mayberry,dc=contoso,dc=com" qq
To perform an authoritative restore of the deleted security group ContosoPrintAccess in the Mayberry OU of the Contoso.com domain, use the following command:
ntdsutil "authoritative restore" "restore object cn=ContosoPrintAccess,ou=Mayberry,dc =contoso,dc=com" qq
Method 3 (Restore with third-party tools without backing up the system state):
Using the adrestore.exe tool Now:
Step 1: Download the adrestore tool
Step 2: At the command prompt on the DC, type: "drestore the first letter of the username " to see the missing user The data.
Step 3: Continue to use the first letter of the "drestore -r username on the DC" to restore
*Note* This restore method is restored back The user is disabled, you need to reset the password to patch the login name, and cancel the disable to use normally. So it is recommended that you do a backup of the system state. Use the official authorization method.
Add a reset restore mode administrator Password method:
Log in using the administrator on the DC and enter the command prompt.
Step 1: Ntdsutil
Step 2: set dsrm password
Step 3: reset password . server server name
In enterprises that use domain environment for IT management, the data of AD Active Directory is crucial. For this reason, whether you are an internal network or not Administrators should take a good look at the number of recoveries in this tutorial. Method.
After WinXP system is opened, an account login interface will be displayed first. Users can enter th
There are a lot of files in our computer. If you want to find which file you need, it is really hard
I believe that everyone has encountered such a situation, that is, after inserting
Virtual memory is very important for our computer, because sometimes you need to run large software
How to turn off Windows file protection in WinXP system? How to turn off Windows File Protection
Let xp easily have a small coup of win7 taskbar
Put IE8 shortcuts with "Internet Options" on your desktop
Security Protection Router Anti-Hacker
The right medicine, notebook keyboard common faults and solutions
Master quickly clean up the system garbage Raiders
Windwos xp you have to know the big collection of small features
What if usb is not recognized? WinXP system USB driver unrecognized processing method
The solution to the fake crash after entering the XP system
How do WinXP computer CPUs look at models and performance?
Teach you to optimize XP operating system to improve system speed
How to change the lock screen background image of win8 system?
Win7 The sound icon and power icon in the lower right corner suddenly disappeared. How to do
Through the registry, hackers can be attacked without any form.
How does win10 fix or unpin the application in the start menu list?
Win10's wonderful little problem handling methods summary
How can the metadata of the win7 system part of the note be damaged?
Teach you how to improve the security of Win 7 system
How to set command aliases in Linux