Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I logged into a Windows 2008 server via remote desktop as Administrator and started a wget process which will take 24 hours to download 29 files.

If someone happens to log in during that time and "logs the administrator out" so that they can log in, will the wget process be killed or continue to run?

share|improve this question
up vote 2 down vote accepted

If they force a logout on the Administrator the session will be killed. If they log into that same session, it will continue running.

To make this easier we tend to use the admin switch to log in for long running operations, to ensure that the session doesn't get accidentally killed by forcing a logoff.

The best way to do this is to put the command in a batch file and do a once off task scheduler task for it, which will ensure it runs irrelevant of who is logged in or not.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .