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. Visual Basic
  4. How to determine what in application causes UAC to be trigger in Windows 7 SP 1?

How to determine what in application causes UAC to be trigger in Windows 7 SP 1?

Scheduled Pinned Locked Moved Visual Basic
questionsharepointdatabasetoolstutorial
4 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.
  • J Offline
    J Offline
    Jon_Boy
    wrote on last edited by
    #1

    Our company is attempting to roll out Windows 7 (SP1) to new client boxes. There is one very large app that is causing the UAC box to pop up asking for administrative rights. Is there a utility or way to determine what section of code is triggering the UAC to popup? The application is very large and it would be nice to narrow down what area is requiring elevated rights. Thanks for any pointers or guidance ahead of time.

    "There's no such thing as a stupid question, only stupid people." - Mr. Garrison

    D 1 Reply Last reply
    0
    • J Jon_Boy

      Our company is attempting to roll out Windows 7 (SP1) to new client boxes. There is one very large app that is causing the UAC box to pop up asking for administrative rights. Is there a utility or way to determine what section of code is triggering the UAC to popup? The application is very large and it would be nice to narrow down what area is requiring elevated rights. Thanks for any pointers or guidance ahead of time.

      "There's no such thing as a stupid question, only stupid people." - Mr. Garrison

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      There's nothing that would cover all possiblities. Even Microsoft ACT[^] can't do it reliably. But, just in case, you'd best give it a try.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      J 1 Reply Last reply
      0
      • D Dave Kreskowiak

        There's nothing that would cover all possiblities. Even Microsoft ACT[^] can't do it reliably. But, just in case, you'd best give it a try.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak

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

        Hey Dave, Saw your post Friday but forgot to reply. Yeah, I had tried ACT Friday, but didn't have much luck with it for this particular app. Thanks for the response though.

        "There's no such thing as a stupid question, only stupid people." - Mr. Garrison

        D 1 Reply Last reply
        0
        • J Jon_Boy

          Hey Dave, Saw your post Friday but forgot to reply. Yeah, I had tried ACT Friday, but didn't have much luck with it for this particular app. Thanks for the response though.

          "There's no such thing as a stupid question, only stupid people." - Mr. Garrison

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          No problem. We ran into this issue 2 year ago when we were considering moving from XP to Vista and had 1,000 apps to test. We quickly found out that there's nothing out there that can look at every app and tell you, definitively, which apps were going to work and which were going to fail, let alone how they were going to fail. There's a few thing to look at. The first is if you're going to enable UAC and at which level. The next is how your applications are going to react in a more restricted environment and how those problems are going to be mitigated. The results of some of this testing may affect the outcome of turning on UAC! The third thing to look at is the installers for your apps. Depending on your deployment environment, your apps may not even install correctly. We found a 40-50% failure rate in our installers alone. Most of those problems were easily resolved by either retiring the app if it was no longer needed, making only simple modifications to the installers, upgrading the app to a newer version, or using App-V to run the app.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak

          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