Tech ARP Forums

Go Back   Tech ARP Forums > Site Updates & Promotions > Reviews & Articles
Register
FAQ Members List Calendar Arcade Mark Forums Read

Google Web www.techarp.com forums.techarp.com

Reviews & Articles There will be a post for every Tech ARP article. Come in here to discuss about your favourite article!

Reply
 
LinkBack Thread Tools
Old 2nd Mar 2006, 01:37 PM   #11 (permalink)
Administrator!
 
Dashken's Avatar
 
Join Date: 21 Apr 2003
Location: Penang
Posts: 30,278
Reputation: 2417
Dashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond repute
Rep Power: 61
Default

Hmm... seems like kill can't be used for remote pc as well.

I wonder why I cant seem to taskkill a task in a remote pc. I've already closed the firewall.

Peaz: taskkill can't force kill one of your program, is that what you mean? Hmm... I guess each has its pros and cons. One thing good about taskkill is, it's readily-available in all Windows XP.
__________________
| Intel C2Q Q9450 | MSI P45 Neo3-FR | 2 x 2GB OCZ / 2 x 1GB G.SKILL DDR2 800 | 1 x Seagate 250GB HDD | 2 x Seagate 750GB HDD | 3 x Seagate 1TB HDD | NVIDIA GeForce 9500GT | Cooler Master CM690 chassis | Cooler Master eXtreme Power Plus 550W PSU | Dell E248WFP 24" Widescreen | Windows 7 Ultimate x64 |


Blog : Dashken's I-Blog
Gallery : Dashken's I-Paintings
Dashken is offline   Reply With Quote
SPONSOR
Old 2nd Mar 2006, 09:03 PM   #12 (permalink)
Newbie
 
Join Date: 2 Mar 2006
Posts: 1
Reputation: 0
GermanJulian is an unknown quantity at this point
Rep Power: 0
Default

Taskkill works on remote machines, works for me
By the way you need to have admin rights on the remote machine!

another little trick I use is:
Freemem=Space(512000000)

which frees your memory. (be careful how much you free though)
Oh its a vbs script.

I would always use VB scripting to do anything with your PC and not dos commands. VB scripts are very very very easy and powerful:
i
PS: I have no time I gotta do other VB scripts

the following code terminates notepad on a remote computer:
[code]
strComputer = "FullComputerName"
strDomain = "DOMAIN"
strUser = InputBox("Enter user name")
strPassword = InputBox("Enter password")
Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objWMIService = objSWbemLocator.ConnectServer(strComputer, _
"root\CIMV2", _
strUser, _
strPassword, _
"MS_409", _
"ntlmdomain:" + strDomain)
Set colProcessList = objWMIService.ExecQuery _
("SELECT * FROM Win32_Process WHERE Name = 'notepad.exe'")
For Each objProcess in colProcessList
objProcess.Terminate()
Next
[/code]

you dont even need to write code its all on M$ (dont tell my boss)
all you need to do now is use Visual Studio, create a nice gui. Write a bit of code which gets all remote computers and your local machine. Create a dropdown with all computers.
A button which gets all running processes for that computer.
a tickbox and a KILL button.
1 day and your done

Last edited by GermanJulian : 5th May 2006 at 07:11 PM.
GermanJulian is offline   Reply With Quote
Old 2nd Mar 2006, 10:02 PM   #13 (permalink)
Administrator!
 
Dashken's Avatar
 
Join Date: 21 Apr 2003
Location: Penang
Posts: 30,278
Reputation: 2417
Dashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond reputeDashken has a reputation beyond repute
Rep Power: 61
Default

Quote:
Originally Posted by GermanJulian
Taskkill works on remote machines, works for me
By the way you need to have admin rights on the remote machine!
Yeah, I have admin rights, username and password as well. But doesn't seem to work.

Yeah, I like vbscript a lot. Used simple ones alot at work for creating shortcuts, editing registry, etc. and use Wscript.Shell to run it.

Thanks for your time and the codes.
__________________
| Intel C2Q Q9450 | MSI P45 Neo3-FR | 2 x 2GB OCZ / 2 x 1GB G.SKILL DDR2 800 | 1 x Seagate 250GB HDD | 2 x Seagate 750GB HDD | 3 x Seagate 1TB HDD | NVIDIA GeForce 9500GT | Cooler Master CM690 chassis | Cooler Master eXtreme Power Plus 550W PSU | Dell E248WFP 24" Widescreen | Windows 7 Ultimate x64 |


Blog : Dashken's I-Blog
Gallery : Dashken's I-Paintings
Dashken is offline   Reply With Quote
Old 3rd Mar 2006, 01:16 AM   #14 (permalink)
"0104"
 
s p r a n k i k o's Avatar
 
Join Date: 31 Aug 2005
Location: Manila
Posts: 783
Reputation: 256
s p r a n k i k o is a jewel in the roughs p r a n k i k o is a jewel in the roughs p r a n k i k o is a jewel in the rough
Rep Power: 7
Default

I only use msconfig to turn off any tasks that I don't want to run.

Works fine for me, though I'm wondering if any of you use it too?
__________________
Main rig:
Phenom II X4 BE | Gigabyte UD5P |
OCZ Flex II | ATi HD5850
Secondary rig:
Opteron 170/3Ghz | DFI NF4 Ultra-D | http://valid.x86-secret.com/show_oc?id=163569
Team Xtreem 2Gb/2.5-4-3-6/1T | ATi HD4850
s p r a n k i k o is offline   Reply With Quote
Old 3rd Mar 2006, 10:28 AM   #15 (permalink)
zy
zynine.com
 
zy's Avatar
 
Join Date: 16 Dec 2002
Location: Buffalo NY
Posts: 13,496
Reputation: 2276
zy has a reputation beyond reputezy has a reputation beyond reputezy has a reputation beyond reputezy has a reputation beyond reputezy has a reputation beyond reputezy has a reputation beyond reputezy has a reputation beyond reputezy has a reputation beyond reputezy has a reputation beyond reputezy has a reputation beyond reputezy has a reputation beyond repute
Rep Power: 43
Default

i'm using msconfig all the time even on my friends laptops
__________________

zy is offline   Reply With Quote
Old 4th Mar 2006, 12:44 PM   #16 (permalink)
ARP Webmaster
 
peaz's Avatar
 
Join Date: 13 Oct 2002
Location: http://atpeaz.com/
Posts: 8,595
Reputation: 1673
peaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant future
Rep Power: 32
Default

Quote:
Originally Posted by Dashken
Peaz: taskkill can't force kill one of your program, is that what you mean? Hmm... I guess each has its pros and cons. One thing good about taskkill is, it's readily-available in all Windows XP.
taskkill.exe is essentially similar to opening up the task manager and killing it from there. Some processes cannot be killed via that method. That's what i meant
__________________
Ken Ng
Tech ARP
Follow me at Twitter
Blogs @ http://www.atpeaz.com/
peaz is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
First potential virus risk for Windows Vista found! Dashken News 0 5th Aug 2005 03:55 PM
Windows Services Exposed adn Expunge kayFX General Software 9 10th Jun 2005 09:32 PM


All times are GMT +8. The time now is 10:05 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 1998-2009 Tech ARP. All rights reserved.