Prev Previous Post   Next Post Next

Why can my app write successfully to HKLM\Software under Vista?

Posted: 02-28-2007, 05:53 PM
Everything I read consistently tells me that if UAC is enabled under Vista
(which it is on my PC) an ordinary application (post-install) which does not
have any kind of manifest at all, cannot write to the HKLM\Software area of
the registry. Instead, what is supposed to happen is that Virtualization is
supposed to redirect the write to

HKEY_CURRENT_USER\Software\Classes\VirtualStore\MA CHINE\Software

Well it doesn't. I run my app and change a per-machine setting and it
updates HKLM\Software no problems. Not only does it look to be updated fine
if I look at the HKLM\Software area in RegEdit, it still looks OK if I log
off and log back on using an ordinary (non-admin) account and look at
HKLM\Software there. If I run my app and change the per-machine setting
using the other account, sure enough it is changed when I log back on using
my first account.

In my first account, there do appear to be some settings in the
'VirtualStore' area but not many. Most of the settings appear not to be
virtualised.

What is going on? Any help with this would be much appreciated. The
documentation I am reading just does not match what I see.

Simon


Reply With Quote

Responses to "Why can my app write successfully to HKLM\Software under Vista?"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Has anyone successfully installed vista on a SIS chipset SATA driv Greatwhite Windows Vista Hardware & Devices 9 08-05-2006 06:09 AM
Successfully Downloaded Windows Vista X86 Beta 2 from MSDN Subscriber Downloads, just FYI. Kevin John Panzke Windows Vista 4 06-08-2006 08:33 PM
hklm windows run items gg Windows XP Configuration & Management 5 12-18-2005 04:58 AM
What is HKLM? Gordon Nelson Windows XP Configuration & Management 3 09-23-2004 12:43 AM
HKLM\ENUM PaulH Windows XP Setup 1 06-30-2003 01:34 PM