Solved

Registry access with programs installed under Administrator

Posted on 1997-05-23
3
135 Views
Last Modified: 2013-12-28
I installed Visual Basic on NT 4.0 WS under Administrator. When I log on under another user name, I receive a message like "Cannot access Registry" and VB doesn't start.
What can I do to make it work ?
0
Comment
Question by:greisch
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
cer earned 100 total points
ID: 1778564
You have installed VB as Administrator not as THIS user.
You can reinstall it as THE user. If there are more users, best is to use REGEDT32 and copy the new entries in HKCU to a file and import it being the user. You can automate it by building a *.reg file wich is startet with REGEDIT. Look if there are already REG files with your VB which have to be "doubleclicked" by a user first. (Use explorer and search for *.reg)

0
 
LVL 3

Author Comment

by:greisch
ID: 1778565
When I try to modify the registry (not under administrator), I receive the message "Error accessing the system registry".

Is there something I can do ?
0
 
LVL 5

Expert Comment

by:cer
ID: 1778566
Which part?

HKLM is the machine part and the same for all users. A user should not be able to change it, only the Admin can.

HKCU is the current user. It should be possible for the user to change it. If not: Use REGEDT32.EXE click on the tree (not on a value) and choose the first item under "Security" Pull-Down Menue.
If you have bad luck, you are not allowed to change your own settings (must be an accident, or on purpose from an Admin). In this case you must add yourself to the Admin-group, take over the registry hieve, modify the security and remove yourself from Admin-group.
It is also somehow possible to load/change/save a user-registry when logged in as admin, but I never did that.

0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

821 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