How can I fool a program into thinking my Windows 2000 installation is actually Windows NT/95/98?

John Savill

January 30, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. A. Windows 2000 provides a utility called APCOMPAT.EXEwhich can fool a program into thinking it is running on Windows NT (service pack3,4 or 5), Windows 95 or Windows 98. The syntax of the command is as follows:

apcompat [-?] [-v version name] [-x program path] [-d] [-t] [-g] [-k]



Parameters:

-?

Displays the syntax for the command line parameters. 

-v

Specifies the name of the operating system you want to return to the specified program. 

1

Returns the version WindowsNT4 SP3

2

Returns the version WindowsNT4 SP4

3

Returns the version WindowsNT4 SP5

4

Returns the version Windows98

5

Returns the version Windows95

-x

Specifies the path and name of the executable (.exe) file for the program you want to run. 

-d

Disables the Heap Manager for the portion of memory reserved for the specified program

-t

Uses Temp for the Temp folder when running the specified program

-g

Corrects disk space detection.

-k

Stores the specified Application Compatibility settings

The tool is part of the Windows 2000 support tools and is documented in the w2rksupp.chmHTML Help file. You can run APCOMPAT.EXE with no qualifiers which will launch aGUI version allowing you to make choices on screen. It can be found insupport.cab in the supporttools folder of your CD.

Click here to view image

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like