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

  • Home
  • SEARCH
  • 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 8644187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:13:59+00:00 2026-06-12T12:13:59+00:00

I have a console program (C#) that I’ve built and want to run on

  • 0

I have a console program (C#) that I’ve built and want to run on Amazon EC2 (Windows). The good part is that the program runs absolutely fine. The problem is that I have to be logged in via Remote Desktop for the console program to continue processing. I have tried leaving the user logged in (just close via the X close) but that was to no avail.

The program is an infinite loop that should just keep processing forever. How can I get the program to run even while not RD’ed in?

Little extra info: I’ve installed the program in the default (one-click install) way.

Thanks!

  • 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-06-12T12:14:00+00:00Added an answer on June 12, 2026 at 12:14 pm

    You can use Windows Task Scheduler to run a console program when you are not logged in.

    http://msdn.microsoft.com/en-us/library/aa383614.aspx

    http://en.wikipedia.org/wiki/Windows_Task_Scheduler

    Note that Windows Task Scheduler would have to initiate the program. That does not allow you to interactively start a console program as an interactive user (i.e. from your RDP session) and then keep it running.

    Alternatively, it is fairly straightforward to transform a console program into a windows service.

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

Sidebar

Related Questions

I have a certain Perl program that I need to run on Windows 7
I have the windows console program code below that should show up NT Authoroty\Network
I have a simple .bat script that runs an external console program and when
I have a console program that has different components that run like this: void
Hey everyone. I have an exe file that runs a console program that was
I have a C#/.NET program that can run both as a console application and
I have a program that runs in Python, without the console present (which is
I have program, that must interact with a console program before my program can
I have one application that prints messages from Test.exe in console .My java program
I have a console program and I want if the user press ctrl-z the

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.