Back to Home

Patch a modern application for working under Windows 2000

win2k · patch · old iron

Patch a modern application for working under Windows 2000

If you think that Windows 2000 is dead, it’s far from it, it works fine on old hardware, albeit without security patches, but it’s excusable on a home intranet. An outdated system on an outdated Pentium-4, what could be more beautiful? Yes, and nostalgic feelings often require a return to the old interface in order to feel one and a half decades younger.

Of course, OS / 2 would look even better, but with it there are big problems with modern software. There are plenty of problems on Windows 2000 as well. For example, the deleted file recovery utility refused to work. Gives out that the executable is not a Win32 application. On Windows 7, it works fine.



Well, let's see what happened to the PE header of the exe file. At first glance, nothing suspicious. But after a detailed analysis and comparisondocumentation , it turns out that too large numbers in the parameters OS Version 5.01 and Subsystem Version 5.01 are an insurmountable obstacle to running our file under Windows 2000.



We fix it on OS Version 1.00 and Subsystem Version 3.10, set the checksum to zero, and patch the file.



After that, Windows 2000 starts to run the file, the problems are resolved.

In conclusion, I will give a byte comparison of the changes:

Comparison of repair1.exe and REPAIR2.EXE files
00000138: 05 01
0000013A: 01 00
00000140: 05 03
00000142: 01 0A
00000150: F0 00
00000151: 38 00
00000152: 0D 00

Read Next