UAC and permissions on HKLM registry

D

Doug Walch

In the XP environment, we have an asset management program that sucks the
machines serial number out of the BIOS, and subsequently writes the value to
the registry in the HKLM hive. I'm wondering if this will be possible with
VISTA AND UAC. Will it be necessary to change the permissions on the
specific registry key (during the imaging process) in order for this to
occur without the user being prompted? TIA.
 
J

Jimmy Brush

Will it be necessary to change the permissions on the
specific registry key (during the imaging process) in order for this to
occur without the user being prompted? TIA.

Yes.
 
V

Vipin

Registry virtualisation will redirect writes to HKLM to HKCU, so you don't
have to worry about the write failing.
 
J

Jimmy Brush

Application developers should not rely on this "feature" - virtualization is
there to support old applications, not new ones. If you want to write to
HKLM, you need to have permissions to that key or ask the user to elevate.
Otherwise, write to HKCU.
 

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