Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 401437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:02:02+00:00 2026-05-12T17:02:02+00:00

I have a windows server 2003 up in the internet. But sometime I need

  • 0

I have a windows server 2003 up in the internet.
But sometime I need to restart it.
After restart, I want one of the applications to run.

I want to do this all programatically.
I can now remotely restart the server.

But the question is how can I ask that piece of software to be executed (more precisely, I want to execute a .BAT file to ask a tomcat to run)?
Because I don’t want to manually log in to the machine and start that application. That is time consuming. Is there any possible way, once the machine is started, my application will be run as well?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T17:02:03+00:00Added an answer on May 12, 2026 at 5:02 pm

    If you’re developing an application that should always be running on the server, you probably need to implement it as a Windows service. For C#, see the classes in the System.ServiceProcess namespace — you will need to inherit from ServiceBase.

    Alternatively, you can set the program to be run as a scheduled task on boot. See the Task Scheduler API to do this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a newly configured Windows Server 2003 VM. One of the issues with
I have Microsoft Windows Server 2003. I installed JDK 1.7.0 and JDK 1.6.0 but
I have an ASP.NET application which runs in Windows Server 2003. In this application
I have a Windows 2003 Server and need to remove all folder through command
I have a Windows Server 2003 64-Bit VPS, and I'm experiencing a problem with
I have a Windows Server 2003 system that is used for terminal services. We
I have three Windows Server 2003 with 2 GB RAM. Server1 tomcat 5.5.25 jvm
At work, we have a windows server 2003 with IIS and Subversion installed. We
I have 1 PC (Windows Server 2003 + SQL Server 2008) and 2 PCs
Unfortunately I have to use Windows Server 2003 on my 32 bit workstation due

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.