Das Licht Aug 9, 2024 @ 7:12pm
Windows 11_ Some games simply no longer start because of installation scripts.
Now that I have a new computer and Windows 11 Home, I wanted to continue playing Company of Heroes 3 or X4.
I copied the entire Steam folder to the new computer and had it updated.
Some games start without any problems, but these two as an example just don't want to.
They activate an installation script at startup, which probably wants to install DirectX etc..
Shortly afterwards the game crashes.
Is this due to the user account control? What do I have to set on Windows so that the files are installed or at least it thinks it has done so.
Or are there libraries missing that are not mentioned?
I am really at a loss. Dune Imperium, Endless Legend and Victoria 3 start without any problems.
But they don't run a script either.
I have about 500 games, but I'm going to stick with those two until the problem is solved.
< >
Showing 1-15 of 118 comments
Ocelote.12 Aug 9, 2024 @ 7:15pm 
Try "verify the integrity of game files" in Steam client game options (right-click on the game in your library then click properties, then click on "installed files", then on "verify"). This may help. Or may not.
Last edited by Ocelote.12; Aug 9, 2024 @ 7:16pm
Das Licht Aug 9, 2024 @ 7:16pm 
No use, he just makes this script and then he ends the game start.
The font turns green and that's it.
_I_ Aug 9, 2024 @ 7:31pm 
make sure steam is running as administrator
and run the games redists as admin
Bad 💀 Motha Aug 9, 2024 @ 7:33pm 
First off, don't have Steam or other game clients in OS startup

Disable Fast Startup + Hibernation
CMD (Run As Admin)
POWERCFG -H OFF
Press Enter
Restart Windows to apply fully.

Disable Core Isolation and Controlled Folders in Defender.

Set Windows Network to Private, not Public

Go to Classic Control Panel > Programs and Features > Turn Windows Features On/Off. Tick the boxes to add NET/ASP Framework to your OS along with Legacy DirectPlay.

Download and install the following...
> DirectX Redist June 2010
> Visual C Runtimes; 2005, 2008. 2010, 2012, 2015-2022; both X86 and X64 versions of each
> XNA Framework Redist 3.0, 3.1 and 4.0

Put shortcut for Game Clients such as Steam and others on Desktop. To launch them always do that via Right Click > Run As Admin. Verify each game before playing it again for the first time on the new PC.

If you have 2x GPUs like most PCs have now, go to Windowa Graphics Settings and add Game EXE files to this list, along with Steam.exe and set them all to "High Performance GPU"
Last edited by Bad 💀 Motha; Aug 9, 2024 @ 7:34pm
Das Licht Aug 9, 2024 @ 7:33pm 
I've done it before, but Steam wanted to chalk me up to a compatibility error^^

I'll give it a try right away. Now with X4 Foundation.

Ok, I'll do that later if it doesn't work with the admin. I'll get in touch too.
It's 4:30 in the morning here in Germany and I'm done because I've spent the whole day assembling this computer and installing Windows.
Fortunately, the box is running great. I've already made 2 threads here and it's certainly not the computer. It purrs like a cat.
This ♥♥♥♥♥♥♥ Windows. lol


I have now only installed 4.8 and it is updating straight away.
I didn't know that you have to activate it separately?
Last edited by Das Licht; Aug 9, 2024 @ 7:48pm
bidulless Aug 9, 2024 @ 8:37pm 
hello

never ,never run steam with admin privileges... it's not needed and a nonsens.

i think you talked about .net 4.8 ?
if one of the games you have setup needed it, it will be included into the steamwork shared folder and processed just at the first launch of the game but only if you had setup the game and not copier or imported it folder
steam\steamapps\common\Steamworks Shared\_CommonRedist\
but if you copied you games from an old comp, your current steam does not know that you have setup the game.
Das Licht Aug 9, 2024 @ 8:45pm 
It's all useless.
For example, it does not want to start X4. It does not start the installation at the first start and this has nothing to do with an old installation.
I have even reinstalled Steam and all games have always been completely reinstalled. I have already done this 3-4 times. I had only run the pure Steam folder from the latent computer once. That also works, but doesn't change the result.

The only thing left to do is to switch back to Windows 10. Unless someone knows the problem and the solution.
There must be a solution.

It must be a security problem. It is simply not installing the DirectX that it wants to run in the script. I see this in the task manager. It wants to run the setup, but it doesn't work.
I also tried to install DirectX manually, but that doesn't even work. It ends up making an error and the installation is invalid.

Such nonsense. What was Steam thinking?
It's always with the games where he wants to have a DirectX.

Or it skips DirectX, but something else is missing.
What is the most important library that you always need outside of normal Windows?

What do games like CoH3 or X4 need that others don't?
I also can't start the games from the folder because they are probably not complete or some files are missing.
When I try to start CoH3.exe, I immediately get an error and a request for reinstallation. This is also the case with X4.exe.
Last edited by Das Licht; Aug 9, 2024 @ 8:50pm
bidulless Aug 9, 2024 @ 8:51pm 
hello
So you think the problem is windows 11 ? when you other game worked after you installed .dotnet 4.8 ?
May be or may be not so in this case may be you should check https://www.pcgamingwiki.com/wiki/Home if you see something about you game x4 and w11 or even try to ask about the x4 game subforum
https://steamcommunity.com/sharedfiles/filedetails/?id=2796807980#5336004 taken from the wiki
Last edited by bidulless; Aug 9, 2024 @ 8:54pm
Das Licht Aug 9, 2024 @ 8:53pm 
hmm, these games all have Windows 10+ support. That can't be the problem.
bidulless Aug 9, 2024 @ 8:54pm 
Originally posted by Das Licht:
hmm, these games all have Windows 10+ support. That can't be the problem.
hello

aye but it does not mean you had setup both os the same way
from the wiki
OneDrive
Requires enabling backup of the Documents folder in OneDrive on all computers.

https://forum.egosoft.com/index.php?f=152
When I try to start CoH3.exe, I immediately get an error and a request for reinstallation. This is also the case with X4.exe.
.
may be you allready have your answer here
Last edited by bidulless; Aug 9, 2024 @ 9:04pm
Bad 💀 Motha Aug 9, 2024 @ 9:05pm 
Originally posted by bidulless:
hello

never ,never run steam with admin privileges... it's not needed and a nonsens.

i think you talked about .net 4.8 ?
if one of the games you have setup needed it, it will be included into the steamwork shared folder and processed just at the first launch of the game but only if you had setup the game and not copier or imported it folder
steam\steamapps\common\Steamworks Shared\_CommonRedist\
but if you copied you games from an old comp, your current steam does not know that you have setup the game.

It's required otherwise games can't install any 3rd party Runtimes or software. It gets bypassed when Steam is not run as admin.

This has always been true for Win10/11

You're games won't run without the bundled 3rd party stuff getting installed. Overall there are tons of games that won't run on Win10/11 until after you enable DirectPlay and also install the DirectX Redist June 2010 package.
Last edited by Bad 💀 Motha; Aug 9, 2024 @ 9:07pm
[-iD-] Aug 9, 2024 @ 9:37pm 
Originally posted by Das Licht:
No use, he just makes this script and then he ends the game start.
The font turns green and that's it.
that is what you have to do. if its not working something is up with steam.
Das Licht Aug 10, 2024 @ 2:26am 
So, I've been sleeping for 5 hours.
1. directX cannot be installed (offline, as well as setup version). It ends with an error message.
2. Net. Framework is activated. Everything you need.
I can't tell which old libraries are not installed.
Which ones would CoH3 and X4 need as more recent games?

I have 2 computers running here, so now I'm writing on the old W10 machine and have no game installed anymore, neither Steam nor Uplay or GOG or EA app. I will install X4 here again and also CoH3 so I can see how that looks in the folder. I'll also check the activated functions here to see what they look like.
These things must be present in some games that obviously need these games.
I also have an almost current W10 version on DVD, which is the last option. It doesn't matter to me whether it's W10 or W11.
But, it is simply due to the prevented script, which W11 probably already has everything and therefore the game is not completely installed. Otherwise other GAmes would not run, which do not.
Dune:Imeprium ran immediately. Endless Legends etc..

What should I copy to USB that W11 doesn't have? Libraries etc..
Last edited by Das Licht; Aug 10, 2024 @ 2:27am
Bad 💀 Motha Aug 10, 2024 @ 2:48am 
Maybe do a clean install of Win11 24H2 and go from there.

Next time don't copy your entire Steam folder; just this from the old folder.

c:/Steam
> Steam.exe
> DeptotCache (folder)
> SteamApps (folder)
> UserData (folder)

Right click Steam.exe > Run As Admin
This will tell WinOS this is where to have Steam installed.
Steam should connect online and download fresh Client files.

Now you have a clean Steam Client; all default settings.
However your Games within Steamapps\Common should be seen still. As there will still be app manifests to tell Steam Client they are installed (for the ones you have there already)
Das Licht Aug 10, 2024 @ 3:00am 
I've already done that too. I had also written. Had I? yes...

I had a completely fresh Steam and also the games without entries in documents or old saves. It just doesn't work for the life of me.
It doesn't want to run the script or does it because it has everything, but the game still won't start. It also wants to install DirectX, but doesn't, because no dialog appears.

In the beginning I saw admin prompts when he wanted to run the script. I overcame that, but it still doesn't help.
And I have unblocked everything that Avast could block.
< >
Showing 1-15 of 118 comments
Per page: 1530 50

Date Posted: Aug 9, 2024 @ 7:12pm
Posts: 118