China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-26 18:50
中国DOS联盟论坛 » 其它操作系统综合讨论区 » How to close Windows system processes in DOS View 1,685 Replies 9
Original Poster Posted 2006-05-06 15:32 ·  中国 福建 泉州 电信
高级用户
★★
论坛灌水专业户
Credits 613
Posts 266
Joined 2006-04-19 22:47
20-year member
UID 54113
From 河南省
Status Offline
My system is WINDOWS XP2. There is a process in the system process that I don't know what it is, and it takes up a lot of resources (it wasn't there before, maybe it's a virus). When I try to close it with the Windows Task Manager, it shows access denied. I heard from a friend that I can end this process from DOS. Please tell me what command to use, and please be clear. I'm a newbie, I don't understand many things! Thank you




Everyone, hurry up and help! Why hasn't anyone spoken for so long??


[ Last edited by chineselgs on 2006-5-6 at 17:18 ]
饮马恒河畔,剑指天山西,碎叶城揽月,库叶岛赏雪,黑海之滨垂钓,贝尔加湖面张弓;中南半岛访古,东京废墟祭祖!
Floor 2 Posted 2006-05-06 18:22 ·  中国 湖北 荆门 电信
荣誉版主
★★★
Credits 2,013
Posts 718
Joined 2006-02-18 07:07
20-year member
UID 50550
Status Offline
Posted in the wrong section...
This section is dedicated to DOS, and does not include command lines.
The correct place is in my signature.
There are many tools to end processes in XP, for example:

taskkill /fi "imagename eq 进程名.exe"
wmic process where name="进程名.exe" call terminate
ntsd -c q -pn 进程名.exe

If none of these three commands can end the process, it means that the process has a higher level, or there is a guardian process. Analyze the specific situation.
Floor 3 Posted 2006-05-07 20:25 ·  中国 福建 泉州 电信
高级用户
★★
论坛灌水专业户
Credits 613
Posts 266
Joined 2006-04-19 22:47
20-year member
UID 54113
From 河南省
Status Offline
It doesn't work, can't turn it off at all~!!!!
It shows access denied, what should I do??

[ Last edited by chineselgs on 2006-5-8 at 19:49 ]
饮马恒河畔,剑指天山西,碎叶城揽月,库叶岛赏雪,黑海之滨垂钓,贝尔加湖面张弓;中南半岛访古,东京废墟祭祖!
Floor 4 Posted 2006-05-08 23:20 ·  中国 广东 广州 海珠区 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
Processes that can't be closed in Task Manager may not necessarily be closed in CMD either.

What process was that of the LZ? I guess it's a virus infection.
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Floor 5 Posted 2006-05-09 10:26 ·  中国 广东 佛山 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Using this pskill, you can kill any process, including critical system processes.

Usage:
pskill process name
or
pskill process's pid.
Attachments
pskill.rar (27.13 KiB, Credits to download 1 pts, Downloads: 28)
Floor 6 Posted 2006-05-09 12:17 ·  中国 四川 成都 联通
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
It's also possible without using pskill. Since you're on an XP system, you can log in as administrator and run the following code, or you can save the file as a.bat and double - click to run it.


::By est,electronicstar@126.com
@echo off
set t=%time%
echo %t%
time 00:00
at 00:01 /interactive taskmgr >> nul
time 00:01
::delay for few seconds
ping -n 5 127.1 >> nul
time %t%


After a Task Manager window pops up, you can close processes that you usually can't close, because the Task Manager opened this way has SYSTEM privileges.

[ Last edited by electronixtar on 2006 - 5 - 9 at 12:22 ]
Floor 7 Posted 2006-05-09 18:14 ·  中国 山东 济南 移动
钻石会员
★★★★★
Credits 10,056
Posts 3,041
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
It's better to use third-party software
简单就是美
Floor 8 Posted 2006-05-14 12:39 ·  中国 福建 泉州 电信
高级用户
★★
论坛灌水专业户
Credits 613
Posts 266
Joined 2006-04-19 22:47
20-year member
UID 54113
From 河南省
Status Offline
Thank you everyone, it's done!

It was indeed a virus infection, because as soon as I don't use antivirus software and often do some downloads or something, this is a common occurrence~~
饮马恒河畔,剑指天山西,碎叶城揽月,库叶岛赏雪,黑海之滨垂钓,贝尔加湖面张弓;中南半岛访古,东京废墟祭祖!
Floor 9 Posted 2006-05-14 12:52 ·  中国 四川 绵阳 电信
高级用户
★★
Credits 587
Posts 282
Joined 2006-04-10 03:40
20-year member
UID 53599
Gender Male
Status Offline
Strictly speaking, under XP it's called the windowed command line, also called cmd. The system processes of Windows popping up under DOS are really confusing
Floor 10 Posted 2006-05-15 09:39 ·  中国 湖北 荆州 电信
高级用户
★★★
Credits 994
Posts 444
Joined 2005-01-29 00:00
21-year member
UID 35779
Gender Male
Status Offline
The landlord has gotten used to such mistakes, just bear with it, heh heh
Forum Jump: