2016-11-23 02:27:54 -08:00
# Running Minio as a service on Windows
## Install Minio service
2016-11-24 16:52:01 -08:00
NSSM is an opensource alternative to srvany. NSSM is still being updated, and works on Windows 10 as well.
2016-11-23 02:27:54 -08:00
2016-11-24 16:52:01 -08:00
Download [NSSM ](http://nssm.cc/download ) and extract the 64 bit nssm.exe to a known path.
2016-11-23 02:27:54 -08:00
```
2016-11-24 16:52:01 -08:00
c:\nssm.exe install Minio c:\bin\minio.exe server c:\data
2016-11-23 02:27:54 -08:00
```
2016-11-24 16:52:01 -08:00
### Configure startup type
2016-11-23 02:27:54 -08:00
2016-11-24 16:52:01 -08: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 02:27:54 -08:00
2016-11-24 16:52:01 -08:00

2016-11-23 02:27:54 -08:00
2016-11-24 16:52:01 -08:00
### Configure user
2016-11-23 02:27:54 -08: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-24 16:52:01 -08:00

2016-11-23 02:27:54 -08:00
## Delete Minio service
```
2016-11-24 16:52:01 -08:00
c:\nssm.exe remove Minio
2016-11-23 02:27:54 -08:00
```