@echo off
title Kill all running apps - http://gaptek-blogs.blogspot.com
cd c:\windows\System32
for /f "skip=3 tokens=1" %%i in ('TASKLIST /FI "USERNAME eq %userdomain%\%username%" /FI "STATUS eq running"') do (
if not "%%i"=="svchost.exe" (
if not "%%i"=="explorer.exe" (
if not "%%i"=="cmd.exe" (
if not "%%i"=="tasklist.exe" (
echo.
taskkill /f /im "%%i"
echo.
)
)
)
)
)
pause
cd c:\windows\System32
for /f "skip=3 tokens=1" %%i in ('TASKLIST /FI "USERNAME eq %userdomain%\%username%" /FI "STATUS eq running"') do (
if not "%%i"=="svchost.exe" (
if not "%%i"=="explorer.exe" (
if not "%%i"=="cmd.exe" (
if not "%%i"=="tasklist.exe" (
echo.
taskkill /f /im "%%i"
echo.
)
)
)
)
)
pause
Copy Script diatas kemudian save pada notepad dengan extention .bat, anda bisa menambahkan scipt diatas untuk mengecualikan bebeberapa aplikasi yang di inginkan.
Artikel,belajar,jaringan,tips,trik,windows,tutorial,software,gratis,internet,hacking,komputer;
{ 0 comments... read them below or add one }
Posting Komentar