Hot Downloads



The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: script to terminate the process

script to terminate the process 11 years 8 months ago #21230

  • yadav
  • yadav's Avatar Topic Author
  • Offline
  • Frequent Member
  • Frequent Member
  • Posts: 25
  • Thank you received: 0
i got one doubt....we have an windows 2003 server our company in that we have installed some applications,when we login to the system and if we open task manager some applications like crasos.exe,HPGS2WNF.exe are running these are related to some applications what we have installed...the only way to terminate this process is using task manager.....but i wrote some logon script to terminate that process ......but its not working can u help me regarding this

thank you,
prasad yadav

msconfig 11 years 8 months ago #21674

Use the msconfig utility to disable the associated application that starts up. Is the login script you are running run as the user or machine?

Re: script to terminate the process 11 years 7 months ago #22041

I agree with wrecklesswun about disabling the application from starting, but if you want a script...

tasklist | find /I "HPGS2WNF.exe"
set myerrorlevel=%errorlevel%
if %myerrorlevel% equ 0 taskkill /F /IM "HPGS2WNF.exe"
if %myerrorlevel% neq 0 ping -w 1000 -n 2 & goto :START

Save it with a .bat extension and place it in your user's "startup" directory in the start menu. The ping command is there to control the looping so that it doesn't consume 100% of the CPU.
  • Page:
  • 1
Time to create page: 0.146 seconds


Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V


  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup