|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problem reading from registry when in limited account.
I have a program that depends on reading certain registry keys inorder to do it's job. It doesn't have to change or alter the keys, just read them. The problem I am having is that when the program is run under a limited user account, which 90% of the time it will be, the program generates a SecurityException error. I know it's a result of the program trying to read the registry under a limited user account. Is there a way to programatticaly give the program read access to certain registry keys? If it makes any difference, the keys are not created by the system, but rather by a second program I created that is only run under an account with Admin privlidges. The program I am having trouble with also runs right after the user logs in.
|
|
#2
|
||||
|
||||
|
No, this a machine security issue and the software can't overwrite that. The only way around this would be to run the application under an account that can read the registry.
|
|
#3
|
|||
|
|||
|
As a computer administrator you can adjust security settings on selected registry keys using regedit.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Problem reading from registry when in limited account. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|