Cannot End Service Processes with Task ManagerID: Q155075
|
You may receive the following warning message when you try to end a process with Task Manager:
The operation could not be completed. Access is denied.
Killing a process is done with a call to TerminateProcess (Win32 API). By default, it is not possible to kill a process that is running under a security context different than the one of the process who issued the call to TerminateProcess.
To work around this problem, use the KILL command line utility (available with the Windows NT 4.0 Resource Kit) to kill processes that do not run under the security context of the logged on user.
It is possible to kill any process even though it is a service or a system process by previously enabling the debug privilege. This privilege is assigned to Administrators and is disabled in the access token. Task Manager does not make any use of the debug privilege unlike the KILL utility.
You may assign this privilege to other users with User Manager. To do so:
Keywords : kbtool NTSrvWkst ntutil
Version : WinNT:4.0
Platform : winnt
Issue type :
Last Reviewed: January 16, 1999