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. Write in registry

Write in registry

Scheduled Pinned Locked Moved C / C++ / MFC
c++windows-adminquestion
3 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.
  • _ Offline
    _ Offline
    _Flaviu
    wrote on last edited by
    #1

    Is there possible to write a registry key inside HKEY_LOCAL_MACHINE whith an app which is not running as admin ? I have tried that, I cannot write to HKEY_LOCAL_MACHINE with a MFC app where is run without administrator rights ...

    Richard DeemingR 1 Reply Last reply
    0
    • _ _Flaviu

      Is there possible to write a registry key inside HKEY_LOCAL_MACHINE whith an app which is not running as admin ? I have tried that, I cannot write to HKEY_LOCAL_MACHINE with a MFC app where is run without administrator rights ...

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      No - not unless an administrator has previously changed the permissions on the key in question to grant the non-admin user permission to write to it.


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      _ 1 Reply Last reply
      0
      • Richard DeemingR Richard Deeming

        No - not unless an administrator has previously changed the permissions on the key in question to grant the non-admin user permission to write to it.


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        _ Offline
        _ Offline
        _Flaviu
        wrote on last edited by
        #3

        Thank you.

        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