Cougar Mountain Software Support Productivity Tools
For Cougar Mountain Software Support's
Professional Version (V2012, V2011, V2010, V2009, V12-V6)

 

 

 

 

PROBLEM SOLVING

 

Cougar has come up with a work-around for the annoyance and degrading of performance when their security program is not cleared properly, evidenced by multiple icons in the system tray.
 
You can add this command to a batch file to run Cougar or to a separate batch file to just remove this process.
 
Example 1-Batch file to launch Cougar (I prefer killing it on exiting as the 5 second delay on exiting would seem to be preferable)

M:\CMSWIN\CMSMAIN.EXE dc XXX  

Taskkill /IM cms23.exe

 

Example 2-Batch file to just kill cms21.exe  (could be done as a desktop Icon)
Taskkill /IM cms23.exe
 

 

Example 3-Batch file to launch Cougar (to delete the R&R temporary report files that can accumulate to thousands over time)

M:\CMSWIN\CMSMAIN.EXE dc XXX  

Taskkill /IM cms23.exe

Del m:\cmswin\VDM*.tmp /s                  

 

 

Using a batch commands can be very powerful to add other security and housekeeping functions.

 

Examples:

Making a copy of sysprof*.*    (these files are required by Cougar and are difficult to rebuild (especially in V2010 sp2 or better).

Making an extra copy of cms*.* (these files are required by Cougar).

Make copies of the cmsShip files (which I don't believe are backed up)

There are other work files that can be removed to save space, time on backup, reduce conflicts and enhance overall performance

 

 

 

 

Taskkill

 

Ends one or more tasks or processes. Processes can be killed by process ID or image name.

Syntax

taskkill [/s Computer] [/u Domain\User [/p Password]]] [/fi FilterName] [/pid ProcessID]|[/im ImageName] [/f][/t]

Top of pageTop of page

Parameters

/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer.

/u Domain\User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command.

/p Password : Specifies the password of the user account that is specified in the /u parameter.

/fi FilterName : Specifies the types of process(es) to include in or exclude from termination. The following are valid filter names, operators, and values.

Name Operators Value

Hostname

eq, ne

Any valid string.

Status

eq, ne

RUNNING|NOT RESPONDING

Imagename

eq, ne

Any valid string.

PID

eg, ne, gt, lt, ge, le

Any valid positive integer.

Session

eg, ne, gt, lt, ge, le

Any valid session number.

CPUTime

eq, ne, gt, lt, ge, le

Valid time in the format of hh:mm:ss. The mm and ss parameters should be between 0 and 59 and hh can be any valid unsigned numeric value.

Memusage

eg, ne, gt, lt, ge, le

Any valid integer.

Username

eq, ne

Any valid user name ([Domain\]User).

Services

eq, ne

Any valid string.

Windowtitle

eq, ne

Any valid string.

 

/pid ProcessID : Specifies the process ID of the process to be terminated.

/im ImageName : Specifies the image name of the process to be terminated. Use the wildcard (*) to specify all image names.

/f : Specifies that process(es) be forcefully terminated. This parameter is ignored for remote processes; all remote processes are forcefully terminated.

/t : Specifies to terminate all child processes along with the parent process, commonly known as a tree kill.

/?: Displays help at the command prompt.

Top of pageTop of page

Remarks

The wildcard character (*) is accepted only when specified along with the filters.
Termination for remote processes will always be done forcefully regardless of whether the /f parameter is specified.
Supplying a computer name to the HOSTNAME filter will cause a shutdown and all processes will be stopped.
Use tasklist to determine the Process ID (PID) for the process to be terminated.
Taskkill is a replacement for the Kill tool.
Top of pageTop of page

Examples

The following examples show how you can use the taskkill command:

taskkill /pid 1230 /pid 1241 /pid 1253
taskkill /f /fi "USERNAME eq NT AUTHORITY\SYSTEM" /im notepad.exe
taskkill /s srvmain /f /im notepad.exe
taskkill /s srvmain /u maindom\hiropln /p p@ssW23 /fi "IMAGENAME eq note*" /im *
taskkill /s srvmain /u maindom\hiropln /fi "USERNAME ne NT*" /im *
taskkill /f /fi "PID ge 1000" /im *

Top of pageTop of page

Formatting legend

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

 

 

 

 

 

 

If you wish to get more information, please email us at

or call us at (714)  228-5444