Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Colombo
RidhMathraa ’26 🎶✨
Tmadhusanka
Updated:
Yesterday at 11:58 PM
Ad icon
Colombo
PXN V10 Pro Direct Drive Racing Wheel (Under Warranty)
Abdur Rahman
Updated:
Yesterday at 10:23 PM
Ad icon
USDT ණය සේවාව - USDT Loan Service
පුරවැසියා
Updated:
Yesterday at 4:54 PM
Ad icon
🎮 INDIAN PSN GIFT CARDS AVAILABLE NOW! 🎮
madukaperera
Updated:
Tuesday at 12:57 PM
🚀 Google AI PRO – 18 Months | Rs. 850 Only
lkkolla
Updated:
Monday at 4:56 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Tips & Tricks
Terminates Unwanted Processes...
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="pjayampathi" data-source="post: 2611751" data-attributes="member: 74195"><p><span style="font-size: 12px"><span style="color: DarkOrange"><strong> This VBScript Terminates Any Unwanted Processes (Except Windows Services)</strong></span></span></p><p></p><p>[code]</p><p></p><p></p><p>Dim wmiObject, objProcess, colProcess, index, exist, process(9) </p><p></p><p>Set wmiObject = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")</p><p>Set colProcess =wmiObject.ExecQuery ("Select * from Win32_Process")</p><p></p><p>process(0)="explorer.exe"</p><p>process(1)="svchost.exe"</p><p>process(2)="services.exe"</p><p>process(3)="winlogon.exe"</p><p>process(4)="csrss.exe"</p><p>process(5)="smss.exe"</p><p>process(6)="System"</p><p>process(7)="System Idle Process"</p><p>process(8)="lsass.exe"</p><p>process(9)="wscript.exe"</p><p></p><p></p><p>For Each objProcess in colProcess</p><p>Dim processObj, processList, processName</p><p> For index=0 to 9</p><p> If objProcess.Name=process(index) Then exist="yes"</p><p> Next</p><p> if exist<>"yes" then </p><p> processName ="'"&objProcess.name&"'"</p><p> </p><p> Set processList = wmiObject.ExecQuery ("Select * from Win32_Process Where Name = " & processName)</p><p></p><p> For Each processObj in processList</p><p> processObj.Terminate()</p><p> Next</p><p> End If</p><p></p><p> exist="No"</p><p>Next</p><p></p><p>[/code]</p><p></p><p></p><p><strong>Paste this to a text editor and save as a <span style="color: Red">*.vbs</span> <span style="color: Black">file ( Visual basic Script ) and Run the file..</span></strong></p></blockquote><p></p>
[QUOTE="pjayampathi, post: 2611751, member: 74195"] [SIZE=3][COLOR=DarkOrange][B] This VBScript Terminates Any Unwanted Processes (Except Windows Services)[/B][/COLOR][/SIZE] [code] Dim wmiObject, objProcess, colProcess, index, exist, process(9) Set wmiObject = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") Set colProcess =wmiObject.ExecQuery ("Select * from Win32_Process") process(0)="explorer.exe" process(1)="svchost.exe" process(2)="services.exe" process(3)="winlogon.exe" process(4)="csrss.exe" process(5)="smss.exe" process(6)="System" process(7)="System Idle Process" process(8)="lsass.exe" process(9)="wscript.exe" For Each objProcess in colProcess Dim processObj, processList, processName For index=0 to 9 If objProcess.Name=process(index) Then exist="yes" Next if exist<>"yes" then processName ="'"&objProcess.name&"'" Set processList = wmiObject.ExecQuery ("Select * from Win32_Process Where Name = " & processName) For Each processObj in processList processObj.Terminate() Next End If exist="No" Next [/code] [B]Paste this to a text editor and save as a [COLOR=Red]*.vbs[/COLOR] [COLOR=Black]file ( Visual basic Script ) and Run the file..[/COLOR][/B] [/QUOTE]
Insert quotes…
Verification
Awruddata maasa keeyada?
Post reply
Top
Bottom