SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-10-23, 05:13 PM   #1
Hazelwood
Bosun
 
Join Date: Mar 2007
Location: Calgary, Alberta / Canada
Posts: 66
Downloads: 2
Uploads: 0
Default Another Win 11 Offering

I'm late to this discussion but seems everyone's situation is different so... here goes.

In Windows 10, around 2 years ago, started getting "An administrator has blocked this app" and SH4.exe is identified as the culprit. Presumably, there was an MS security update involved. Turning down the UAC slider in "Settings" didn't help. What did work was constructing an "elevated" launch icon for the sim. If you hadn't done this before, a bit daunting, but there's good advice on the Web. In business after that.

I could NOT get his trick to work under Win 11 so was stuck for a while. What did work was the following:

01 - In the application search Window type: "Edit group policy" (without quotes) and ENTER. (Group Policy can be found using Control Panel but this way is actually easier).

02 - In the panel that opens, choose "Windows Settings/Security Settings/Local Policies/Security Options"

03 - On right side, scroll down to find "User Account Control: Run all administrators in Admin Approval Mode Enabled"

04 - Double-click that line to get an option box with "Enable / Disable" options.

05 - Choose "Disable", close the editor and re-boot. The access problem is now solved but wait (see later).

06 - When finished gaming, be sure to re-enable that UAC setting for best protection. You'll have to go through the steps above but "Enable" that UAC setting in step 05.

My troubles still weren't over. The sim ran fine part way but upon doing my first SAVE it hung and could not be relaunched even with a reboot. Bummer. Upon first initialization, SH4 allocates a \SH4 directory with \Data as follows. This is SH4's working directory for the files included and is initialized from the one distributed in the executable's directory so you can ignore that one for now:

C:\Users"Your Name"\Documents\SH4\data\cfg

(Note - "Your Name" might not be your name but it's whatever you called your user account when installing Windows.). If you are using "Onedrive" the \Documents folder will be under \Onedrive. I don't use Onedrive so you're on your own there.

Navigate to and open "main.cfg" (in \cfg above) in a text editor. Once there, specify preferences in the "Video" section. The following worked for me with a Hi-Def monitor:

[VIDEO]
Resolution=1920,1280,60,22
DynamicShadows=Yes
FullScreen=No
Synchronized=No
TextureResolutionHigh=Yes

You might have to experiment with this and the simulation's graphics settings (once you can get in there). What appears to work is having the two matched.

I still was not out of the woods as the sim would not launch. After a lot of fooling around did the following:

01 - Deleted the entire \SH4 folder found in C:\Users"Your Name"\Documents\SH4\data\cfg.

(This is safe. Windows might obstruct you saying the file is open in another program. In that case, do a cold boot from system powered-down and you are good to go.)

02 -This forces SH4 at your next launch to rebuild that directory from the execution library (good idea to have desired video settings in the .cfg in THAT library.

Caramba! SH4 now launched. I was able to edit all options and the sim runs beautifully. "Saves" work without a glitch. I can only surmise that refreshing the "working" main.cfg fixed something.

Hope this helps someone.

Best wishes,
Cpt. J. Hazelwood
Hazelwood is offline   Reply With Quote
Old 03-11-23, 01:32 PM   #2
Red Devil
The Old Man
 
Red Devil's Avatar
 
Join Date: May 2004
Location: Sutton Coldfield England
Posts: 1,347
Downloads: 359
Uploads: 0


Default

to kill uac just go to control panel and type it into search - bingo
__________________
>
>
Captain!, there's a destroyer on the por........ periscope is flooded Sir!
>
Darkness is only the absence of Light; Ignorance is only the absence of knowledge ©

www.worldwartwo.uk
www.captainwalker.uk
www.mikekemble.uk
Red Devil is offline   Reply With Quote
Old 03-12-23, 04:13 AM   #3
cdrsubron7
Sink'em All
 
cdrsubron7's Avatar
 
Join Date: Mar 2001
Location: Naperville, IL
Posts: 2,239
Downloads: 305
Uploads: 1


Default

Where do you have SH4 installed?
__________________



Head Deep and Keep'em Astern" - LtCDR Samuel D Dealy
SHIV Guide | Imperial Japanese Navy | US Submarines



cdrsubron7 is offline   Reply With Quote
Old 07-04-24, 08:31 AM   #4
Pilot_76
Chief
 
Join Date: Mar 2010
Location: São Paulo, Brazil
Posts: 325
Downloads: 507
Uploads: 0
Icon8

Still not working for me after trying all mentioned here. I have just installed SH4 under Win 11 on a brand new system. The thing is that when switching to external camera if not immediately, the game will CTD after a while. No frozen screen, just CTD. Steam edition.
Pilot_76 is offline   Reply With Quote
Old 07-05-24, 03:52 PM   #5
Pilot_76
Chief
 
Join Date: Mar 2010
Location: São Paulo, Brazil
Posts: 325
Downloads: 507
Uploads: 0
Icon14

Got it! Working OK.

Pilot_76 is offline   Reply With Quote
Old 07-18-24, 03:17 PM   #6
nycoroner05
Sparky
 
Join Date: Jun 2006
Location: FLA
Posts: 155
Downloads: 146
Uploads: 0
Default Issues with Win 11

I have a digital copy I got off of Amazon a few years back. I have tried all the fixes listed in this forum but nothing works. I have lowered the permissions on win admin but i still can't launch the game.
__________________
nycoroner05 is offline   Reply With Quote
Old 07-18-24, 03:26 PM   #7
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

Your pictures did not come through nycoroner05. Are you editing any of the SH4.exe file's "Properties"? Navigate into your game folder, right-click on the SH4.exe file, and choose "Properties" from the resultant context menu. Then click on the "Compatibility" tab. There are several settings in there you could try, one at a time, until you get it to run OK in Stock trim. Your computer hardware determines what you need to alter:




Also, is your Amazon license being recognized properly?
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 07-18-24, 04:27 PM   #8
nycoroner05
Sparky
 
Join Date: Jun 2006
Location: FLA
Posts: 155
Downloads: 146
Uploads: 0
Default

I tired the compatibility mode and none of it worked. Running an MSI gaming laptop with the following:


Memory: 16 GB @ 1600 MHz
- 8192 MB, DDR4-3200, Samsung M471A1K43EB1-CWE
- 8192 MB, DDR4-3200, PNY Technologies Inc
Graphics: NVIDIA GeForce RTX 3050 Laptop GPU, 3980 MB

Disk: SSD, Samsung SSD 980 1TB, 931.51 GB
__________________
nycoroner05 is offline   Reply With Quote
Old 07-19-24, 06:30 PM   #9
nycoroner05
Sparky
 
Join Date: Jun 2006
Location: FLA
Posts: 155
Downloads: 146
Uploads: 0
Default

Quote:
Originally Posted by Hazelwood View Post
I'm late to this discussion but seems everyone's situation is different so... here goes.

In Windows 10, around 2 years ago, started getting "An administrator has blocked this app" and SH4.exe is identified as the culprit. Presumably, there was an MS security update involved. Turning down the UAC slider in "Settings" didn't help. What did work was constructing an "elevated" launch icon for the sim. If you hadn't done this before, a bit daunting, but there's good advice on the Web. In business after that.

I could NOT get his trick to work under Win 11 so was stuck for a while. What did work was the following:

01 - In the application search Window type: "Edit group policy" (without quotes) and ENTER. (Group Policy can be found using Control Panel but this way is actually easier).

02 - In the panel that opens, choose "Windows Settings/Security Settings/Local Policies/Security Options"

03 - On right side, scroll down to find "User Account Control: Run all administrators in Admin Approval Mode Enabled"

04 - Double-click that line to get an option box with "Enable / Disable" options.

05 - Choose "Disable", close the editor and re-boot. The access problem is now solved but wait (see later).

06 - When finished gaming, be sure to re-enable that UAC setting for best protection. You'll have to go through the steps above but "Enable" that UAC setting in step 05.

My troubles still weren't over. The sim ran fine part way but upon doing my first SAVE it hung and could not be relaunched even with a reboot. Bummer. Upon first initialization, SH4 allocates a \SH4 directory with \Data as follows. This is SH4's working directory for the files included and is initialized from the one distributed in the executable's directory so you can ignore that one for now:

C:\Users"Your Name"\Documents\SH4\data\cfg

(Note - "Your Name" might not be your name but it's whatever you called your user account when installing Windows.). If you are using "Onedrive" the \Documents folder will be under \Onedrive. I don't use Onedrive so you're on your own there.

Navigate to and open "main.cfg" (in \cfg above) in a text editor. Once there, specify preferences in the "Video" section. The following worked for me with a Hi-Def monitor:

[VIDEO]
Resolution=1920,1280,60,22
DynamicShadows=Yes
FullScreen=No
Synchronized=No
TextureResolutionHigh=Yes

You might have to experiment with this and the simulation's graphics settings (once you can get in there). What appears to work is having the two matched.

I still was not out of the woods as the sim would not launch. After a lot of fooling around did the following:

01 - Deleted the entire \SH4 folder found in C:\Users"Your Name"\Documents\SH4\data\cfg.

(This is safe. Windows might obstruct you saying the file is open in another program. In that case, do a cold boot from system powered-down and you are good to go.)

02 -This forces SH4 at your next launch to rebuild that directory from the execution library (good idea to have desired video settings in the .cfg in THAT library.

Caramba! SH4 now launched. I was able to edit all options and the sim runs beautifully. "Saves" work without a glitch. I can only surmise that refreshing the "working" main.cfg fixed something.

Hope this helps someone.

Best wishes,
Cpt. J. Hazelwood
Appreciate the feedback. The game is not worth the effort.LOL I got Silent Hunter 1 to run perfectly via the dosbox. SH3 runs without any effort. Why this one is difficult is crazy.
__________________
nycoroner05 is offline   Reply With Quote
Old 07-20-24, 09:02 AM   #10
Red Devil
The Old Man
 
Red Devil's Avatar
 
Join Date: May 2004
Location: Sutton Coldfield England
Posts: 1,347
Downloads: 359
Uploads: 0


Default

yeah I recall the sh4.exe is a big bad file that windows wouldn't play with. Did anyone fix it because my initial feeling is NO! Sometime in the recent past I was trying something to do with running off a stick, and got the sh4.exe - no you cant have it you naughty boy!!
__________________
>
>
Captain!, there's a destroyer on the por........ periscope is flooded Sir!
>
Darkness is only the absence of Light; Ignorance is only the absence of knowledge ©

www.worldwartwo.uk
www.captainwalker.uk
www.mikekemble.uk
Red Devil is offline   Reply With Quote
Old 05-31-26, 05:50 PM   #11
Red Devil
The Old Man
 
Red Devil's Avatar
 
Join Date: May 2004
Location: Sutton Coldfield England
Posts: 1,347
Downloads: 359
Uploads: 0


Default

this works fine in Win 11 Home - but - so many bugs, so many problems, so very annoying.
__________________
>
>
Captain!, there's a destroyer on the por........ periscope is flooded Sir!
>
Darkness is only the absence of Light; Ignorance is only the absence of knowledge ©

www.worldwartwo.uk
www.captainwalker.uk
www.mikekemble.uk
Red Devil is offline   Reply With Quote
Old 06-08-26, 07:43 PM   #12
CameramanDavid
Swabbie
 
Join Date: Dec 2007
Location: Los Angeles Area
Posts: 8
Downloads: 4
Uploads: 0
Default Am I out of luck...?

I have a fresh CD-ROM of SH4 1.0, installs, but it won't run on my Win 11 Laptop, 32GB RAM, i7 processor...

I also have the version 1.4 patch (I prefer it over 1.5), It says "Security Violation" every time I try to install it... and won't give me the opportunity to bypass the security warning...
CameramanDavid is offline   Reply With Quote
Old 06-08-26, 08:33 PM   #13
Red Devil
The Old Man
 
Red Devil's Avatar
 
Join Date: May 2004
Location: Sutton Coldfield England
Posts: 1,347
Downloads: 359
Uploads: 0


Default

I remember something similar long ago. I will try and remember how to do it and come back to you, it was something to do with compatibility settings
__________________
>
>
Captain!, there's a destroyer on the por........ periscope is flooded Sir!
>
Darkness is only the absence of Light; Ignorance is only the absence of knowledge ©

www.worldwartwo.uk
www.captainwalker.uk
www.mikekemble.uk
Red Devil is offline   Reply With Quote
Old 07-28-26, 09:54 AM   #14
Red Devil
The Old Man
 
Red Devil's Avatar
 
Join Date: May 2004
Location: Sutton Coldfield England
Posts: 1,347
Downloads: 359
Uploads: 0


Default

Time to die. Sh4 is really on the rocks. I am chugging along on the surface after sinking a troop ship. Suddenly I am XXXX feet down and doomed! Several times, cannot get away from it, so full dismantle of the Drum (always the damn Drum). And start again. Have not finished a career for eons.
__________________
>
>
Captain!, there's a destroyer on the por........ periscope is flooded Sir!
>
Darkness is only the absence of Light; Ignorance is only the absence of knowledge ©

www.worldwartwo.uk
www.captainwalker.uk
www.mikekemble.uk
Red Devil is offline   Reply With Quote
Old 08-22-26, 11:22 AM   #15
Bubblehead1980
Navy Seal
 
Join Date: Apr 2009
Location: USA
Posts: 8,645
Downloads: 697
Uploads: 61


Default Bloody Hell

EDIT - 8-23-26 - ISSUE RESOLVED

First, thank you for all of the responses here and in DM's. This really is a great community.

While tried countless remedies, I stumbled across...this one, covering bases.

Right click on SH4.exe>Properties>Security>Edit Permissions>Full control>

I unclicked all permissions on all users (admins, authenticated users), then clicked again to give full control...then clicked apply and okay.

I then clicked on SH4.exe and run as administrator, worked properly again.


Happy the sim will run now.


Still working on WHY this happened to me as the only admin and user of this PC, why it shows me as an Admin but this happened.

Anyways, happy for now.




I have a newer PC that I use exclusively for gaming and at this time, only SH 4 with no problems for over a year since set things up


I decided to do a fresh install and now SH 4 will not run, says I need an administrator position. Thing is, I am the the administrator and it was working fine previously.


I've went through all the steps...UAC, did a scan to and said repaired corrupted files, I am clearly listed as an administrator.


If I log out of my account and into the local administrator account, SH 4 will run.


Rather aggravated at this point.


Any ideas?





Below is the message I receive when I try to run SH 4 by clicking or run as administrator as I always do.

Last edited by Bubblehead1980; 08-23-26 at 09:06 PM.
Bubblehead1980 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:35 PM.


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