Solved

Registry access with programs installed under Administrator

Posted on 1997-05-23
3
136 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
[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
  • 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Suggested Solutions

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

732 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