03-23-2007, 08:57 AM
|
#4 (permalink)
|
| New Member
Join Date: Mar 2007 Model: 8700c
Posts: 1
Post Thanks: 0 Thanked 0 Times in 0 Posts
| Script fix for GWCheckPA.exe needing process ended I have a VB Script written to address these issues if anyone is interested and doesn't have any vb experience.
It just terminates the GroupWise GWCheckPA.exe, GWConnector.exe, & GWCheckNew.exe processes and then GWService.exe will respawn them with new PIDs. I have this scheduled to run nightly on my BES server and haven't had to worry about it since. Just copy the script below in a new notepad file and save with .VBS extension and Whalla!!
Let me know if this helps! I guess the Service Pack 3 fixes this, but for those who want a quick fix..
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcessList = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'GWCheckNew.exe'")
For Each objProcess in colProcessList
objProcess.Terminate()
Next
Set colProcessList = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'GWCheckPA.exe'")
For Each objProcess in colProcessList
objProcess.Terminate()
Next
Set colProcessList = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'GWConnector.exe'")
For Each objProcess in colProcessList
objProcess.Terminate()
Next
Last edited by bkwerner22 : 03-23-2007 at 09:49 AM.
|
| Offline
| |