Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


September 2001

Fool Your Applications

RSS
Subscribe to Windows IT Pro | See More Windows 2000 Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Windows 2000's Application Compatibility utility (apcompat.exe) lets you fool programs into thinking they're running under a version of the Windows OS that's different from the version you installed. Simply set the program to run in a Windows NT 4.0, Windows Me, or Windows 9x compatibility mode. This tool also offers three other compatibility settings: Disable Heap Manager on Windows 2000, Use pre-Windows 2000 Temp path, and Correct disk space detection for 2GB+ drives.

Win2K Service Pack 2 (SP2) includes another way to set a program to run in compatibility mode on Win2K Professional systems. This option is disabled by default. To enable it, log on as Administrator to a Win2K Pro system on which you've installed SP2, then click Start, Run and type

regsvr32 %systemroot%\apppatch\slayerui.dll

When you press Enter, the system presents a DllRegisterServer in C:\WINNT\apppatch\slayerui.dll succeeded message box. You can then modify an application's shortcut to cause the application to run in compatibility mode. To do so, right-click the shortcut and select Properties. The shortcut's Properties window will include a new Compatibility tab on which you can select the Run in compatibility mode check box. This check box enables a drop-down menu from which you can select Windows NT4 SP5 Compatibility Layer or Windows 95 Compatibility Layer.

Running an application in compatibility mode doesn't alter the program; it simply enables the OS to lie if the program asks for the OS version and slightly changes the system configuration so that the program runs in an environment that more closely resembles NT or Win9x. Microsoft cautions that serious problems can result from using compatibility mode to bypass version warnings in installation programs. For more information about this problem, see the Microsoft article "How to Enable Application Compatibility-Mode Technology in Windows 2000 Service Pack 2" (http://support.microsoft.com/support/kb/articles/q279/7/92.asp).

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

New Microsoft/Yahoo! Deal? No

On Sunday, the Times of London reported that Microsoft had renewed talks with failing Internet giant Yahoo! and would manage its search engine for 10 years, while Yahoo! would retain control of its email, messaging, and content services. This report ...

How can I stop and start services from the command line?

...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Windows, Unix, Linux Interoperability

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing