December 30th, 2013

PowerTip: Use PowerShell to Find Registry Access

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to find registry access.

Hey, Scripting Guy! Question How can I use Windows PowerShell to get the ACL for a registry key?

Hey, Scripting Guy! Answer Use the Get-ACL cmdlet on a key in a Windows PowerShell registry drive.
          The following example shows access to the HKLM\Software\Microsoft key
:

Get-acl HKLM:\SOFTWARE\Microsoft

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.