Solved

Registry access with programs installed under Administrator

Posted on 1997-05-23
3
132 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

Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

Join & Write a Comment

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

762 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now