Skip to main content

F M's Library tagged vista   View Popular

13 May 08

Powershell Sudo (sort of) for Vista UAC

  • Wes Haggard sent me an email this morning that caused me to "slap myself upside the head":

    Why got through this trouble when you can just user Process.Start?

    PS> $psi = new-object System.Diagnostics.ProcessStartInfo "notepad.exe"
    PS> $psi.Verb = "runas"
    PS> [System.Diagnostics.Process]::Start($psi)

    Oops. My bad. Hahaha... can't believe I didn't try that. :)

invisiblethings' blog: Running Vista Every Day!

  • enter password for the one of the administrator's accounts. You can find more background information about UAC,
  • So, I really wonder what those people are doing that they see UAC constantly appearing every other minute…
  • 4 more annotations...
1 - 4 of 4
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo