V
V
Vladimir Zhukov2015-07-03 13:53:02
System administration
Vladimir Zhukov, 2015-07-03 13:53:02

How to continue running programs on Windows Server 2008 after ending a remote desktop session?

Now I'm working on one project, which has a desktop application that takes screenshots of certain sites (this is the customer's requirement, and nothing can be changed here). The application is running under Windows, installed it on a VPS on Windows Server 2008.
The problem is that the application only performs actions when an active remote desktop session is running. If I do a Log Out or Lock on the remote desktop, the application stops sending data to the server. Apparently this happens because the graphics mode is turned off after the session ends.
Since I am not strong in system administration, can you please help me to solve this problem? How to make the Windows visual environment work even after the remote desktop session ends? Because keeping another computer that will run smoothly with the remote desktop open is not an option.
Thanks for the help.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
T
t_q_l, 2015-07-03
@vladimirzhukov

0. We get administrator rights.
1. Set up group policies:
2. Set up automatic login at boot:
3. Reboot
4. Profit!
PS The method has a flaw in the form of a security hole, when you can get full control of the machine when connected via KVM.

R
Rsa97, 2015-07-03
@Rsa97

The only option is to connect not via rdp, but via vnc or other programs that give access to the main server console.

A
Alex Suvoroff, 2015-07-03
@Axel_L

1. Connect, as comrade Rsa97 said . Without using RDP
2. If Windows 2008 is located in a domain and group policies for splash screens apply to it, then you should disable them, and find "Display Settings" in the control panel and uncheck it, as shown in the figure:
It is quite possible that on the server OS this option cannot be disabled

A
Andrew, 2015-07-03
@mblp

LogOut closes all user applications.
Try disconnect.

E
efkot, 2015-07-03
@efkot

It will not work because even when disconnected, the video memory stops updating, in case of working via RDP

A
Andrey Ermachenok, 2015-07-03
@eapeap

This application works under Windows, installed it on a VPS on Windows Server 2008

So install on Win7 - everything will become much easier.

M
med1um, 2020-07-17
@med1um

Cut off with the command where the number of the active session (here 3) can be found with the query session command True, this requires administrator rights
tscon 3 /dest:console

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question