Hello.

Something like this perhaps?

http://stackoverflow.com/questions/560366/detect-if-running-with-administrator-privileges-under-windows-xp

Couple of ideas to test. (old, but the idea is the important)

On Tue, Dec 13, 2016 at 3:11 PM, <[email protected]> wrote:

> I want to prevent vagrant to start if its from unprivileged cmd
> Is there a way to do it from the vagrantfile?
>
> Thanks!
>
> --
> 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/13fea7be-9448-44ef-a007-2da6a30dde66%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/13fea7be-9448-44ef-a007-2da6a30dde66%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro

-- 
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/CAHqq0eywpnM8Dnx%2Btvoy9vp3VDsEyMrgPHZiUVzvEhY67f8vow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to