Accessing Windows Shares with Kodi on RasPi3

I have used OpenElec 7.0 to add Kodi to my RasPi 3. Upon setting up the RasPi and running Kodi for the first time, I am able to view my home video collection via UPnP, shared via Windows 10 Pro on a Wired Network computer. However after rebooting Kodi or after the RasPi goes to sleep, I return to access the UPnP folder i set up and it says it cannot connect the network server. Help!