| Well, it could happen that you delete an Active Directory Objects / Accounts (like a User, Group, Computer whatever object) accidentally. In the past i used ADSIEdit.msc to restore the object. Well, this is a not so straight-forward procedure and not that easy to accomplish. Lately I’ve stumbled over a page from guy/blog called Windowmaker |
Category Archives: Active Directory
PowerShell: Get SID from AD (Active Directory) User / Group using PowerShell
To get the SID of an AD Object (User, Group, whatever) quickly, i recommend using PowerShell.
When trying to get the SID using ADUC (Active Directory User and Computer Snap-in), you can not copy/paste the SID as a string since it is stored in a binary format.
Active Directory, Transfer Schema Master, Domain Naming Master, PDC, RID Master, Infrastructure Master Role using NtdsUtil.exe
Transferring a FSMO (Flexible Single Master Operations) Role using the NtdsUtil.exe is pretty easy.
Start a Command Line (cmd.exe)
C:\>ntdsutil.exe
Switch to Roles context
ntdsutil: Roles Continue reading
Active Directory, List FSMO Roles of a Domain Controller (DC) using NtdsUtil.exe
To list the FSMO (Flexible Single Master Operations) Roles of a Microsoft Active Directory Domain Controller (DC) using NtdsUtil.exe:
Start a command prompt (cmd.exe)
Start NtdsUtil.exe
C:\>NtdsUtil.exe
Switch to Roles context
ntdsutil:Roles
Swtich to Connections context
fsmo maintenance:Connections Continue reading
Active Directory, Transfer the Schema Master Role of a Windows 2003 Server Domain Controller using the MMC GUI
Register the Schmmgmt.dll MMC Snap-in
Register the DLL using
regsvr32 schmmgmt.dll
Transfer the Schema Master Role
- Run MMC (Microsoft Management Console – Start – run – MMC )
- On the File, menu click Add/Remove Snap-in.
- Click Add.