Hi all,
I would like to know how to set the Initial Program property in Remote Desktop Services (RD Session Host Configuration > RDP-Tcp > Environments) through registry. I want to set to "Do not allow an initial program to be launched; always show desktop".
I already know that is possible through GPO, but I don't want to. I also how to set to the other two options ("Run initial program specified by user profile and Remote Desktop Connection or client" and "Specify the following program when user logs on")... it's by changing the registry value fInheritInitialProgramin HKLM\SYSTEM\ControlSet001\Control\Terminal Server \WinStation\RDP-Tcp.
sources:
https://technet.microsoft.com/ru-ru/hh870506
http://etutorials.org/Microsoft+Products/microsoft+windows+server+2003+terminal+services/Chapter+6+Registry/Registry+Keys+for+Terminal+Services/