Skip to content

3. App configuration

Heiko edited this page Nov 15, 2026 · 3 revisions

Simple LAPS GUI can be configured by either using the script parameters or the policies from the Administrative Templates. (All configurations are documented based on the latest released version.)

Script parameters

All parameter names have to be prefixed with a minus in the command.

Parameter Possible Values Default Value Feature
CopyLinkTargetsToClipboard Not set. Links in the app are not opened and instead copied to clipboard.
WindowsEventLogEnabled Not set. Enable logging.
LogLevel INFO, WARNING, ERROR WARNING Set the log level.
LogFilePath File path. Empty Write the log into a file instead using Windows Event Log as target.

Group Policies

You can get the Administrative Templates as separate downloads or as part of the setup file in the download area.

Name Feature
Copy links instead of opening them Control how links in the app are handled: Open or copy to clipboard.
Enable logging to Windows Event Log Enable logging to Windows Event Log and configure log level.
Log to file instead of Windows Eventlog Write the log into a file instead using Windows Event Log as target. If disabled, Windows Event Log is enforced as target.

Registry

The the following values in HKLM or HKCU under Software\Policies\htcfreek\SimpleLapsGUI.

Copy link behavior

Control how links in the app are handled: Open or copy to clipboard.

  • Enabled:
    CopyLinkTargetsToClipboard = DWORD: 1

  • Disabled:
    CopyLinkTargetsToClipboard = DWORD: 0

Windows Event Log

Enable logging to Windows Event Log and configure log level.

  • Enabled:
    WindowsEventLogEnabled = DWORD: 1
    WindowsEventLogLevel = SZ: ERROR/WARNING/INFO

  • Disabled:
    WindowsEventLogEnabled = DWORD: 0

Logfile instaed of Windows Event Log

Write the log into a file instead using Windows Event Log as target. If disabled, Windows Event Log is enforced as target.

  • Enabled:
    UseLogFile = DWORD: 1
    LogFilePath = EXPAND_SZ: file path

  • Disabled:
    UseLogFile = DWORD: 0

Clone this wiki locally