Skip to main content

Hvorfor bryter programmene i Windows 7 og Vista?

Hvorfor bryter programmene i Windows 7 og Vista?

Geoffrey Carr

Hva er endringene gjort i Windows 7 og Windows Vista, som forårsaket at mange applikasjoner designet for Windows XP å "break?"

Endringene i Windows ble gjort for å forbedre sikkerhet, pålitelighet, ytelse og brukervennlighet, og i noen tilfeller fjerne eldre komponenter som nettopp har nådd slutten av brukstid. De mest signifikante endringene i applikasjonskompatibiliteten inkluderer:

User Account Control (UAC)/Standard User accounts. In the development of Windows Vista, the engineering team set out to enable most organizations to deploy their users as standard users, and reserve administrator privileges for those who need them—IT professionals. Adopting the principle of what we used to call ‘least-privileged user account’ for client PCs helps prevent intrusive malware, reduces end user configuration errors, and prevents unauthorized applications from being loaded on the machine. In the past, an application had the ability to write to the registry settings, modify the kernel, and other similarly invasive actions. Unfortunately this level of freedom came with a price—namely security. Windows now restricts the parameters of the OS an application is able to change—limiting the impact any malware can have—but applications that were written with this behavior will need to be modified or shimmed to function in Windows 7.

Applications performing hard version checks for the Windows XP operating system version are also affected. While it makes some sense for a developer to lock support and functionality for the application with the version of the operating system the developer originally used in testing, it also assumes that users will never attempt to install that application on a newer OS, or install a newer Service Pack to the same OS. While this is a relatively easy issue to mitigate with compatibility modes or fixes, you will see this surface frequently when coming from Windows XP to Windows 7.

For sikkerhets skyld tok ingeniørgruppene som var ansvarlige for Windows Vista og Windows 7 ikke problemet lett ...