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. Windows API
  4. virtual registry entries.

virtual registry entries.

Scheduled Pinned Locked Moved Windows API
windows-adminhelptutorialquestion
2 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.
  • S Offline
    S Offline
    sheetal_06
    wrote on last edited by
    #1

    I have a piece of code which checks whether the current user has the permission to access a HKEY_LOCAL_MACHINE registry entry.When i change the access right for the user to limited actually the user should not be allowed to acess the particular registry entry.But vista is allowing where as xp is not allowing.In vista i think it is getting written into the virtual registry entries(since it doesn't allow in the actual registry).How to prevent this? Any help would b of great use. Thanks

    J 1 Reply Last reply
    0
    • S sheetal_06

      I have a piece of code which checks whether the current user has the permission to access a HKEY_LOCAL_MACHINE registry entry.When i change the access right for the user to limited actually the user should not be allowed to acess the particular registry entry.But vista is allowing where as xp is not allowing.In vista i think it is getting written into the virtual registry entries(since it doesn't allow in the actual registry).How to prevent this? Any help would b of great use. Thanks

      J Offline
      J Offline
      James Brown
      wrote on last edited by
      #2

      Vista could be using 'registry virtualization' - your program will not be writing to where you think it is. Embed a 'UAC manifest' as a resource in your program to fix this problem.


      http://www.catch22.net

      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