This one worked great for me i found this after 20 mins of searching on Google for the solution, so sharing it with you guys to save you the trouble.
There is another way to fix this issue. Works fine for me (Win7 32/ also tried 64Bit).
Advantage is you dont have to run a tool, just add following to registry:
32Bit Vista / Win7 Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\Compatibility\aoe2x10cp]
"Name"="age2_x1.exe"
"ID"=hex:EC,33,74,3B
"Flags"=hex:00,08,00,00
64Bit Vista / Win7 Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectDraw\Compatibility\aoe2x10cp] "Name"="age2_x1.exe"
"ID"=hex:EC,33,74,3B
"Flags"=hex:00,08,00,00
- Just create a new text file . And while saving in front of save as type select All Files. And give name as "age2.reg".
- Copy and Paste the code for your OS (32Bit or 64Bit) in that file. Save it.
- Import the File to the registry by double clicking it. And select yes at both the message windows that appear.
- Remember to RESTART before starting the game.
- Voila DONE. And nothing to do with explorer.exe or any windows file at all. This file just edits parameters of the game file which are reset once you reinstall.
You also can do the registry changes manually, but its much more comfortable this way.
Hope this helps someone else also.
HF
Thanks to BeyondGolem for this post
Taken from http://www.voobly.com/forum/thread/5573 at the end of page
Made some changes in the instructions to run the file so any newbie can do it.