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#
  4. How to set values in registry when UAC is enabled?

How to set values in registry when UAC is enabled?

Scheduled Pinned Locked Moved C#
windows-adminhelptutorialquestion
3 Posts 3 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
    S a n d y
    wrote on last edited by
    #1

    Hello, I want to set values in Vista registry (in UAC enabled mode) on this (HKEY_LOCAL_MACHINE\SOFTWARE\MyFolder) path but the values are set on diffrent (HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\MyFolder) path. How to set values in that (HKEY_LOCAL_MACHINE\SOFTWARE\MyFolder) path if UAC is enabled. Plz help me:rose:

    realJSOPR L 2 Replies Last reply
    0
    • S S a n d y

      Hello, I want to set values in Vista registry (in UAC enabled mode) on this (HKEY_LOCAL_MACHINE\SOFTWARE\MyFolder) path but the values are set on diffrent (HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\MyFolder) path. How to set values in that (HKEY_LOCAL_MACHINE\SOFTWARE\MyFolder) path if UAC is enabled. Plz help me:rose:

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #2

      You can't write to (or edit) keys under HKEY_LOCAL_MACHINE unless you're in the administrator group.

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      1 Reply Last reply
      0
      • S S a n d y

        Hello, I want to set values in Vista registry (in UAC enabled mode) on this (HKEY_LOCAL_MACHINE\SOFTWARE\MyFolder) path but the values are set on diffrent (HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\MyFolder) path. How to set values in that (HKEY_LOCAL_MACHINE\SOFTWARE\MyFolder) path if UAC is enabled. Plz help me:rose:

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Embed a manifest in your application to make it run as administrator.

        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