Sync mapped local Windows user account network drives to Administrator.

Vinodh Iyer 0fdc6558a4 legibility update - readme 5 lat temu
README.md 0fdc6558a4 legibility update - readme 5 lat temu
remount-drives-for-admin.vbs b018b67683 init commit 5 lat temu

README.md

Windows User to Admin Network drive mapper

Short Description : Helps auto map a Windows account users mapped drives with Windows Admin account for programs working in «Administrator» Mode (Run as Administrator).

Example Script Context

Visual Studio Code would be able to access mapped network drive folders, symlinked folders without any problem in normal mode.

If you happen to start Visual Studio Code in Administrator mode, project files and workspaces on mapped network drives and symlinked folders vanish, dissapear, poof !

Why ? because windows as a security measures separates users mapped drives from administrators account. So drives you have mapped are not available to the administrator account.

So, if you’d want to auto-sync or manually execute this script to sync your mapped network drives to the administrators account. Go ahead, use this script…

To auto load drop this into C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp