Answering to my own question.. It seems i had to put the device name in this format in the map file used by automount: ://win-machine/C\$ Weird but it seems to work.