Equivalent of "su" under Windows 2k/XP ?

By fgaliegue
Mar 10, 2006
  1. Hello everyone,

    I'd like to know whether there is something like $subject... As a long time Linux user I'm following the mantra of "only ever be an admin when you need to", but then in an xterm it's only two letters away (su, precisely)...

    For instance, I'm connected as a domain user right now. I want to disable a service, but this requires that I be either a local admin or a domain admin. Is there a way that I can be the one or the other only for the task at hand?
  2. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    Look up the "runas" command. You can also use the pstools package from Sysinternals and the Windows Task Scheduler lets you specify the user to run a task as too.
  3. fgaliegue

    fgaliegue TS Rookie Topic Starter Posts: 51

    Exactly what I was looking for :p

    Thanks! Now I just need to see how to launch the things I want from the command line...
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...