How To Search Active Directory By 'objectSid' Using PowerShell

Toggle navigation
  • Home
  • Categories
  • Tags
  • Home
  • Categories
  • Tags
  • Top of Page
Husband, father, IT dude & blogger wrapped up into one good looking package.
The Curious Place Store How to Search Active Directory by 'objectSid' using PowerShell
  • ← Previous
  • Next →
January 30th, 2014

Sometimes you may have a SID (objectSid) for an Active Directory object but not necessarily know which object it belongs to. You can find the object using PowerShell.

I came across this when recovering a hard drive for a company. The hard drive was from a domain computer and the NTFS permissions only showed the SID as the recovery computer was a workgroup computer and didn’t have access to the domain. I wanted to re-apply the NTFS permissions on the replaced drive so I needed to know which each SID belonged to.

Run the following on a computer that is a member of the domain:

Import-ModuleActiveDirectoryGet-ADUser-IdentityS-1-5-21-941005169-1824062477-405670111-1106
  • Computing (52)
  • PowerShell (10) ,
  • Active Directory (4)
  • ← Previous
  • Next →

Share Post

Twitter Facebook

Gregory Strike

Husband, father, IT dude & blogger wrapped up into one good looking package.

Tag » Active Directory Search User By Sid