View Single Post
Old 08-01-2007   #2 (permalink)
Andrew McLaren


 
 

Re: Vista registry virtualization

"Bob Butler" <noway@nospam.ever> wrote ...
> I've tried using ImpersonateLoggedOnUser which the MS web page says
> disables virtualization and that seems to work for a user that has admin
> rights (running elevated or not) but not for a regular user. What am I
> missing?


Hi Bob,

This is rather a stab in the dark, but ... maybe you can add a manifest to
the EXE?

As per the MSDN page on Virtualisation
(http://msdn2.microsoft.com/en-us/library/aa965884.aspx) if the app uses a
requestedExecutionLevel in a manifest, then Virtuliasation will be disabled.

It looks like you're using VB6? Embedding a manifest into a VB6 app is a
little bit of a hassle; at least setting it up the first time. There's a
good description of the procedure, here:
http://www.experts-exchange.com/Prog..._22156349.html

Caveat, I haven't tried this myself ... I'm just guessing it will solve your
problem, really (albeit, an educated guess :-).

Other folks may have better ideas.
--
Andrew McLaren
amclar (at) optusnet dot com dot au


My System SpecsSystem Spec