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. SU command in Vista

SU command in Vista

Scheduled Pinned Locked Moved Windows API
linuxhelpquestion
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.
  • R Offline
    R Offline
    Russell Jones
    wrote on last edited by
    #1

    I've installed cmdHere.inf as I always have on machines in the past to open a command line at a particular folder in explorer and it works as expected. Only issue is that the shell it creates isn't running as admin. Is there a command I can use like the SU command in *nix to get the shell to run as an admin? Typically i might want to browse to a folder launch a shell and maybe register some dlls but regsvr32 crashes if run as non-admin rather than asking for permissions to carry on. Any ideas? Russell

    J 1 Reply Last reply
    0
    • R Russell Jones

      I've installed cmdHere.inf as I always have on machines in the past to open a command line at a particular folder in explorer and it works as expected. Only issue is that the shell it creates isn't running as admin. Is there a command I can use like the SU command in *nix to get the shell to run as an admin? Typically i might want to browse to a folder launch a shell and maybe register some dlls but regsvr32 crashes if run as non-admin rather than asking for permissions to carry on. Any ideas? Russell

      J Offline
      J Offline
      Jonathan Darka
      wrote on last edited by
      #2

      I use OpenFolder which I wrote so I am biased. It should do what you want, you can open either admin or non-admin command prompts. regards,


      Jonathan Wilkes Darka[Xanya.net]

      R 1 Reply Last reply
      0
      • J Jonathan Darka

        I use OpenFolder which I wrote so I am biased. It should do what you want, you can open either admin or non-admin command prompts. regards,


        Jonathan Wilkes Darka[Xanya.net]

        R Offline
        R Offline
        Russell Jones
        wrote on last edited by
        #3

        You,Sir, are a hero. That's just what i needed Thanks, Russell

        J 1 Reply Last reply
        0
        • R Russell Jones

          You,Sir, are a hero. That's just what i needed Thanks, Russell

          J Offline
          J Offline
          Jonathan Darka
          wrote on last edited by
          #4

          Russell Jones wrote:

          You,Sir, are a hero. That's just what i needed

          thanks :-> if you have any problems with it, let me know and I'll fix them asap.


          Jonathan Wilkes Darka[Xanya.net]

          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