自制控制進(jìn)程和控制開機(jī)啟動(dòng)項(xiàng)批處理(ntsd強(qiáng)制結(jié)束版)
自動(dòng)結(jié)束強(qiáng)制智能結(jié)束.vbs
vbs主要起到運(yùn)行bat的目地,傳參
set wshshell=createobject("wscript.shell")
wshshell.run "針對(duì)性進(jìn)程管理.bat"
wscript.sleep 2000
for x=1 to 30
wscript.sleep 1000
wshshell.sendkeys "{enter 3}"
next
針對(duì)性進(jìn)程管理.bat
@echo off&setlocal enabledelayedexpansion
ping -n 3 127.0>nul
if exist tem.txt del /f /q tem.txt
echo.正在刷選進(jìn)程.............
echo>>tem.txt explorer.exe
echo>>tem.txt System Idle Process
echo>>tem.txt System
echo>>tem.txt smss.exe
echo>>tem.txt csrss.exe
echo>>tem.txt winlogon.exe
echo>>tem.txt services.exe
echo>>tem.txt TheWorld.exe
echo>>tem.txt lsass.exe
echo>>tem.txt svchost.exe
echo>>tem.txt spoolsv.exe
echo>>tem.txt alg.exe
echo>>tem.txt ctfmon.exe
echo>>tem.txt ekrn.exe
echo>>tem.txt wdfmgr.exe
echo>>tem.txt 360tray.exe
echo>>tem.txt egui.exe
echo>>tem.txt wmiprvse.exe
echo>>tem.txt QQ.exe
echo>>tem.txt cmd.exe
echo>>tem.txt IEXPLORE.EXE
echo>>tem.txt TXPlatform.exe
echo>>tem.txt tasklist.exe
echo>>tem.txt conime.exe
echo>>tem.txt safeboxTray.exe
echo>>tem.txt wscript.exe
for /f "eol= tokens=1,2 delims=," %%i in ('tasklist /nh /fo csv') do (
findstr /i /x %%i tem.txt >nul
if errorlevel 1 (
echo =============================================================
echo =============================================================
echo %%i位于以下路徑
wmic process where processid=%%j get executablepath|findstr /v /i "executablepath"
ntsd -c q -p %%j 1>nul 2>nul
ping -n 1 127.0>nul
tasklist|findstr /i %%i >nul
if errorlevel 1 (
echo %%i已經(jīng)完全成功結(jié)束
) else (
echo %%i未能完全結(jié)束,估計(jì)是個(gè)流氓程序
)
)
)
del tem.txt & echo 結(jié)束進(jìn)程任務(wù)基本完成
taskkill /f /im wscript.exe
mshta vbscript:msgbox("我的任務(wù)完成了!請(qǐng)看詳細(xì)信息",,"刷選進(jìn)程")(window.close)
taskkill /f /im cmd.exe
相關(guān)文章
Windows批處理實(shí)現(xiàn)郵件遠(yuǎn)程控制電腦的操作方法(第三方批處理)
這篇文章主要介紹了Windows批處理實(shí)現(xiàn)郵件遠(yuǎn)程控制電腦(第三方批處理),本文給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2023-01-01Chkntfs 顯示或指定在啟動(dòng)計(jì)算機(jī)時(shí)計(jì)劃的自動(dòng)系統(tǒng)檢查是否在 FAT、FAT32 或者 NTFS 卷上運(yùn)行。
Chkntfs 顯示或指定在啟動(dòng)計(jì)算機(jī)時(shí)計(jì)劃的自動(dòng)系統(tǒng)檢查是否在 FAT、FAT32 或者 NTFS 卷上運(yùn)行。...2007-09-09win7創(chuàng)建wifi熱點(diǎn)腳本分享
寫了個(gè)bat軟件通過(guò)選項(xiàng)方便創(chuàng)建,開啟,關(guān)閉,win7下的承載網(wǎng)絡(luò),并經(jīng)數(shù)次測(cè)試可用,下面分享一下這個(gè)win7創(chuàng)建wifi熱點(diǎn)的腳本,需要的朋友可以參考下2014-03-03開通局域網(wǎng)共享(訪問(wèn)本機(jī)要填用戶名和密碼)的注冊(cè)表和批處理
開通局域網(wǎng)共享(訪問(wèn)本機(jī)要填用戶名和密碼)的注冊(cè)表和批處理...2007-10-10我裝了IIS了,可是又進(jìn)不去http://localhost 了
我裝了IIS了,可是又進(jìn)不去http://localhost 了...2006-12-12