Guest Emmanuel Stapf [ES] Posted January 20, 2009 Posted January 20, 2009 Hi, I have a program that worked successfully for quite some time and just recently it stopped working. I tracked it down to a reading of a registry key located in HKLM\Software where I get an error from the Win32 API `RegOpenKeyEx' which returns with a value of 2 (that is to say there is no such entries). But there is such an entry so this is very puzzling. What is happening? Why was it working before and not now? The same program works fine under another vista machine which is more or less configured the same way. Of course disabling UAC works but that's out of the question. Thanks, Manu Quote
Guest Ondrej Sevecek Posted January 21, 2009 Posted January 21, 2009 what about registry virtualization? is that enabled or disabled and what about the feature on the other Vista machine? is the program in question running with Elevated privileges, or just without? ondra. "Emmanuel Stapf [ES]" <manus@newsgroups.nospam> wrote in message news:OAEqJxzeJHA.1336@TK2MSFTNGP02.phx.gbl...<span style="color:blue"> > Hi, > > I have a program that worked successfully for quite some time and just > recently it stopped working. I tracked it down to a reading of a registry > key located in HKLMSoftware where I get an error from the Win32 API > `RegOpenKeyEx' which returns with a value of 2 (that is to say there is no > such entries). But there is such an entry so this is very puzzling. > > What is happening? Why was it working before and not now? The same program > works fine under another vista machine which is more or less configured > the same way. > > Of course disabling UAC works but that's out of the question. > > Thanks, > Manu > > </span> Quote
Guest FromTheRafters Posted January 21, 2009 Posted January 21, 2009 http://msdn.microsoft.com/en-us/library/aa965884.aspx Maybe you could clear the virtual store key and get it working again? "Emmanuel Stapf [ES]" <manus@newsgroups.nospam> wrote in message news:OAEqJxzeJHA.1336@TK2MSFTNGP02.phx.gbl...<span style="color:blue"> > Hi, > > I have a program that worked successfully for quite some time and just > recently it stopped working. I tracked it down to a reading of a registry > key located in HKLMSoftware where I get an error from the Win32 API > `RegOpenKeyEx' which returns with a value of 2 (that is to say there is no > such entries). But there is such an entry so this is very puzzling. > > What is happening? Why was it working before and not now? The same program > works fine under another vista machine which is more or less configured > the same way. > > Of course disabling UAC works but that's out of the question. > > Thanks, > Manu > > </span> Quote
Guest Emmanuel Stapf [ES] Posted January 22, 2009 Posted January 22, 2009 Ondrej Sevecek wrote:<span style="color:blue"> > what about registry virtualization? is that enabled or disabled and what > about the feature on the other Vista machine?</span> It is set to CLEAR for the DONT_VIRTUALIZE flag. So I guess it is virtualized because my program is run with elevated priviliges. Regards, Manu <span style="color:blue"> > is the program in question running with Elevated privileges, or just > without? > > ondra. > > > "Emmanuel Stapf [ES]" <manus@newsgroups.nospam> wrote in message > news:OAEqJxzeJHA.1336@TK2MSFTNGP02.phx.gbl...<span style="color:green"> >> Hi, >> >> I have a program that worked successfully for quite some time and just >> recently it stopped working. I tracked it down to a reading of a >> registry key located in HKLMSoftware where I get an error from the >> Win32 API `RegOpenKeyEx' which returns with a value of 2 (that is to >> say there is no such entries). But there is such an entry so this is >> very puzzling. >> >> What is happening? Why was it working before and not now? The same >> program works fine under another vista machine which is more or less >> configured the same way. >> >> Of course disabling UAC works but that's out of the question. >> >> Thanks, >> Manu >> >></span> > </span> Quote
Guest Emmanuel Stapf [ES] Posted January 22, 2009 Posted January 22, 2009 FromTheRafters wrote:<span style="color:blue"> > http://msdn.microsoft.com/en-us/library/aa965884.aspx > > Maybe you could clear the virtual store key and get it working > again?</span> As far as I can tell the virtual store is empty or at least does not contain the key I'm trying to read. Manu <span style="color:blue"> > > "Emmanuel Stapf [ES]" <manus@newsgroups.nospam> wrote in message > news:OAEqJxzeJHA.1336@TK2MSFTNGP02.phx.gbl...<span style="color:green"> >> Hi, >> >> I have a program that worked successfully for quite some time and just >> recently it stopped working. I tracked it down to a reading of a registry >> key located in HKLMSoftware where I get an error from the Win32 API >> `RegOpenKeyEx' which returns with a value of 2 (that is to say there is no >> such entries). But there is such an entry so this is very puzzling. >> >> What is happening? Why was it working before and not now? The same program >> works fine under another vista machine which is more or less configured >> the same way. >> >> Of course disabling UAC works but that's out of the question. >> >> Thanks, >> Manu >> >></span> > > </span> Quote
Guest Emmanuel Stapf [ES] Posted January 22, 2009 Posted January 22, 2009 FromTheRafters wrote:<span style="color:blue"> > http://msdn.microsoft.com/en-us/library/aa965884.aspx > > Maybe you could clear the virtual store key and get it working > again?</span> As far as I can tell the virtual store is empty or at least does not contain the key I'm trying to read. Manu <span style="color:blue"> > > "Emmanuel Stapf [ES]" <manus@newsgroups.nospam> wrote in message > news:OAEqJxzeJHA.1336@TK2MSFTNGP02.phx.gbl...<span style="color:green"> >> Hi, >> >> I have a program that worked successfully for quite some time and just >> recently it stopped working. I tracked it down to a reading of a registry >> key located in HKLMSoftware where I get an error from the Win32 API >> `RegOpenKeyEx' which returns with a value of 2 (that is to say there is no >> such entries). But there is such an entry so this is very puzzling. >> >> What is happening? Why was it working before and not now? The same program >> works fine under another vista machine which is more or less configured >> the same way. >> >> Of course disabling UAC works but that's out of the question. >> >> Thanks, >> Manu >> >></span> > > </span> Quote
Guest FromTheRafters Posted January 24, 2009 Posted January 24, 2009 So, the program runs elevated? Vista compatible? Wild geese and red herring for dinner!? UAC also affects the integrity level mechanism - but that wouldn't explain how it worked before but not now. Sorry, I'm lost... ....maybe tech support could help you. "Emmanuel Stapf [ES]" <manus@newsgroups.nospam> wrote in message news:urFeGMGfJHA.1288@TK2MSFTNGP02.phx.gbl...<span style="color:blue"> > FromTheRafters wrote:<span style="color:green"> >> http://msdn.microsoft.com/en-us/library/aa965884.aspx >> >> Maybe you could clear the virtual store key and get it working >> again?</span> > > As far as I can tell the virtual store is empty or at least does not > contain the key I'm trying to read. > > Manu ><span style="color:green"> >> >> "Emmanuel Stapf [ES]" <manus@newsgroups.nospam> wrote in message >> news:OAEqJxzeJHA.1336@TK2MSFTNGP02.phx.gbl...<span style="color:darkred"> >>> Hi, >>> >>> I have a program that worked successfully for quite some time and just >>> recently it stopped working. I tracked it down to a reading of a >>> registry key located in HKLMSoftware where I get an error from the >>> Win32 API `RegOpenKeyEx' which returns with a value of 2 (that is to say >>> there is no such entries). But there is such an entry so this is very >>> puzzling. >>> >>> What is happening? Why was it working before and not now? The same >>> program works fine under another vista machine which is more or less >>> configured the same way. >>> >>> Of course disabling UAC works but that's out of the question. >>> >>> Thanks, >>> Manu >>> >>></span> >> </span></span> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.