Toggle navigation
TechnoWikis.com
Email or Username
Password
Remember
Login
Register
|
I forgot my password
All Activity
Questions
Hot!
Pending
Ask a Question
Privacy Policy
Contact
How to enable the recycle bin of the Active Directory
Home
Tutorials
Microsoft
Windows Server
How to enable the recycle bin of the Active...
(adsbygoogle = window.adsbygoogle || []).push({});
+4
votes
237
views
How to enable the recycle bin of the Active Directory
asked
Jun 24, 2019
in
Windows Server
by
backtothefuture
(
552k
points)
reopened
Jun 24, 2019
|
237
views
answer
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Add answer
Cancel
1
Answer
+5
votes
Best answer
Introduction
One of the new features of windows server 2012 is the integration of a graphic interface for the recycle bin of the active directory.
This feature allows to restore accidentally or intentionally deleted objects from the active directory, whether they are users, groups or organizational units in a simple way.
The recycle bin of the active directory was already available in windows server 2008 R2 but lacked a graphical interface, which caused the task of restoring deleted objects to become a bit tedious.
To use this feature it is necessary to activate it, since by default it is disabled.
Before activating it, it is necessary to consider that once enabled,
we
will
not be
able to disable it.
Activation
On a domain controller open the "active directory management center" and select the name of the forest.
Then choose "enable the recycle bin" in the task pane on the right side.
Note:
The "enable recycle bin" option will not be available if the active directory version is less than windows server 2008 R2 or if the recycle bin has been previously activated.
To raise the level of forest operation it is necessary to use "
cmdlet Set-ADForestMode
" or it is also possible to use "
Ldp.exe
".
For more information on how to use "
cmdlet Set-ADForestMode
" you can use the command
Get-Help Enable-ADOptionalFeature
in the active directory module for Windows PowerShell in windows server 2008 R2.
We must also take into account the warning displayed when activating the recycle bin, which will notify us that we must wait for the change to be replicated in all domain controllers in the forest.
Replication will take a few minutes depending on the complexity of the active directory structure.
Use of recycling bin
Once the replication time has elapsed, it is recommended to close and reopen the "active directory administration center".
Select the name of the forest and choose the "Deleted Objects" OU, in this OU all the deleted objects will be stored.
To recover an object only it is necessary to enter "Deleted Objects" and use the restore option.
The recovered object will retain all of its original attributes.
The active directory management center offers criteria and filtering options that allow you to restore certain objects.
Basic rules
The "active directory management center" can not restore a complete tree in a single action, if necessary the following rules should be considered:
Restore the highest deleted object first in the hierarchy of the tree.
Restore the immediate children of the parent object.
Restore the immediate children of the primary objects.
Repeat as necessary, considering that a secondary object can not be restored before restoring its parent.
The objects deleted from the active directory have a default life of 180 days in the recycle bin, once this time has elapsed they are eliminated by the 'Garbage collector', which is automatically executed in the active directory every 12 hours.
This parameter is modifiable in the attribute 'garbageCollPeriod' in the configuration object of the entire company DS (NTDS).
answered
Jun 24, 2019
by
stackoverflow
(
3.5m
points)
edited
Jun 24, 2019
ask related question
comment
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Add comment
Cancel
Related questions
+5
votes
1
answer
Find objects in the Windows Server Active Directory
asked
Jun 24, 2019
in
Windows Server
by
backtothefuture
(
552k
points)
|
223
views
+4
votes
1
answer
How to activate Recycle Bin Windows Server 2019, 2016
asked
Sep 30, 2019
in
Windows Server
by
backtothefuture
(
552k
points)
|
1.9k
views
+5
votes
1
answer
How to use Centro Administration Active Directory Windows Server 2016
asked
Nov 20, 2019
in
Windows Server
by
backtothefuture
(
552k
points)
|
269
views
+5
votes
1
answer
How to create users and groups active domain directory in Windows Server 2019
asked
Jun 3, 2019
in
Windows Server
by
backtothefuture
(
552k
points)
|
522
views
+3
votes
1
answer
Active Directory Domain Services in Windows Server 2019
asked
Oct 10, 2019
in
Windows Server
by
backtothefuture
(
552k
points)
|
347
views
Sponsored articles cost $40 per post. You can contact us via
Feedback
All categories
Tutorials
7.5k
Microsoft
1.9k
Windows 10
1.1k
Office
365
Windows Server
92
Windows 7 / Vista / XP
8
Windows 8
4
Exchange
4
WindowsServer
45
Windows11
248
Windows10
35
Android
1.4k
Security
120
Linux / Unix
543
Internet
757
Virtualization
104
Apple
611
Networks
64
Other Devices
321
Other Applications
184
Hardware
19
Development
53
Digital Marketing
47
Databases
14
Graphic Design
30
Guides
794
GraphicDesign
54
Networking
4
PlayStation
186
Gaming
55
Linux/Unix
85
Manzana
33
Otherdevices
38
Otherapps
49
Digitalmarketing
39
Safety
1
Developing
2
Help
685
Social Networks
34
Android Tutorial
549
iPhone Tutorial
267
News
17
Social
6
Phone
11
Telephone
9
Applications
167
Smartphones
3
Cell Phones
11
Applications
25
Travels
6
Photo
21
Education
18
Games
25
Internet
14
Music
8
Technique
10
Video
6
Windows
5
Apple
2
Cell Phones
3
TikTok
216
Trips
2
House
1
Operating System
5
Tips & Tricks
892
Solutions
6
Tutorials
3
FAQ
1
Applications
5
Cell Phones
2
Tutorials
4
Computers
6
Tutoriales
2
8
Technology
2
In Computers
1
In Applications
2
Tutorials Tutorials
9
Applications Applications
25
Aplicaciones Applications
4
Devices Devices
5
Tutoriales Tutorials
1
Tutorials u00a0 Tutorials
2
Applications u00a0 Applications
2
Devices u00a0 Devices
1
OS OS
1
Etc Etc
2
Most popular questions within the last 30 days
Please leave a comment about whether the solution works or not (with device model)
[X]Close
10,659
questions
10,791
answers
510
comments
3
users