Skip to content

Sharing Shares Between Login Sessions

Windows does not share mounted drives between login sessions of the same user (sshd and GUI/RDP).

Add the Policy

Look for EnableLinkedConnections which should be set to 1.

reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

When not, add the key to the registry.

reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLinkedConnections /t reg_dword /d 1

It all seems to have NO effect since the credentials are not stored for the fileserver.