Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

running as a different user from admin

  • 19-09-2010 12:25PM
    #1
    Registered Users, Registered Users 2 Posts: 1,190 ✭✭✭


    Is there anyway using psexec or another tool to run a command or program as a user that's logged into the box if you're accessing it via an administrator account or any account that has whatever permissions are required.


Comments

  • Moderators, Arts Moderators, Regional Abroad Moderators, Paid Member Posts: 11,207 Mod ✭✭✭✭Fysh


    The runas command is probably your best bet. I'd usually use as 'runas /user:USERNAME taskmgr.exe', and then launch whatever other processes you need from the File > New Task option.


  • Registered Users, Registered Users 2 Posts: 1,190 ✭✭✭wolfric


    Right but without their password


  • Moderators, Arts Moderators, Regional Abroad Moderators, Paid Member Posts: 11,207 Mod ✭✭✭✭Fysh


    wolfric wrote: »
    Right but without their password

    I don't think there's any way of doing it without their password - certainly the runas option won't work without it.


Advertisement