Command and Conquer: Generals not launching on Windows 7 64-bit

I've tried a large number of solutions to the problems that 64 bit Windows 7 has with Generals and Zero Hour, to no avail. I've been trawling all over the internet for a fix for my problem.
To wit, I've properly created the options.ini file with proper file type as well as altering the resolution to match my desktop resolution. I have changed the properties on the game launcher to grant it admin privileges and run it with XP 3 compatibility enabled. I have changed both the base install folder and the data folder in documents to disable read-only access.
Notably, I have not been running into the same errors as everyone else I have been reading as running into. My problem is that before granting permission to run in XP 3, the game explicitly tells me it could not launch and to try running it in an older compatibility. After enabling this, attempting to launch the game simply does not work, no error report or anything. Generals.exe simply vanishes within a few seconds.
There are a lot of other fixes I have tried but cannot remember for their comparative obscurity. I updated directx to be sure, and my graphics drivers are up to date though after an issue installing an update a month ago my driver kernel occasionally freezes up while I am watching videos in my browser.
I'm clueless as to how to get Generals working. I would really love to have it running so I could play some of the excellent mods for it.
Best Answer
The reason that this game no longer works is outlined by the other answer and this other question on Arqade. Basically there was a security hole in Windows 7 and 8 that Microsoft patched that makes certain write protection not work anymore. There is a simpler and safer solution to the problem than the one outlined in the other answer though (note that there is no workaround for Windows 10). First, open a command prompt as an administrator:
Windows button -> cmd.exe -> right-click -> Run as administrator
Run this command (with the exact spaces) to reenable the driver's service:
sc config secdrv start= demand
You should get a [SC] ChangeServiceConfig SUCCESS
message. Then run this command to start the service:
sc start secdrv
Then open the game and it should work! You'll have to start the service every time you want to run this or any other CD-based game with SafeDisc or SecuROM, and you'll probably want to stop it when you're done to reduce security risks.
Pictures about "Command and Conquer: Generals not launching on Windows 7 64-bit"



How do I run Command and Conquer Generals on Windows 7?
How do I fix Generals Zero Hour not launching?
How can I fix Command and Conquer: Generals problems?How do I install generals zero hour on Windows 7?
Ban in ChinaThe Generals series is banned in mainland China. Throughout the Chinese campaign, the player is occasionally made to utilize heavy-handed tactics such as leveling the Hong Kong Convention and Exhibition Centre after it becomes a GLA base and destroying the Three Gorges Dam to release a flood on GLA forces.Command \u0026 Conquer Generals Zero Hour Windows 7, 8, and 10 - 64bit fix
More answers regarding command and Conquer: Generals not launching on Windows 7 64-bit
Answer 2
I have Windows 7 64-bit as well. Generals did work on my computer at some point but no longer worked for a while. I did try all the fixes you mentioned, and I eventually found out that my problem was caused by a Windows update, specifically, Update KB3086255. Here's a link to show you how to uninstall the aforementioned update:
Answer 3
Following the instructions on forums.cncnz.com worked for me. I already had the latest drivers and I installed C&C Generals and Zero Hour. Then (these are I think the most important parts):
- Try to run C&C. It will not work but it will create this directory:
C:\Users\<your user name>\Documents\Command and Conquer Generals Zero Hour Data
. - In this directory, create an empty file called
options.ini
. - Copy these contents to the file:
AntiAliasing = 1 BuildingOcclusion = yes CampaignDifficulty = 0 DynamicLOD = yes ExtraAnimations = yes GameSpyIPAddress = 0.0.0.0 Gamma = 50 HeatEffects = yes IPAddress = 0.0.0.0 IdealStaticGameLOD = Low LanguageFilter = false MaxParticleCount = 5000 MusicVolume = 55 Resolution = 1366 768 Retaliation = yes SFX3DVolume = 79 SFXVolume = 71 ScrollFactor = 60 SendDelay = no ShowSoftWaterEdge = yes ShowTrees = yes StaticGameLOD = Custom TextureReduction = 0 UseAlternateMouse = yes UseCloudMap = yes UseDoubleClickAttackMove = no UseLightMap = yes UseShadowDecals = yes UseShadowVolumes = yes VoiceVolume = 70
- In Windows Explorer, go to
C:\Program Files (x86)\EA Games\Command & Conquer Generals Zero Hour
. - Right-click on
generals.exe
. Select Properties. - On the Compatibility tab, check Run this program in compatibility mode for and in the drop down select Windows XP (Service Pack 3).
- On the same tab, under Privilege Level check the Run this program as administrator check box.
- Press OK and then run the program.
So far this crashed once (with a "serious error" when I changed the settings in game) - apart from that it has worked fine.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Levent Simsek, Antony Trivet, Antony Trivet, Karolina Grabowska