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. manifest files

manifest files

Scheduled Pinned Locked Moved C#
csharpquestion
3 Posts 3 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.
  • U Offline
    U Offline
    User 8196876
    wrote on last edited by
    #1

    Scenario: I have an application in C# with an application.manifest file. This file controls the user privilage level. I have it set to administrator. This is because on windows vista and 7 machines my program wants elevated rights. This works fine except it prompts the user every time. I would like it not to ask the user to elevate privilages. How can i do this.

    T J 2 Replies Last reply
    0
    • U User 8196876

      Scenario: I have an application in C# with an application.manifest file. This file controls the user privilage level. I have it set to administrator. This is because on windows vista and 7 machines my program wants elevated rights. This works fine except it prompts the user every time. I would like it not to ask the user to elevate privilages. How can i do this.

      T Offline
      T Offline
      Trak4Net
      wrote on last edited by
      #2

      If your application requires elevated privileges and the user is on windows 7 with UAC enabled then you really can't get around it. Even builtin operating system functions prompt you when it needs elevated access. Even if you are logged in with administrative rights it will prompt you to run the process. This can only be changed by UAC settings either local policy or domain policy, however that opens a security risk to the machine, also if you disable UAC and the user does not have the proper privileges then you are looking at exceptions occuring from not having the correct access. Unless of course they right click and choose "run as administrator".

      1 Reply Last reply
      0
      • U User 8196876

        Scenario: I have an application in C# with an application.manifest file. This file controls the user privilage level. I have it set to administrator. This is because on windows vista and 7 machines my program wants elevated rights. This works fine except it prompts the user every time. I would like it not to ask the user to elevate privilages. How can i do this.

        J Offline
        J Offline
        jschell
        wrote on last edited by
        #3

        Member 8231963 wrote:

        This is because on windows vista and 7 machines my program wants elevated rights.

        You could always re-examine the reason why it needs elevated rights.

        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