# Deploying from windows

**URL:** https://discourse.roots.io/t/deploying-from-windows/4434
**Category:** trellis
**Created:** 2015-08-07T14:46:44Z
**Posts:** 14
**Showing post:** 4 of 14

## Post 4 by @DemaniClassic — 2015-09-04T00:23:00Z

Hi matth,

I have successfully deployed to DO from a Windows 8.1 machine.

The error you’re getting has something to do with Windows messing up the file so that it does not execute properly in your VM.

1. Copy the hosts directory to a place that is exclusively available on the VM

2. I edited the [deploy.sh](http://deploy.sh) file

And changed the following line

```
-DEPLOY_CMD="ansible-playbook -i hosts/$1 deploy.yml --extra-vars="site=$2""
```

To the new file path

```
+DEPLOY_CMD="ansible-playbook -i /srv/www/hosts/$1 deploy.yml --extra-vars="site=$2""
```

1. Then I executed the deploy command with the new hosts location

If you receive a permission denied SSH error, follow this  
[https://help.github.com/articles/generating-ssh-keys/](https://help.github.com/articles/generating-ssh-keys/)

I think I mentioned all the steps. Let me know if this doesn’t work

**Sidenote**  
As a Windows user who is interested in a multisite install, I have decided that using Windows to run these programs is cumbersome and frustrating. So I’m trying to set up development VPS and use rsync so I can edit files from my Windows computer…

My biggest issue with using Windows is that as the size of my project gets bigger, the web server runs slower. I’m looking at minimum 5 second page load times.

I read somewhere that this has to do with synced folders

> **[NFS - Synced Folders - Vagrant by HashiCorp](https://www.vagrantup.com/docs/synced-folders/nfs.html)**
>
> In some cases the default shared folder implementations such as VirtualBox shared folders have high performance penalties. If you are seeing less than ideal performance with synced folders, NFS can offer a solution. Vagrant has built-in support to...

I also dread having to use **vagrant destroy**. Since you have to do a lot of updates in the VM, you will lose a ton of configuration settings necessary to get everything working in the first place.

The Landrush plugin for multisite also does not work on Windows, so hopefully you don’t need it.

---

_[View the full topic](https://discourse.roots.io/t/deploying-from-windows/4434)._
