Article ID: 155075 - View products that this article applies to.
This article was previously published under 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.
Stopping 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 Resource Kit) to stop processes that do not run under the security context of the logged on user.
It is possible to end 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. While Task Manager does not make use of the debug privilege, the KILL utility does.
You may assign this privilege to users other than Administrators with User Manager. To assign this privilege do the following:
(http://support.microsoft.com/kb/221930/EN-US/ )Domain Security Policy in Windows 2000
(http://support.microsoft.com/kb/227302/EN-US/ )Using SECEDIT to Force a Group Policy Refresh Immediately
Article ID: 155075 - Last Review: February 27, 2007 - Revision: 2.2