On a Windows 10 Pro 1909 (build 18363.657) mashine with one wifi- and two lan devices we try to use wifi to offer an internet connection via lan to an external sip phone. The computer is used as a Display system in public space only, showing some informations to the public. Press a call button results in a phone call via the sip phone. No other user action is possible. There is only one windows user.
PC is behind a router and firewall in dhcp mode.
Internet <> router <> PC wifi adapter (dhcp, sharingmode for ethernet01) <> PC LAN adapter (ethernet01, fixed ip address) <> sip phone (dhcp)
First we used the bridge mode of win10, it worked partly, but the connection was switched on and off all the time (every 30 sec.), caused by a 'policy' - netsh wlan report told us so EDIT: (event IDs 11004 'wifi security has been halted.' and 8003: something like 'Reason: The network is disconnected due to a policy that disables automatic connection on this interface.').
Then we tried sharing the wifi. This works perfectly, until we restart the computer. If we check the Sharing tab of the wifi device, settings are still there, but sharing it self doesn't work. The ip address of the device that is conneted to the lan port, is 0.0.0.0 - the lan port ip is fine (192.168.137.xxx).
After switching off the sharing mode and switch it on again, everything is fine - up to the next restart of the mashine.
Is there a possibility to do this automaticly, meaning deacitivate and then again acitivate this settings (the sharing mode) using some code, e.g. use powershell to set some registry entries. We tried to use netsh wlan, but could´t find a solution (there are no commands for the sharing tab).
Does somebody know if we can solve this, changing registry keys (or any other idea)?
Where is this sharing information stored in Windows? in a file, in registry keys?
Intel(R) Dual Band Wireless-AC 8260, Device drivers are up to date.