CLID, SID, GUID or UUID?

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
 
A

amar

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top