I experienced this problem after installing my disk imaging backup software.
Removing that software allowed the share to work again. I was referred to the IRPStackSize increase too, but found I needed to increase it by more than the initial amount of 3 recommended in the Microsoft article.
For what it’s worth my value is now set to 18 - no problems with accessing network share.
After a few combinations, it finally started working. Not sure exactly what I did. However I did set the IRPStackSize to 18, rebooted, installed Avast, then rebooted again.