Quantcast
Viewing all articles
Browse latest Browse all 5613

Can Remote desktop service group policy updated by editing the registry

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


Viewing all articles
Browse latest Browse all 5613

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>