Vista registry virtualisation issue when running my application
-
Hi all, In my vc++ application I am performing some operations using the Registry functionality but in Vista , registry virtualisation is coming in to picture and is creating the keys in virtual store instead of the path which i gave.I have gone through some of the material on this topic and found that if the user is not an admin then this will happen.But for my laptop I am holding the admin previlages then how come I am not able to create the keys in the correct location. Thanks in Advance.....
-
Hi all, In my vc++ application I am performing some operations using the Registry functionality but in Vista , registry virtualisation is coming in to picture and is creating the keys in virtual store instead of the path which i gave.I have gone through some of the material on this topic and found that if the user is not an admin then this will happen.But for my laptop I am holding the admin previlages then how come I am not able to create the keys in the correct location. Thanks in Advance.....
In Vista, all programs run with low privileges by default even if the user has admin privileges. You have to elevate it to run with admin privilege by right clicking on the EXE and selecting "Run as Administrator".
«_Superman_»
-
In Vista, all programs run with low privileges by default even if the user has admin privileges. You have to elevate it to run with admin privilege by right clicking on the EXE and selecting "Run as Administrator".
«_Superman_»
Thats looks fine. But how can I do that programtically coz when I deliver my product to the customer it has to be done implicitly, we can ask the user/customer to run in using the context menu(using right click)... Do we have any other approach of doing this programatically?
-
Thats looks fine. But how can I do that programtically coz when I deliver my product to the customer it has to be done implicitly, we can ask the user/customer to run in using the context menu(using right click)... Do we have any other approach of doing this programatically?
You can specify the required privilege in the application manifest file which is an xml file. Please check some documentation on how it is done.
«_Superman_»
-
You can specify the required privilege in the application manifest file which is an xml file. Please check some documentation on how it is done.
«_Superman_»
Thanks for the info.