# Why is vagrant up giving me n error of access denied on my windows machine?

**URL:** <https://discuss.hashicorp.com/t/why-is-vagrant-up-giving-me-n-error-of-access-denied-on-my-windows-machine/52338>\
**Category:** Vagrant\
**Created:** [April 5, 2023, 7:53am UTC](https://discuss.hashicorp.com/t/why-is-vagrant-up-giving-me-n-error-of-access-denied-on-my-windows-machine/52338 "2023-04-05T07:53:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![waruguru](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/waruguru/32/34940_2.png) [@waruguru](https://discuss.hashicorp.com/u/waruguru)\
**Post date:** [April 5, 2023, 7:53am UTC](https://discuss.hashicorp.com/t/why-is-vagrant-up-giving-me-n-error-of-access-denied-on-my-windows-machine/52338/1 "2023-04-05T07:53:39Z")

</div>

Hello, I have installed vagrant version 2.3.4… I am trying to instll elk(Elastic Logsash and Kibnalocally) the issue is after vagrant installation on Windows OS . The issue is when i run **vagrant up** on terminal(opened terminal as administrator i get below error:" vagrant up  
_C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/util/subprocess.rb:160:in `rescue in execute’: Access is denied. (5) (Vagrant::Util::Subprocess::LaunchError)_

- 

```
   from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib/vagrant/util/subprocess.rb:153:in `execute'*

```

What should I do?

I have tried uninstalling and installing afresh. turning firewall off…opening terminal as admin…

Kind regards,  
Joyce

---

<div class="post-metadata">

**Author:** ![marinela.selseth](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@marinela.selseth](https://discuss.hashicorp.com/u/marinela.selseth)\
**Post date:** [October 10, 2023, 8:25pm UTC](https://discuss.hashicorp.com/t/why-is-vagrant-up-giving-me-n-error-of-access-denied-on-my-windows-machine/52338/2 "2023-10-10T20:25:07Z")

</div>

Having similar issue, when starting vagrant 2.3.4 under git bash. This is a Virtual Box VM Linux, created under Windows 10. git bash version 2.41.0.windows.3. Somewhere I read that could be related to files using "\ " windows style versus Linux “/”. What is the fix?

I get:  
Traceback (most recent call last):  
35: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/bin  
/vagrant:211:in `<main>' 34: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/bin /vagrant:211:in `new’  
33: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib  
/vagrant/environment.rb:189:in `initialize' 32: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib /vagrant/environment.rb:1008:in `process\_configured\_plugins’  
31: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib  
/vagrant/environment.rb:980:in `find_configured_plugins' 30: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib /vagrant/environment.rb:968:in `guess\_provider’  
29: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib  
/vagrant/environment.rb:364:in `default_provider' 28: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib /vagrant/registry.rb:48:in `each’  
27: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib  
/vagrant/registry.rb:48:in `each' 26: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib /vagrant/registry.rb:49:in `block in each’  
25: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib  
/vagrant/environment.rb:378:in `block in default_provider' 24: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plu gins/providers/virtualbox/provider.rb:21:in `usable?’  
23: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plu  
gins/providers/virtualbox/provider.rb:21:in `new' 22: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plu gins/providers/virtualbox/driver/meta.rb:41:in `initialize’  
21: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plu  
gins/providers/virtualbox/driver/meta.rb:41:in `synchronize' 20: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plu gins/providers/virtualbox/driver/meta.rb:46:in `block in initialize’  
19: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plu  
gins/providers/virtualbox/driver/meta.rb:177:in `read_version' 18: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib /vagrant/util/retryable.rb:17:in `retryable’  
17: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plu  
gins/providers/virtualbox/driver/meta.rb:178:in `block in read_version' 16: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plu gins/providers/virtualbox/driver/base.rb:398:in `execute’  
15: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib  
/vagrant/util/retryable.rb:17:in `retryable' 14: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plu gins/providers/virtualbox/driver/base.rb:403:in `block in execute’  
13: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plu  
gins/providers/virtualbox/driver/base.rb:467:in `raw' 12: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib /vagrant/util/busy.rb:19:in `busy’  
11: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/plu  
gins/providers/virtualbox/driver/base.rb:468:in `block in raw' 10: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib /vagrant/util/subprocess.rb:22:in `execute’  
9: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib  
/vagrant/util/subprocess.rb:154:in `execute' 8: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib /vagrant/util/safe_chdir.rb:24:in `safe\_chdir’  
7: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib  
/vagrant/util/safe\_chdir.rb:24:in `synchronize' 6: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib /vagrant/util/safe_chdir.rb:25:in `block in safe\_chdir’  
5: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib  
/vagrant/util/safe\_chdir.rb:25:in `chdir' 4: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib /vagrant/util/safe_chdir.rb:26:in `block (2 levels) in safe\_chdir’  
3: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/vagrant-2.3.4/lib  
/vagrant/util/subprocess.rb:155:in `block in execute' 2: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/childprocess-4.1. 0/lib/childprocess/abstract_process.rb:81:in `start’  
1: from C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/childprocess-4.1.  
0/lib/childprocess/windows/process.rb:71:in `launch_process' C:/HashiCorp/Vagrant/embedded/gems/2.3.4/gems/childprocess-4.1.0/lib/childproces s/windows/handle.rb:12:in `open’: Access is denied. (5) (ChildProcess::Error)
