Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Vista UAC: run as another user with admin rights

Vista UAC: run as another user with admin rights

Scheduled Pinned Locked Moved C#
helpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mSh1985
    wrote on last edited by
    #1

    I have an application with a function which needs to be run as administrator, but it needs to be the administrator of another account. Maybe this is not clear at all, so i'll specify my question :) user1 runs an application user1 presses a button which results in running another application this other application has a manifest file which says to the uac that it needs to be runned with elevated rights But i don't want this second application to be run with elevated rights from user1, but from user2 (user2 is a domain administrator, user1 is not) Over the shoulder credentials is turned of on every pc here, so there is no way the user1 can change to user2 (his domain administrator account). I've been googling for a solution for this problem, but i cannot find anything useful. Is there anyone who can point me in the right direction. I only want vista to prompt me for giving a user and pasword for running this application as a domain admin.. Thanks in advance to anyone who can point me in the right direction edit: should i have posted this under the vista forum :~

    J 1 Reply Last reply
    0
    • M mSh1985

      I have an application with a function which needs to be run as administrator, but it needs to be the administrator of another account. Maybe this is not clear at all, so i'll specify my question :) user1 runs an application user1 presses a button which results in running another application this other application has a manifest file which says to the uac that it needs to be runned with elevated rights But i don't want this second application to be run with elevated rights from user1, but from user2 (user2 is a domain administrator, user1 is not) Over the shoulder credentials is turned of on every pc here, so there is no way the user1 can change to user2 (his domain administrator account). I've been googling for a solution for this problem, but i cannot find anything useful. Is there anyone who can point me in the right direction. I only want vista to prompt me for giving a user and pasword for running this application as a domain admin.. Thanks in advance to anyone who can point me in the right direction edit: should i have posted this under the vista forum :~

      J Offline
      J Offline
      Johnny Jackson
      wrote on last edited by
      #2

      Yes, this is a question about Vista's UAC not the application itself

      M 1 Reply Last reply
      0
      • J Johnny Jackson

        Yes, this is a question about Vista's UAC not the application itself

        M Offline
        M Offline
        mSh1985
        wrote on last edited by
        #3

        ok thanks, i reposted this question in the vista forum.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups