HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How To Kill A Process With A VBS Script

12,522 views November 13, 2012 2:04

Watch on YouTube
Channelpcvideotechhelp

Description 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

About this tutorial

pcvideotechhelp published this 2:04 video tutorial on November 13, 2012. It has been watched 12,522 times on YouTube.

Category
Education
Duration
2:04
Published
November 13, 2012
Views
12,522
Likes
72

Tags

Share

This tutorial in other languages