How can I optimize application compatibility for Windows 8?

Source: Internet
Author: User

In general, Microsoft tries its best to maintain forward compatibility when updating each operating system version. However, there are also some exceptions. If a series of updates to improve performance need to take into account the previous version, it will affect the overall performance and cannot be changed. For example, Microsoft removed the compatibility support for 15-bit applications.

There are many updates to the windows 8 client and server versions, which brings great compatibility challenges. Some of these new challenges cannot be solved by administrators. They can only be handled by the initial developers of the application. Most changes are explained in the update document "windows and windows server Developer Preview compatibility manual", which details compatibility issues of most programs, provides a solution to problems existing in the current version. The following are known program compatibility fault reports. System version number. Yes, the old problem is new again. Because windows uses a special version number, some old applications may encounter problems. windows 8 defines its own version number as 6.2. These programs can run in the compatible mode provided by windows, for example, on the Compatibility page of the program shortcut), but if you are a program developer, you must be more careful when verifying the version number. Microsoft recommends that you use the 'check version information' function with a version number greater than, not equal to, or a special version number ). Headless server applications. This is one of the most important changes, because the new version of windows server is mainly server core) is designed not only to run headless programs, but also to support those programs without graphic interfaces. In environments with poor performance, graphical interfaces can be uninstalled, for example, in virtual machines with widely shared resources, or similar operations can be performed for other reasons, such as reducing the possibility of server attacks. Some server programs, although they may not run in a graphic environment. The application of any command line version should run well theoretically, but it may fail to run well once it is presented to the user through a graphical interface. There is no good way to solve the problem caused by this graphic interface. Therefore, it can only maintain applications without a graphic interface version in most cases. If you are going to run all applications on the server core operating system, you should fully test it to ensure that it performs as expected in a graphic environment. If the results are the opposite, and you have a certain understanding of programming, You need to migrate the existing code to the server core platform, and re-confirm those WIN32 APIs and.. net clr can be supported by core systems ... NET Framework. In Windows 8, put the. NET 4.5 framework into its default program installation package, but it does not contain. NET3.5. If you have programs that explicitly only support version 3.5, not just independent programs, but also those based on this version. in this case, you need to manually add the old version.. NET. Fortunately, this won't cause major compatibility problems, because different versions of. NET can coexist and run independently. The Microsoft documentation provides instructions on how to manually add a. NET 3.5 framework without touching windows updates. Because. NET4.5 is already part of windows run time (WinRT), Word allows developers to create applications using the "metro" view and quickly create programs using the hourglass program model. If you want to change or upgrade the server application for windows 8 and you already know C # Or C ++, this task is not difficult, but there are still some things worth exploring in this document. 4 K disk sector. This is more like a hardware problem than a program problem, but it still deserves our attention. Currently, mainstream new disks on the market generally use 4 K sectors to replace the old 512-byte sector design. 4 K sector drives, also known as "Advanced format" disks, often encounter some strange problems in the program designed for 512 byte sectors. It does not take forward compatibility into consideration. In Windows 8, a new API is added to query the file sector size. Then, you can use the command line tool to support script query of the volume size. Kernel driver without signature. If you have some programs, whether third-party or vendor-provided, that use the kernel driver, windows server strictly limits the use of the kernel driver for security reasons and regards it as a rogue software. The biggest change to the use of kernel drivers on devices includes the standard extended firmware interface UEFI) Secure boot feature, which is used to protect machines from rogue software attacks. UEFI secure startup is a server option, but we recommend that you enable it. If you want to use the UEFI Security boot item on the server, you 'd better use a trusted certificate to verify the kernel driver. Otherwise, we recommend that you disable the security startup Item.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.