Playback starts YouTube’s embedded player (privacy-enhanced mode).
How To Kill A Process With A VBS Script
ChannelpcvideotechhelpDescription from the creator
This video shows how you can use a vbs script to kill a process/task without windows task manager.
Code:
taskKill = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & taskKill & "\root\cimv2")
Set processlistFull= objWMIService.ExecQuery _
("Select * from Win32_Process Where name = 'wscript.exe'")
For Each killPro In processlistFull
killPro.Terminate()
Next
remember to save the file as a .vbs
File Download: docs.google.com/open?id=0B2JL6L6Znat2STRSXzR3ai…
website: pcvideotechhelp.com
Code:
taskKill = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & taskKill & "\root\cimv2")
Set processlistFull= objWMIService.ExecQuery _
("Select * from Win32_Process Where name = 'wscript.exe'")
For Each killPro In processlistFull
killPro.Terminate()
Next
remember to save the file as a .vbs
File Download: docs.google.com/open?id=0B2JL6L6Znat2STRSXzR3ai…
website: pcvideotechhelp.com
About this tutorial
pcvideotechhelp published this 2:04 video tutorial on November 13, 2012. It has been watched 12,522 times on YouTube.
- Channel
- pcvideotechhelp
- Category
- Education
- Duration
- 2:04
- Published
- November 13, 2012
- Views
- 12,522
- Likes
- 72
Tags
Share
This tutorial in other languages
- FRCommande base de l'invite - Processus / Tâches Antidémarrage [Tutoriel 7]
- ESSímbolo del sistema de fundamentos - Procesos / Tareas Kill [Tutorial 7]
- PTComando Basics pronto - Processos KILL / Tarefas [Tutorial 7]
- ITComando di base sul prompt - Processi Kill / Tasks [Tutorial 7]
- DEPrompt Basics Befehl - Kill-Prozesse / Tasks [Tutorial 7]
- NLCommand Prompt Basics - Kill Processen / Taken [Tutorial 7]
- RUCommand Prompt Основы - убей Процессы / Задачи [Учебник 7]
- PLCommand Prompt Podstawy - Procesy zabitych / zadania [Tutorial 7]
- JAコマンドプロンプトの基本 - キルプロセス/タスクの[チュートリアル7]
- ARالقيادة أساسيات الفوري - عمليات قتل / المهام [دروس 7]
- HIकमांड प्रॉम्प्ट मूल बातें - मार डालो प्रक्रियाओं / कार्य [ट्यूटोरियल 7]
- IDCara Kill A Proses Dengan VBS Script