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. Write DWORD Value in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer on Vista

Write DWORD Value in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer on Vista

Scheduled Pinned Locked Moved C#
windows-admin
4 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
    Sunil G 3
    wrote on last edited by
    #1

    Hi, I want to Write DWORD Value in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer. My application writes the value registry only if i run my application as an administrator on vista. I want on normal exe execution. and I dont want to disable UAC on vista. Reply ASAP. Regars, Sunil G.

    S 1 Reply Last reply
    0
    • S Sunil G 3

      Hi, I want to Write DWORD Value in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer. My application writes the value registry only if i run my application as an administrator on vista. I want on normal exe execution. and I dont want to disable UAC on vista. Reply ASAP. Regars, Sunil G.

      S Offline
      S Offline
      Saksida Bojan
      wrote on last edited by
      #2

      You can atempt to change permision, althou i think UAC will prevent. Other option is to modify your manifest, so that your app runs in admin mode. But everytime you open application, it will pop up UAC confirmation window.

      S 1 Reply Last reply
      0
      • S Saksida Bojan

        You can atempt to change permision, althou i think UAC will prevent. Other option is to modify your manifest, so that your app runs in admin mode. But everytime you open application, it will pop up UAC confirmation window.

        S Offline
        S Offline
        Sunil G 3
        wrote on last edited by
        #3

        Hi, I Dont want UAC confirmation window. Regards, Sunil G.

        C 1 Reply Last reply
        0
        • S Sunil G 3

          Hi, I Dont want UAC confirmation window. Regards, Sunil G.

          C Offline
          C Offline
          Calla
          wrote on last edited by
          #4

          At install time for your application (because you will be running your app as admin at installation) set the ACL for that specific Registry Entry and allow users to write to it. This will ge you started: this [^]

          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