# Unable to stop rails application running as window service

**URL:** <https://www.ruby-forum.com/t/unable-to-stop-rails-application-running-as-window-service/193545>\
**Category:** Rails\
**Created:** [August 19, 2010, 1:59pm UTC](https://www.ruby-forum.com/t/unable-to-stop-rails-application-running-as-window-service/193545 "2010-08-19T13:59:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amit-singh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9f8e36/32.png) [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Post date:** [August 19, 2010, 1:59pm UTC](https://www.ruby-forum.com/t/unable-to-stop-rails-application-running-as-window-service/193545/1 "2010-08-19T13:59:06Z")

</div>

hi,  
I having a rails application running as windows service and its  
running ok as service but as i tried stop it using service.msc service  
box ,it appears to be stopped but its effect is still there and when i  
restarted the machine only then it stopped actully . i written a batch  
file and converted it in to windows service the conten ofmy batch file  
are  
ruby script\sever -p 3000  
could you please help me out
