Fetching contributors…
Cannot retrieve contributors at this time
39 lines (30 sloc) 1.14 KB

Shared Directory Mapper extension

By default Windows does not establish shared drive mapping for services even if it is configured in the Windows service profile. And sometimes it is impossible to workaround it due to the domain policies.

This extension allows mapping external shared directories before starting up the executable.

Since: WinSW 2.0.


The extension can be configured via the XML Configuration File. Configuration sample:

<?xml version="1.0" encoding="utf-8" ?>
  <name>Sample service</name>
  <description>This is a stub service.</description>

    <extension enabled="true" className="winsw.Plugins.SharedDirectoryMapper.SharedDirectoryMapper" id="mapNetworDirs">
        <map enabled="false" label="N:" uncpath="\\UNC"/>
        <map enabled="false" label="M:" uncpath="\\UNC2"/>


  • If the extension fails to map the drive, the startup fails