P
P
ptvalx2021-02-13 22:38:30
Google Chrome
ptvalx, 2021-02-13 22:38:30

How to set up a Windows server so that after closing the RDP connection, on the server, Google Chrome js-intervals do not slow down?

Immediately after disconnecting from the server, the intervals begin to run once per second, and not 100 ms.

How I check:

var ts_start = Date.now();
setInterval(function(){
  console.log(Date.now() - ts_start);
},100);


The session itself does not end - it does not ask to enter again (that's what I need). Previously, I somehow overcame this on Windows Server 2012 by putting some kind of checkmark, but now I can’t google it.
OS: Windows Server 2019. There is a monitor emulator and it is configured so that the graphics are processed on the server video card.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
ptvalx, 2021-02-13
@ptvalx

Created a batch file.

for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (tscon.exe %%s /dest:console)

I run it when I want to disconnect from the server. It turns off and everything continues to work as before.
Found here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question