This message was deleted.
# citrix-vad
s
This message was deleted.
f
Issue is seen on full desktop or published app ?
Recently I came across a similar issue (published app) and prepopulate
HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\DefaultConnectionSettings
fixed it.
🙏 2
m
wow - thanks! That seems exactly my problem. Before opening edge DefaultConnectionSettings is not present. After opening Edge the key is created and all runs fine. https://docs.microsoft.com/en-us/troubleshoot/developer/browsers/connectivity-navigation/no-internet-connectivity-internet-explorer-not-started
Here a short PS Script to generate the DefaultConnectionSettings automatically:
Copy code
$signature = @'
[DllImport("wininet.dll", SetLastError = true, CharSet=CharSet.Auto)]
public static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int dwBufferLength);
'@

$INTERNET_OPTION_SETTINGS_CHANGED   = 39
$INTERNET_OPTION_REFRESH            = 37
$type = Add-Type -MemberDefinition $signature -Name wininet -Namespace pinvoke -PassThru
$type::InternetSetOption(0, $INTERNET_OPTION_SETTINGS_CHANGED, 0, 0) | Out-Null
$type::InternetSetOption(0, $INTERNET_OPTION_REFRESH, 0, 0) | Out-Null
running this once for the user and all works fine.
👍 2