Rock failing to connect to shared folder hosted on windows10 server[fixed by increasing IRPStackSize value]

With the help of Vova and Roon support we were able to fix this issue. It turned out to be a windows10 issue with IRPStackSize parameter settings (this seems to be a quite common issue). The fix for me was to create a registry entry for IRPStackSize and set it to 30 and then reboot.