Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

Windows Server / Active Directory & Group Policy

Check whether an AD object is deleted before recreating its name

Recreating an object with the same name does not preserve its original identity or permissions. Search approved deleted-object metadata first.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Windows Server 2022 / 2025 baseline · Windows PowerShell with the specified role or RSAT modules; native utilities are identified in the text. Use delegated administration and elevation only where required.

Start with this check

Check the computer, command shell and account permissions. Replace example names, file paths, domains and interfaces with approved values. These commands help investigate the problem. Before making changes, check the rules and the effect on running applications.

Get-ADObject -Filter 'isDeleted -eq $true -and Name -like "APP-SERVER*"' -IncludeDeletedObjects -Properties lastKnownParent

What the results mean

With delegated AD access, this searches illustrative deleted-object names. Results depend on deletion retention, visibility and the object's state.

Fix the cause and check again

Confirm the original object and deletion timeline with the directory owner. Use the supported recovery workflow when available and verify dependent access afterward.

Before changing production

Do not recreate accounts or restore guessed objects merely because their display names match.

Source & further reading

Microsoft Learn — get-adobject

Independently written summary reviewed on 2026-11-01. The example illustrates a possible application; it is not a client case study.

Share this article

Back to all articles