Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Change the VBS Process name ('wscript.exe' in Task Manager)

1,692 views
Skip to first unread message

JC

unread,
Jan 2, 2004, 10:34:55 AM1/2/04
to
Is there any way I can add into an existing VBS script that will change the
name on how it shows up as in Task Manager.

For example if I have a VBS script that I use to ping a server, can I have
it somehow be called "Ping" in the Task Manager instead of "wscript.exe"?

So that way when I need to kill an existing VBS script when I have more than
one I will know which one is which..

Any help would be great, thanks!


Bob Barrows

unread,
Jan 2, 2004, 10:46:35 AM1/2/04
to

I hope not. It would make it real easy for a hacker to masquerade his
malicious code ...

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


JC

unread,
Jan 2, 2004, 10:49:12 AM1/2/04
to
Hmm never thought of that, but still would be really nice to be able to name
my running wscript.exe's..


"Bob Barrows" <reb0...@NOyahoo.SPAMcom> wrote in message
news:%23cTAbeU...@tk2msftngp13.phx.gbl...

Joe Earnest

unread,
Jan 2, 2004, 11:22:25 AM1/2/04
to
Hi,

"JC" <Jo...@Network-Medics.Com> wrote in message
news:u4WhwgU0...@TK2MSFTNGP11.phx.gbl...

If you're running the scripts locally and running some regular scripts, one
common hack is just to copy and rename wscript.exe to a particular name,
such as "MyScript1.exe". Then run the script with a shortcut as
"...\MyScript1.exe MyScript1.vbs". Then the process will show up as
MyScript1.exe.

Joe Earnest

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 09-23-03


JC

unread,
Jan 2, 2004, 12:12:29 PM1/2/04
to
Joe, thanks that works perfectly!


"Joe Earnest" <joeear...@SPAMqwest.netPLEASE> wrote in message
news:%23ntJvuU...@TK2MSFTNGP12.phx.gbl...

0 new messages