Excellent, thank you Jordan.  I'll probably go with
EnableLinkedConnections.  I'm using the admin terminal just to have
successful NPM installs without symlink failures.  For what I'm doing
staying in admin would be just fine.

Up till now I haven't had an issues using the mapped drives which are just
being used as storage devices (i.e. non system / application).

On Sun, Dec 16, 2018 at 2:03 PM Jordan Borean <[email protected]> wrote:

> In Windows mapped drives are mapped per logon session and when you have a
> split token (limited vs admin), each token is in a unique logon session.
> This means that drives that have been mapped in a limited logon session,
> like in Windows explorer, will not be seen in the admin session and vice
> versa.
>
> You can prove this by running ‘net use’ in a normal command prompt versus
> an elevated command prompt. You have a few options;
>
> * set the EnableLinkedConnections registry property
> https://support.microsoft.com/en-au/help/3035277/mapped-drives-are-not-available-from-an-elevated-prompt-when-uac-is-co
> which shares the drives between a split token
> * manually map the drive with net use before running vagrant up
> * don’t use mapped drives altogether as you will probably come across
> another issue, especially if you start trying to run this non interactively
>
> Thanks
>
> Jordan
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Vagrant" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vagrant-up/iTkbwHpuHT8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/6d0fab41-3710-4030-bf6d-6b9eb039de3d%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CACs-8oRQZ2jj1LKeWK%3D1rs-2ub0jcXgVs_uHxs%3Di4r4ZbLk%3D8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to