Every once in a while I get this annoying problem where I can't a access my windows shares from other computers on the network, and the only way to get it it to work again is to restart windows.
I recently found out that to avoid restarting windows all you need to do is restart the "Server" service:
services.msc