Does a way exist for the administrator to manually shutdown a process initiated by the system accoun

  • Thread starter Thread starter tmt
  • Start date Start date
T

tmt

A program initiated by the system account on terminal services is
running continually at %100 and I don't have the option to shutdown the
server as it's a main data server.

Any ideas would be apreciated.
 
A program initiated by the system account on terminal services is
running continually at %100 and I don't have the option to shutdown the
server as it's a main data server.

Any ideas would be apreciated.

Running the task manager as System will likely allow you to stop the
process. You can use PsExec from Sysinternals.com, however one of the
simplest ways to do this, which works on NT to 2003, is to use AT to
schedule launching of TaskManager.

at 6:00 /interactive taskmgr.exe

You don't have to worry about the exact time because you can go to
Scheduled Tasks (usually in Control Panel) then right-click, Run.

This requires the "Task Scheduler" or Shchedule service to be running,
which is the default, and the tasks must be set to run under System,
also the default.

If using PsExec, then use something like this.

psexec -s -i \\%computername% taskmgr.exe

You could even launch TaskKill or PsKill, with the aforementioned
techniques, to try to end the task directly, but let's find out if it
can be ended with Task Manager first.
Clay Calvert
(e-mail address removed)
Replace "W" with "L"
 
at 6:00 /interactive taskmgr.exe

You don't have to worry about the exact time because you can go to
Scheduled Tasks (usually in Control Panel) then right-click, Run.

Here's a batch file to automatically launch TaskManager as the System
account, and then to optionally delete the created AT task.

for /f "tokens=9" %%a in ('at 6:00 /interactive taskmgr') do (
schtasks /run /tn at%%a&schtasks /delete /tn at%%a)

Clay Calvert
(e-mail address removed)
Replace "W" with "L"
 
I couldn't believe it worked but the process was stopped and cpu speed
dropped to idle. Thank you again. in fact, all of the pstools are a
breath of fresh air. Thanks again
 
I couldn't believe it worked but the process was stopped and cpu speed
dropped to idle. Thank you again. in fact, all of the pstools are a
breath of fresh air. Thanks again

I'm glad it worked.

Mark Russinovich and Bryce Cogswell are benevolent geniuses. It is
true they also have products for sale, but that software is on a
different web site, and they don't have to provide so many great tools
for free.
Clay Calvert
(e-mail address removed)
Replace "W" with "L"
 
agreed. the kind of tools they developed reflect lots of experience
sitting at the command line trying to administer networks.
 
Back
Top