Skip to content

Instantly share code, notes, and snippets.

@Ath3na-UK
Ath3na-UK / capabilities.reg
Created March 10, 2022 09:53
capabilities
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE]
[HKEY_LOCAL_MACHINE\SOFTWARE]
[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]
"7-Zip"="SOFTWARE\\Company\\7-Zip\\Capabilities"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes]
@Ath3na-UK
Ath3na-UK / Invoke-ServiceUI.ps1
Created April 24, 2024 10:04 — forked from DanGough/Invoke-ServiceUI.ps1
Stub script for launching PSADT with ServiceUI only if a specific exe (explorer.exe by default) is running
<#
.SYNOPSIS
This is a helper script to launch Deploy-Application.exe via ServiceUI to force the process to become visible when deployed by Intune, or other deployment systems that run in session 0.
.DESCRIPTION
By default it will invoke ServiceUI if explorer.exe is running and the current process is non-interactive. An alternate ProcessName can be specified if you only want the toolkit to be visible when a specific application is running.
.PARAMETER ProcessName
Specifies the name of the process check for to trigger the interactive installation. Default value is 'explorer'. Multiple values can be supplied such as 'app1','app2'. The .exe extension must be omitted.