QUOTE(smiley @ Aug 27 2007, 01:50 PM)

I agree with booty#1 that winbuilder's operations should be able to work with user privileges whenever posiible.
Well, the ansuer is yes!
When microsoft introduced UAC, they added a new api call named RegLoadAppKey which can load a key in the registry with UAC enabled. See here: http://msdn2.microsoft.com/en-us/library/ms724886.aspx
Warning: this function exists only in vista
I suggest you, to make winbuilder use RegLoadKey and if it is run under vista it should use RegLoadAppKey.
Thank you - this is something new and I'll look into it as soon as I get back home.
Will it load our traditional setupreg.hiv files?

--------------------------
The registry hives are loaded to a specific kernel memory area - I'm not sure how restricted is the access to this specific memory section but I remember reading some notes from russinovich where he mentions some of his tests.
It seems that hive files are loaded to memory and written back every 2 seconds whenever some of his hive sectors are marked as "dirty".
These details are better provided on a systernals guide. You can find the link on the raw registry discussion topic at the windows sub-forum here on boot-land.
So, from this idea, you can *likely* scan the memory area to find where the registry is placed and from this location read the needed key values.
Since we're just reading data it should be a quite safe process but I can only confirm this method in action once I get back to work and have some time to test it properly.
------------------------------------------------
btw: Are we really going to have a wb that doesn't work on sundays?

How about limiting the daily use of each project to around 10 minutes per day?
(my wife would surely like this one..
)