Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Registry access with programs installed under Administrator

Posted on 1997-05-23
3
Medium Priority
?
141 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 300 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
By default Outlook 2016 displays only one time zone in the Calendar. The following article explains how to display two time zones in one calendar view.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

722 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