Visual Basic problem with different user profiles

pts.
Tags:
Active Directory
Visual Basic
My visual basic is work with only domain administrator profile. when i loged in as a local adminstrator it is giving access regestry denied. Can anybody help me to solve this issue

Answer Wiki

Thanks. We'll let you know when a new response is added.

1) On the systernals site you should download and run RegMon. This will help you find the exact registry key that is causing problems. 2) In regedit you can set permissions on a registry key. 3) if the Admin account is unable to set permissions on the registry key, you must use the system account to grant permissions to the admin account. To do this you setup a scheduled task to start regedit. The task runs under the system account and then you can use regedit to grant the admin account permissions to unlock the registry key. There are Knowledge base articles on the microsoft site to explain this, but you have to find them yourself.

Good luck

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • 9949748886
    I don't know if you are able to launch the application or the error you were getting after you launch and work in visual basic. There is a utility called "Dcomcnfg.exe" that could help you in this regard. Administrator might not have the permissions to launch the application. You can provide the Local Administrator the permission to launch the application and work on it. 1. Click Start->Run and type DCOMcnfg.exe. 2. In default Security(win2000)/COM Security(XP) you can set the permissions who can access, launch and activate the applications. 3. Make sure that the local Administrator is listed in the permissions window. If not add him and save the settings. Hope it may help. Regards, Shafi.
    0 pointsBadges:
    report
  • Invisflare
    Just want to add a little detail: you access the COM Security by going to the Properties page of My Computer in dcomcnfg.exe MMC.
    0 pointsBadges:
    report
  • DaveInAZ
    I would start with this article; http://support.microsoft.com/kb/274484/en-us. It describes the keys that are most likely to be a problem, even if it isn't the exact same scenario you're having. If none of these suggestions solve the problem, please give us more detail about precisely when the error occurs and what the actual error is.
    0 pointsBadges:
    report
  • 144144
    Hi, Thanks everybody for giving valuable suggetions. I will just work on this and get back to you.. Mohan
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following