2016-11-23 11:27:54 +01:00
# Running Minio as a service on Windows
## Install Minio service
2016-11-25 01:52:01 +01:00
NSSM is an opensource alternative to srvany. NSSM is still being updated, and works on Windows 10 as well.
2016-11-23 11:27:54 +01:00
2016-11-25 01:52:01 +01:00
Download [NSSM ](http://nssm.cc/download ) and extract the 64 bit nssm.exe to a known path.
2016-11-23 11:27:54 +01:00
```
2016-11-25 01:52:01 +01:00
c:\nssm.exe install Minio c:\bin\minio.exe server c:\data
2016-11-23 11:27:54 +01:00
```
2016-11-25 01:52:01 +01:00
### Configure startup type
2016-11-23 11:27:54 +01:00
2016-11-25 01:52:01 +01:00
When you start services, look for the Minio service and start and stop (or make it automatically start at reboots) the service.
2016-11-23 11:27:54 +01:00
2016-11-25 01:52:01 +01:00
![Configure startup type ](https://raw.githubusercontent.com/minio/minio/master/docs/screenshots/windows-configure-startup-type.png )
2016-11-23 11:27:54 +01:00
2016-11-25 01:52:01 +01:00
### Configure user
2016-11-23 11:27:54 +01:00
It is a good (and secure) practice to create a new user, assign rights to the data folder to this user and change the service Log On info to use the newly created user.
2016-11-25 01:52:01 +01:00
![Configure user ](https://raw.githubusercontent.com/minio/minio/master/docs/screenshots/windows-configure-user.png )
2016-11-23 11:27:54 +01:00
## Delete Minio service
```
2016-11-25 01:52:01 +01:00
c:\nssm.exe remove Minio
2016-11-23 11:27:54 +01:00
```