Last updated
Last updated
The policy can be read from two places - directly from the GPO or from the local registry of a machine they're applied to. Reading from the GPO is the same process as with LAPS - find the GPO, download the Registry.pol file from the gpcfilesyspath and parse with Parse-PolFile.
There's an example of one of the executable rules, contained in the ValueData field.
They're fairly self-explanatory - this rule will allow everybody to run executables that are located within the Windows directory. If on a local machine, you can query the registry at HKLM:Software\Policies\Microsoft\Windows\SrpV2
to obtain the same.
Note that DLL rules are not enforced. This is commonly the case because Microsoft say it can impact system performance.
The Get-ChildItem
cmdlet is permitted under CLM.