?
Solved

Users policies and OS registry

Posted on 2002-03-04
5
Medium Priority
?
166 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 400 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

752 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