Enter the redis installation directory:
redis-server --service-install redis.windows.conf redis-server --service-start