TechSpot

Cannot write to registry - How to enable?

By eddy05
Nov 17, 2006
Topic Status:
Not open for further replies.
  1. Hello all... haven't been here for quite a while.

    I have a problem here. I am tasked by my company to create a program. Part of this program requires writing into the registry. I've created a prototype of it and when I try running it, I was unable to make changes to the registry.

    I'm running on a user with limited access (non administrator). I've tried enabling write access on C: as well as enabling "EVERYONE" to edit the HKEY_LOCAL_MACHINE key through regedit without any success. I've tried playing with the settings in gpedit.msc but can't find anything too.

    Any hints on where I should go about searching? Or is it that limited accounts are not able to edit the registry?
  2. Ididmyc600

    Ididmyc600 TechSpot Chancellor Posts: 2,251

    That probably is the reason, after all limited means limited, and why you always have to log on as admin to install anything.

    Regards
  3. smore9648

    smore9648 TS Rookie Posts: 757

    I am confused, why would you be tasked to write a program and only have a limited account?

    Just like it was said before, the word limited is just what you are for now, limited
  4. eddy05

    eddy05 TS Rookie Topic Starter Posts: 223

    Oh, I have access to its administrator account. I'm asked to write a program which, when functional, is to be run by users running on limited accounts. The program itself writes to the registry to store settings which is always changing when the program runs.
  5. Oops

    Oops TS Rookie

    Don't think just any user can run regedit. Wouldn't make much sense. Use your Admin rights.
  6. eddy05

    eddy05 TS Rookie Topic Starter Posts: 223

    Using admin rights is OK.

    The problem is, the program itself is not able to edit the registry whilst running in a limited account. I wonder if there is a setting to enable user programs to edit the registry.
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.