Application not running

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vijayB
    New Member
    • Mar 2008
    • 40

    Application not running

    Hi All,

    I have created a sample application in vb.net 2k3. I am accessing and creating registry entries from application. It works fine if I am running that aaplication from Admin account. But if I switched to restricted user account, it is not running.

    Please help me to solve this problem.

    Thanks.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    That is just the security model doing its job.

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      Where in the registry are you trying to access?
      I *think* from moderatly privliged user accounts, you can add things to the current user section or maybe under the software section of current machine.
      If you're on a no-privliged account, you shouldn't be using the registry to begin with.

      Comment

      • vijayB
        New Member
        • Mar 2008
        • 40

        #4
        I am writting an application, through which I am accessing "HKLM/software/<MySubKey>". If I run this application using admin privileges, it works, but not the case with normal user.

        Comment

        • kenobewan
          Recognized Expert Specialist
          • Dec 2006
          • 4871

          #5
          Originally posted by vijayB
          I am writting an application, through which I am accessing "HKLM/software/<MySubKey>". If I run this application using admin privileges, it works, but not the case with normal user.
          Its good to know that your application is working as it should. Think of the security risk should any user be able to alter the registry keys. Nice work to avoid that design flaw.

          Comment

          Working...