Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.58 KB

tsinitialprogram.md

File metadata and controls

44 lines (29 loc) · 1.58 KB

TS Initial Program

Location:

  • HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
  • HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
  • HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

Classification:

Criteria Value
Permissions Admin; User1
Security context User
Persistence type Registry
Code type EXE
Launch type User initiated2
Impact Non-destructive
OS Version All OS versions
Dependencies OS only
Toolset Scriptable

Description:

If the fInheritInitialProgram value is set to 1, the exe indicated in the InitialProgram value is automatically started on RDP connection.

References:

https://twitter.com/JacqBens/status/1560380971777662983

Credits:

@JacqBens

See also:

Remarks:

Footnotes

  1. For HKCU

  2. Terminal Services connection must be established