Fixed windows deploy

Tested by sebbu.
Fixed windows share path lookup

Tested by sebbu.