Sync mapped local Windows user account network drives to Administrator.
Vinodh Iyer 0fdc6558a4 legibility update - readme | пре 5 година | |
---|---|---|
README.md | пре 5 година | |
remount-drives-for-admin.vbs | пре 5 година |
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