Hi,
I wanted to understand how the group policy under
"AdministrativeTemplate\WindowsComponents\RemoteDeskTopServices\RemoteDesktopSessionHost\Security"
and the restry entry under “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services” is related.
For example
"Always prompts for password upon connection" is set toEnable , in the group policy editor dialog ,.Now from the code set thefPromptForPassword to 0 in the registry . But still the prompt for password is active .
If the system is restarted it seems the system is taking the registry value 0 . Checking the group policy shows "Always prompts for password upon connection" asEnable.
I wanted to understand how the group policy and the registry key related?
From where the system applying the policy , from registry or from some where?
Is it right approach to update the registry to change the policy at runtime ?
regards
Somaraj