I build a small demo application to change some system policies and settings related to the Explorer, Network, System. I do this by writing keys in the registry ,like HKEY_CURRENT_USER, "software\microsoft\windows\currentversion\policies\system", "DisableTaskMgr", 1 HKEY_CURRENT_USER, "software\microsoft\windows\currentversion\policies\Explorer", "NoLogoff", 1 HKEY_CURRENT_USER, "software\microsoft\windows\currentversion\policies\Explorer", "NoClose", 1 The problem is that when I have a User with restricted rights (i.e. Guest), I am not able to access the HKCU Tab of the current User. The second Problem is that i dont want to reboot my system to make changes have effect. There must be a solution to resynch the registry. Hope someone can help me quick !!
Sample Code in VB or Delphi or a com component with description to fix that problems.