Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Stop/Start a Remote Window Service Using Java

Manu Garg
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

We in the process of writting some custom script which can Start/Stop a window services, Problem is our code is not local to the machine on which we need to Start/Stop a window service, To make thing clearer, we have 2 servers condered it A and B. Our Java code is on Server A which need to Stop/Start a Window service running on Server B (On same n/w). Telnet to Server B is not avaliable.

Any help will be highly appreciated.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic