CLID, SID, GUID or UUID?

  • Thread starter Thread starter Vinson
  • Start date Start date
V

Vinson

I have written a program that can set certain policy in Vista, and it worked
well until Vista sudden surprised me. Some policy is set in the HKCU hive
which affects both user and machine level policy. Until a moment ago, it was
simple to enumerate these keys and find the right path to complete a policy
setting. When enumerating, you would find unique keys in the path like the
one below:

{4A9E4C6C-4C1C-454A-BFB9-0FA926B1A5FC}User
{22FE4C6C-4F1C-4CDA-B9A9-A93DE2AC3EDF}Machine

The process works every time, unless Vista decides to add two additional
keys to the path; one additional machine and one user key. Then, it becomes
a mystery! =\

Can anyone tell me how to resolve the User key above into the user currently
logged in? I would like to have a clearly defined path before apply policy.

Many thanks,

Vinson
 
Vinson said:
I have written a program that can set certain policy in Vista, and it worked
well until Vista sudden surprised me. Some policy is set in the HKCU hive
which affects both user and machine level policy. Until a moment ago, it was
simple to enumerate these keys and find the right path to complete a policy
setting. When enumerating, you would find unique keys in the path like the
one below:

{4A9E4C6C-4C1C-454A-BFB9-0FA926B1A5FC}User
{22FE4C6C-4F1C-4CDA-B9A9-A93DE2AC3EDF}Machine

The process works every time, unless Vista decides to add two additional
keys to the path; one additional machine and one user key. Then, it becomes
a mystery! =\

Can anyone tell me how to resolve the User key above into the user currently
logged in? I would like to have a clearly defined path before apply policy.

Many thanks,

Vinson








I got the same problem .Can please somebody help us?


Amar
 
Back
Top