UAC and permissions on HKLM registry

  • Thread starter Thread starter Doug Walch
  • Start date Start date
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.
 
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.
 
Registry virtualisation will redirect writes to HKLM to HKCU, so you don't
have to worry about the write failing.
 
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.
 
Back
Top