Solved

Users policies and OS registry

Posted on 2002-03-04
5
164 Views
Last Modified: 2012-05-04
I want to make my application able to write to the Windows registry, even if the user who is logged on the domain has no right to permorm such operation on his own machine.

The app calls API function like RegCreateKeyEx and RegSetValueExString to save to the registry.

Thanks,

freg.
0
Comment
Question by:freg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6975166
mmmm...let's see.
0
 
LVL 1

Author Comment

by:freg
ID: 6980454
Richie,

I think i've found that since i wrote to the registry in the HKEY_LOCAL_MACHINE section, the simple user can not save the app settings.  Probably i must write the settings in the HKEY_CURRENT_USER.

But what if i want all users using those settings, even they're simple users ?
0
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 100 total points
ID: 6996494
Maybe you could do something with winbatch:
http://www.windowware.com/winware/whitepapers/run_as_a_user.html
0
 
LVL 12

Expert Comment

by:guidway
ID: 7306321
This question appears to have been abandoned. A Moderator will be asked to
close this question after seven days, with the following recommended
disposition:

Points to Richie_Simonetti

If you have any comment or objection to the recommendation, please leave it here.

guidway
EE Cleanup Volunteer
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7331673
Per recommendation, force-accepted.

Netminder
CS Moderator
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question