TestimoX

API Reference

Class

PolicyLoader

Namespace ADPlayground.Gpo.GpoLocal
Assembly ADPlayground
Modifiers static

Provides helpers for loading policy-related registry hives.

Inheritance

  • Object
  • PolicyLoader

Methods

public static IDisposable MountHiveToHklm(String path, String mountPoint) #
Returns: IDisposable

Mounts a registry hive file under HKEY_LOCAL_MACHINE.

Parameters

path System.String requiredposition: 0
mountPoint System.String requiredposition: 1
public static IDisposable MountNtUserDat(String path, String mountPoint) #
Returns: IDisposable

Mounts an NTUSER.DAT file under HKEY_USERS.

Parameters

path System.String requiredposition: 0
Path to the NTUSER.DAT file.
mountPoint System.String requiredposition: 1
Name for the mounted hive under HKEY_USERS.

Returns

An IDisposable that unmounts the hive when disposed.