I have a program that keeps crashing on the Windows 7 computer. It works fine on XP. The error message is a runtime 40006, which is network issue, but when I run ping test to the server the program communicates with, there are no dropped packets. I have changed compatiblity to xp sp3 and to run as an admin. I have turned off the firewall and uac. the only thing fix that works is turning off the read-only on the System32 folder, but as soon as the user shutdowns the computer the settings get reset and the 40006 come back. I have tried loading the dlls and ocxs from another folder but that does not help. Any suggestions would be greatful.