Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Vista registry virtualisation issue when running my application

Vista registry virtualisation issue when running my application

Scheduled Pinned Locked Moved C / C++ / MFC
c++windows-adminhelp
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hariakuthota
    wrote on last edited by
    #1

    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.....

    _ 1 Reply Last reply
    0
    • H hariakuthota

      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.....

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      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_»

      H 1 Reply Last reply
      0
      • _ _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_»

        H Offline
        H Offline
        hariakuthota
        wrote on last edited by
        #3

        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?

        _ 1 Reply Last reply
        0
        • H hariakuthota

          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?

          _ Offline
          _ Offline
          _Superman_
          wrote on last edited by
          #4

          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_»

          H 1 Reply Last reply
          0
          • _ _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_»

            H Offline
            H Offline
            hariakuthota
            wrote on last edited by
            #5

            Thanks for the info.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups