Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to execute some commands with SYSTEM privileges on Windows Server 2008. I have Administrator privileges, of course. On the good old version of Windows without all the UAC BS this was as simple as:

at 15:48 /interactive cmd

And after a minute a command prompt would pop up, running as NT AUTHORITY\SYSTEM. But if I do this on Windows 2008 it tells me:

Warning: Due to security enhancements, this task will run at the time expected but not interactively. Use schtasks.exe utility if interactive task is required ('schtasks /?' for details).

I checked schtasks and it looks like that only gives you the ability to run a task interactively as the logged on user, which is not what I want. Of course, I could code and install a service that runs as SYSTEM, but what a hassle! Could anyone suggest an easier way?

I'm so sick of these hoops Microsoft is making me jump through just to do what I want to do on my system.

share|improve this question
up vote 6 down vote accepted

psexec /s [command]

share|improve this answer
To get psexec: (1) download PSTools from (which will redirect into MS), (2) extract contents of ZIP into folder in PATH (or add the folder you use to the PATH). – Richard Jun 25 '09 at 9:32

If you just want to run a command prompt (or any app) as SYSTEM then use psexec as vu1tur suggests. As for running scheduled tasks interactively, this is surely a matter of opinion, but I've always thought that Windows should not allow scheduled tasks to run interactively as it's such a big security risk. Microsoft have changed the behaviour in W2k8, and I'm on their side this time.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.