keycleaner.exe

keycleaner.exe — Reformat AMPAC license key file or print license information.

Description

An AMPAC license file, ampac.key, is required to run AMPAC. The file may become corrupted if it is passed by email, moved by FTP, or moved to a different operating system. When this happens, the file may no longer be readable by AMPAC causing AMPAC to report the error "### AMPAC.KEY FILE IS INVALID" and stop. The keycleaner.exe utility can be used to fix many of these problems allowing AMPAC to run. If keycleaner.exe fails to resolve license problems, contact Semichem, Inc. for a new key.

In addition to its role of repairing license keys, it can also be used to extract important license information. This can be used to check the expiration date of the license and to check if Amsol Model Module™ is available. (The AMPAC keyword LICENSE can also be used for this purpose.)

Usage:

		keycleaner.exe -k ampac.key
		keycleaner.exe {-f} {infile.key {outfile.key} }
		keycleaner.exe {-f} {-o outfile.key} {infile.key }
		keycleaner.exe -l ampac.key

options

-k

File ampac.key is cleaned and overwritten. This is the most common usage of keycleaner.exe.

-f

Force overwrite of output file. (Default = interactive).

-o

Specify name of output file.

-l

Print license information to standard output.

infile.key

Input file to be cleaned. (Default = standard input).

outfile.key

Output file receives cleaned key. (Default = standard output).

Output:

Output from keycleaner.exe is written to an AMPAC license file or to the screen.

When keycleaner.exe is used with the "-l" option, license information is written to the screen. Here is an example of the output from

keycleaner.exe -l ampac.key Input B.0 
License Key Type:       AMPAC version 3 key  1
Licenced to:            Licensee
Contact Name:           Someone
Customer Address:       Somewhere
Customer Serial Number: 0
Program Serial Number:  4
Machine Type:           0
Key Type:               A
Issue Date:             12/31/2003
Expiration Date:        12/31/2004                   2
Semichem Address:       Semichem, Inc.
Semichem Address:       PO Box 1649
Semichem Address:       Shawnee KS 66222
Semichem Address:       (913)268-3271
Semichem Address:       (913)268-3445 (fax)
Semichem Address:       
Options:                AMSOL                        3
Application Version:    8.0
License Type:           1
1

AMPAC 8 requires a version 3 key. Older version 1 and 2 keys will not work.

2

This lists when the license key will expire. After that date, a new key must be obtained from Semichem customer support to keep using AMPAC.

3

This section lists optional AMPAC add-on features. "AMSOL" indicates that the Amsol Model Module™ is available. If "AMSOL" is not listed here, then that option will not be available in AMPAC.

See also:

LICENSE