• @[email protected]
    link
    fedilink
    219 months ago

    No, that required the local admin account to have a password, which is usually unset (and the account is also locked). This uses the UAC system instead.

    • @[email protected]
      link
      fedilink
      English
      109 months ago

      runas will run as whatever account you specify, so you can absolutely use it to run something as a domain admin account

    • @SuspiciousPumpkin421
      link
      99 months ago

      I think they meant you could use any account that is an admin with runas to elevate.

    • voxel
      link
      fedilink
      2
      edit-2
      9 months ago

      then, use gsudo. it uses uac and even has convinience features from linux sudo like maintaing an open session for passwordless elevation for a couple of minutes after the password is entered.