SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Silent Hunter 4: Wolves of the Pacific (https://www.subsim.com/radioroom/forumdisplay.php?f=202)
-   -   A Fix for Windows 10 Blocking SH4 Executable (https://www.subsim.com/radioroom/showthread.php?t=244085)

Sosondowah 04-06-21 09:50 AM

Taking this into account, I would say I have (theoretically) administrative rights, belonging to the Administrators group:


https://ibb.co/VNYmQWx

Sosondowah 04-06-21 09:51 AM

Quote:

Originally Posted by propbeanie (Post 2740904)
First things first: have you attempted to activate any mods, or is this a bone-stock install? Have you tried to clear the Save folder ("C:\Users \UserName \Documents \SH4")? Navigate to that folder and delete it. Everything below it will be re-created when you start the game again. However, you will lose all game progress - if you have an. Another technique would be to move the folder out of Documents for safe-keeping elsewhere, or copy and paste it somewhere else.

Have you set the video stream correctly? Your monitor has a "native" resolution, such as 1920x1080 or similar, which Windows will refer to as "(recommended)" after the numbers, such as "1920x1080 (recommended)" or "1366x768 (recommended)" or some-such. Be sure you have Windows set like that, unless you are doing HDMI, in which case, Windows will set it to whatever it wants... I do not use anything with the DisplayPort connector, so I am uncertain as to how Windows handles those. Be sure your "Scaling" is set to 100%. Look at those Properties settings in the link on the previous page again, and make certain that you have the "Disable fullscreen optimizations" checked, as well as the "Override high DPI scaling... Application" from the "Change high DPI behavior" button. On one of my computers, I have to tick the "Run this program in compatibility mode - Windows 7", on another I do not. On one of my computers, I have to tick the "Run this program as an administrator", on the other I do not. It all depends upon your hardware and OS settings. It took a LOT of experimentation on the newest beast I have, to find the correct combination.

What can sometimes help is to edit the "Main.cfg" file with a text editor, such as Windows Notepad or Notepad++ or similar, to match your video settings, but set it to windowed. If the game ran previously, that file is usually found in the "C:\Users \UserName \Documents \SH4 \data \cfg" folder. "UserName" being the name that you log into the computer with, and "Documents" might be "My Documents". The first line under the heading "[Video]" in the file to look for is similar to "Resolution=1768,992,30,22" or maybe "Resolution=1024,768,30,22" or similar. Match your Windows video setting. The other line is "FullScreen=No", which you might change to "FullScreen=Yes". This should be unnecessary to do. A person with SH3 might need to do this.

I have 3 computers with Win10 on them. 1) A Core2 quad-core Running Win10 Insider, fast circle, with an nVidia 560Ti card, minimal changes (High DPI changes though). 2) A 5th gen Core i5 laptop running Win10 Home "Local" log-in, with onboard Intel graphics, minimal changes, (Run as administrator). 3) An i7 920 running Win10 Home retail, with dual nVidia 980 cards, and this one was a real bother to get SH4 running reliably on, and Win10 seems to constantly want to change all of my user settings for the "legacy" apps with each update, like my cell fones do... :roll: - everything is ticked on it, and is the basis of the illustration in that previous post. :salute:

Thank you for the effort, but it's a Windows problem.

1Patriotofmany 04-06-21 10:19 AM

Just another reason I hate win10. Hell charge me $400 a year to update XP and 7 against hacks and lockups microsoft and I'd gladly pay it. XP was great, 7 was awesome IMO. Guess I'm just a dated guy but I hate 10.

3catcircus 04-06-21 10:44 AM

Quote:

Originally Posted by Sosondowah (Post 2740922)
Taking this into account, I would say I have (theoretically) administrative rights, belonging to the Administrators group:


https://ibb.co/VNYmQWx

I'm wondering if your account became corrupted somehow...

https://answers.microsoft.com/en-us/...4-a2c7ab5370d3

https://www.ryadel.com/en/windows-us...ights-uac-fix/

Moonlight 04-06-21 11:03 AM

Use the link below, read it, change it, use it, it's that bleeding simple, :haha:
There are 5 ways to change an account in this link, use the one you think is the easiest.
How to change a Windows 10 user account type and why you might want to
https://www.windowscentral.com/how-c...ndows-10#page1

Something doesn't look right with that blank line.
Quote:

Originally Posted by 3catcircus (Post 2740927)


3catcircus 04-06-21 11:26 AM

Quote:

Originally Posted by Moonlight (Post 2740928)
Use the link below, read it, change it, use it, it's that bleeding simple, :haha:
There are 5 ways to change an account in this link, use the one you think is the easiest.
How to change a Windows 10 user account type and why you might want to
https://www.windowscentral.com/how-c...ndows-10#page1

Something doesn't look right with that blank line.

I think the fact that local accounts being part of the Administrators group but not actually having full rights like the built-in admin account is something a lot of people don't actually know.

Sosondowah 04-06-21 11:46 AM

It seems that this option is greyed out:

https://ibb.co/TtcWCxm

3catcircus 04-06-21 12:23 PM

Quote:

Originally Posted by Sosondowah (Post 2740935)
It seems that this option is greyed out:

https://ibb.co/TtcWCxm

It appears your account doesn't have admin rights, If I'm reading that correctly, which means you'll have to log in via the built-in admin account and give your account admin rights.

Sosondowah 04-07-21 03:25 AM

It doesn't work. Even reinstalling Windows didn't worked. Forget it, thanks, anyway!

mazzi 04-07-21 04:59 AM

Quote:

Originally Posted by Sosondowah (Post 2741059)
It doesn't work. Even reinstalling Windows didn't worked. Forget it, thanks, anyway!

Now on your way "G:\Games\Silent Hunter 4\sh4.exe" does not work. And on other disks?
Copy the game, for example "D:\Games\SH4\sh4.exe" or "E:\Games\SH4\sh4.exe" or "F:\Games\SH4\sh4.exe" does not work?

3catcircus 04-07-21 07:06 AM

Quote:

Originally Posted by Sosondowah (Post 2741059)
It doesn't work. Even reinstalling Windows didn't worked. Forget it, thanks, anyway!

Let me ask one last outlier - what version of Win10 do you have? If it is Win N version, you might have to install the media pack that includes a bunch of codecs.

Sosondowah 04-10-21 05:01 AM

Quote:

Originally Posted by 3catcircus (Post 2741080)
Let me ask one last outlier - what version of Win10 do you have? If it is Win N version, you might have to install the media pack that includes a bunch of codecs.

It is Windows Pro 64.

Sosondowah 04-10-21 05:06 AM

Quote:

Originally Posted by mazzi (Post 2741062)
Now on your way "G:\Games\Silent Hunter 4\sh4.exe" does not work. And on other disks?
Copy the game, for example "D:\Games\SH4\sh4.exe" or "E:\Games\SH4\sh4.exe" or "F:\Games\SH4\sh4.exe" does not work?

No, nothing works, I've reinstalled Windows, I've changed the location of the game, I've reinstalled the game and so on.

I will also add that when I've reinstalled the game and wanted to update to 1.4 version, when I double click to silent_hunter_4_1.4.exe nothing happens and when I try to open that file as an administrator I receive the same crappy message.

The only way the game currently works is via built in administrator account.

3catcircus 04-10-21 06:22 AM

Quote:

Originally Posted by Sosondowah (Post 2741513)
No, nothing works, I've reinstalled Windows, I've changed the location of the game, I've reinstalled the game and so on.

I will also add that when I've reinstalled the game and wanted to update to 1.4 version, when I double click to silent_hunter_4_1.4.exe nothing happens and when I try to open that file as an administrator I receive the same crappy message.

The only way the game currently works is via built in administrator account.

Then it means *your* account doesn't actually have admin rights. With the built in admin account, go and give your account admin rights.

Sosondowah 04-10-21 11:13 AM

Quote:

Originally Posted by 3catcircus (Post 2741547)
Then it means *your* account doesn't actually have admin rights. With the built in admin account, go and give your account admin rights.

I cannot do that, as you can see in this screenshot, this is made from the built in administrator account when I try to change the so called user account where the problem is:

https://ibb.co/TtcWCxm

And the strangest thing is that I have this problem with not being able to run SH4 only on one desktop out of the three I have.

Moonlight 04-10-21 01:37 PM

This is a tutorial link that changes a guest account into an administrator account.
https://www.tenforums.com/user-accou...r-account.html

If you can't do it that way then you'll have to make yourself a member at https://www.tenforums.com/ and they will help you to change an account type.

Do what these people tell you to do and they'll sort it out for you, Do Not take 15 posts to tell them about your account problem when 1 will suffice. :up:

3catcircus 04-10-21 03:58 PM

Quote:

Originally Posted by Sosondowah (Post 2741593)
I cannot do that, as you can see in this screenshot, this is made from the built in administrator account when I try to change the so called user account where the problem is:

https://ibb.co/TtcWCxm

And the strangest thing is that I have this problem with not being able to run SH4 only on one desktop out of the three I have.

I'm going to ask a really dumb question - your account is an actual account, right? Not a temporary guest account?

Sosondowah 04-11-21 06:00 AM

Quote:

Originally Posted by 3catcircus (Post 2741637)
I'm going to ask a really dumb question - your account is an actual account, right? Not a temporary guest account?


Yes.

Sosondowah 04-11-21 07:58 AM

Quote:

Originally Posted by Moonlight (Post 2741622)
This is a tutorial link that changes a guest account into an administrator account.
https://www.tenforums.com/user-accou...r-account.html

If you can't do it that way then you'll have to make yourself a member at https://www.tenforums.com/ and they will help you to change an account type.

Do what these people tell you to do and they'll sort it out for you, Do Not take 15 posts to tell them about your account problem when 1 will suffice. :up:


I will mention that I have a lousy workaround which is not safe, so I will not use it: disabling UAC (the registry key to change is EnableLUA, whose DWORD value needs to be set to 0 instead of default 1:

https://community.microfocus.com/t5/...ry/td-p/951108


, restart and then set the proprieties of the sh4.exe file in Compatibility/Change high DPI Settings and check "Override high DPI scaling".

It works, in the sense that your game will start, but it puts you at high risk, so it's not a solution.


So, going back to trying to find a fix... looking at the screenshot I wonder: Is my Microsoft account Administrator or not?

https://ibb.co/jJPhf64

This is what I see listed as other users when I log into that so called built in administrator account.

While I appreciate your effort and involvement, none of the suggestions worked, so I invite anyone that believes can fix my issue to use TeamViewer/AnyDo on my PC with full access and Skype or any other similar software for communication purposes. Details can be given in a private message.

stoppro 04-11-21 10:02 AM

i guess i was lucky. changed compatablity setting to vista 2 started right up


All times are GMT -5. The time now is 11:25 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.