Avatar of bucephalus
bucephalus asked on

Remote Connection using mstsc and mstsc /console

I do mstsc and take a remote of a machine and start a application but when i close the remote connection leaving the application running i could see the application closing after 15 to 30 minutes but when i do mstsc /console it was running fine till i close it manually.

I have been using mstsc before and things where running fine like mstsc /console but i have got a new machine where i face the above issue. Any resolution for this.

Thanks in advance
Microsoft Server OSMicrosoft Legacy OS

Avatar of undefined
Last Comment

8/22/2022 - Mon

What machines are you running as client and host for the RDP (mstsc) session?

The non-console session is likely timing out.  I believe that the default  is 10 minutes.

The machine to which i take a remote is Server 2003 and the machine from where i take remote is a simple desktop means Windows XP.

All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck

@RedEagle_Ward Can you please explain more where i need to check this. I believe i am looking for this solution only

Are you on Active Directory?

Windows 2003 doesn't have a default timeout for a remote session. On the server, run Terminals Services Manager and see what remote sessions are open. It's possible that you are not reconnecting to previous sessions.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

You can change the value for timeout via Group Policy or directly on the user account.

Open the Active Directory User and Computers
Select the Sessions Tab

Your default settings for the user are there.

Directly from the Microsoft Website:

This is how to setup the server for remote administration.

Note that Group Policy will override the settings that you put on a user in Active Directory.


Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

chuckyh - Doesn't that apply only to the connection.  I don't believe that will persist with the user in subsequent sessions.

Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy

It applies to each user that logs in. What do you mean subsequent sessions?