I have encountered an issue with accessing network shared folder while working using corporate VPN.
The folder access times out and when I look at firewall logs, I see the client is trying connect to port 5985 instead of 445.
If I clear the current session from the firewall I get access to the folder and I see traffic goes to port 445 afterwards.
This happens whenever I try to connect to the shared folder for the first time in the day.
I also noticed, when I disconnect and reconnect to VPN, I'm able to connect to the folder.
Is there a way to stop the client from connecting to port 5985 for the first attempt?