TechSpot

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

By fgaliegue
Mar 10, 2006
Topic Status:
Not open for further replies.
  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: 9,431

    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: 54

    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.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.