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. Windows API
  4. is it possible to permit Environment Variable creation despite UAC?

is it possible to permit Environment Variable creation despite UAC?

Scheduled Pinned Locked Moved Windows API
helpquestionworkspace
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.
  • F Offline
    F Offline
    FocusedWolf
    wrote on last edited by
    #1

    Hi, My problem is i got a particular program that is from the Xp paleolithic era and it want's to make environment variables. Vista isn't letting it, and it doesn't complain, but then a bunch of sdks for it don't work. This is a many-program program that spawns other programs and starts with windows... it'd be a bit tricky to make it all run as administrator... well maybe not but is it possible to just make a exception for UAC so it doesn't care if any program wants to create a Environment Variable?

    P 1 Reply Last reply
    0
    • F FocusedWolf

      Hi, My problem is i got a particular program that is from the Xp paleolithic era and it want's to make environment variables. Vista isn't letting it, and it doesn't complain, but then a bunch of sdks for it don't work. This is a many-program program that spawns other programs and starts with windows... it'd be a bit tricky to make it all run as administrator... well maybe not but is it possible to just make a exception for UAC so it doesn't care if any program wants to create a Environment Variable?

      P Offline
      P Offline
      Perspx
      wrote on last edited by
      #2

      I doubt you can do that - Microsoft have decided to not be leniant about security.. However, I believe that you can elevate certain processes so if you elevate the process(es) that create(s) the Environment Variables then that could work? Hope this helps, --Perspx

      "Nowadays, security guys break the Mac every single day. Every single day, they come out with a total exploit, your machine can be taken over totally. I dare anybody to do that once a month on the Windows machine." - Bill Gates
      BSoD during a Win98 presentation

      L 1 Reply Last reply
      0
      • P Perspx

        I doubt you can do that - Microsoft have decided to not be leniant about security.. However, I believe that you can elevate certain processes so if you elevate the process(es) that create(s) the Environment Variables then that could work? Hope this helps, --Perspx

        "Nowadays, security guys break the Mac every single day. Every single day, they come out with a total exploit, your machine can be taken over totally. I dare anybody to do that once a month on the Windows machine." - Bill Gates
        BSoD during a Win98 presentation

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        Hi, I guess an elevated process can create EnvVars, but then it will have some trouble launching new non-elevated processes. IIRC there have been some CP articles on that topic lately. :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        Voting for dummies? No thanks. X|


        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