Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

running as a different user from admin

  • 19-09-2010 01: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 Posts: 11,161 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 Posts: 11,161 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