TestimoX

API Reference

Class

PolApplier

Namespace ADPlayground.Gpo.GpoLocal
Assembly ADPlayground
Modifiers static

Applies policy entries to the Windows registry.

Inheritance

  • Object
  • PolApplier

Methods

public static Void ApplyToRegistry(String polPath, RegistryHive hive, RegistryView view = Default) #
Returns: Void

Applies a registry.pol file to the specified hive (HKLM/HKCU).

Parameters

polPath System.String requiredposition: 0
hive Microsoft.Win32.RegistryHive requiredposition: 1
view Microsoft.Win32.RegistryView = Default optionalposition: 2