reg add “HKLM\SOFTWARE\Microsoft.NETFramework\v4.0.30319” /v SchUseStrongCrypto /t REG_DWORD /d 1 /f
reg add “HKLM\SOFTWARE\WOW6432Node\Microsoft.NETFramework\v4.0.30319” /v SchUseStrongCrypto /t REG_DWORD /d 1 /f
reg add “HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client” /v Enabled /t REG_DWORD /d 1 /f
reg add “HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client” /v DisabledByDefault /t REG_DWORD /d 0 /f
nstall VC++ 2015–2022 (x86) runtime (you only have x64):
- Install x86 v14.44 as well (and, if the app is older, VC++ 2013 x86).
Rationale: these apps are often 32-bit; missing x86 runtime causes native DLL load failure which surfaces as an unhandled managed exception.
Reset the per-user app config (if a bad setting was saved during an OFAC run):
- Close the app → delete the newest
user.config
under%LOCALAPPDATA%\[Publisher]\[Official/Offical Check]*\*\user.config
- It will regenerate on launch.
Printer A/B test (if the OFAC flow opens a preview/print):
- Make Microsoft Print to PDF the default and retry; update/remove legacy PCL6/“Universal” drivers if that fixes it.
try {
$r = Invoke-WebRequest -Uri “https://sanctionslist.ofac.treas.gov/” -Method Head -UseBasicParsing -TimeoutSec 20
“OK Treasury SLS reachable: {0}” -f $r.StatusCode
} catch { “ERR: $($_.Exception.Message)” }
$exe = ‘OFACCheck.exe’ # exact name
reg add “HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\$exe” /v DumpFolder /t REG_EXPAND_SZ /d “C:\CrashDumps” /f
reg add “HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\$exe” /v DumpType /t REG_DWORD /d 2 /f
reg add “HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\$exe” /v DumpCount /t REG_DWORD /d 5 /f
mkdir C:\CrashDumps -Force | Out-Null
%SystemRoot%\SysWOW64\regsvr32.exe “C:\Windows\SysWOW64\MSCOMCTL.OCX”
%SystemRoot%\SysWOW64\regsvr32.exe “C:\Windows\SysWOW64\COMDLG32.OCX”
%SystemRoot%\SysWOW64\regsvr32.exe “C:\Windows\SysWOW64\MSFLXGRD.OCX”
%SystemRoot%\SysWOW64\regsvr32.exe “C:\Windows\SysWOW64\MSXML3.DLL”
%SystemRoot%\SysWOW64\regsvr32.exe “C:\Windows\SysWOW64\MSXML6.DLL”