How to Run Redis as a Service under Windows
- Download the Windows Redis port by Dušan Majkić. Extract it to C:\Program Files\Redis or your desired directory.
- Download the Windows Redis service program by Konstantin Cherenkov and put it into the same directory.
- Run the following (or follow the instructions on the Windows Redis Service page):
sc create Redis start= auto DisplayName= Redis binpath= "\"C:\Program Files\Redis\RedisService.exe\" \"C:\Program Files\Redis\redis.conf\""
SC is a windows utility which creates services. If you've never used it before, note well the spacing or lack thereof around the = signs because this stings basically everyone the first time.