How Do I Map a (SMB) Network Share On Windows (on the Confluence server)
Given an SMB file share available on your network as \\sharename\shared\
that you wish to have mapped to the Confluence server as X:\
, perform the following steps:
-
Download the Microsoft SysInternalsSuite and unzip it
-
Open a Command Prompt with escalated administrative permissions
- Press the Windows Key on the keyboard (or click the Windows Start icon)
- Type
cmd
- Right click
cmd.exe
(to open the Command Prompt) - Click Run as administrator.
-
Navigate to the folder unzipped in step 1.
-
Type in
psexec -i -s cmd.exe
and press Enter. A new console window opens up. -
Type in
net use x: \\sharename\sharedfolder /persistent:yes
and press Enter. The drive will show up as disconnected, but it will still work if you navigate to it. And most importantly: the drive is available to Confluence.
Note: If you need to delete the mapping later, then you have to repeat the steps up to 4, and then execute the command net use X: /delete
.