Problems automating with remote servers

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
pnassetti
Posts: 7
Joined: 09 Mar 2021, 06:54

Problems automating with remote servers

Post by pnassetti » 04 May 2021, 16:51

Greetings

I'm trying to automate a fairly long process. The process on itself is pretty much solved, however i'm facing a problem:
It's running on a Microsoft Server 2016, so if i close the remote access window, the script never runs.

I tried either

Code: Select all

RegWrite REG_DWORD, HKCU, Software\Microsoft\Terminal Server Client , RemoteDesktop_SuppressWhenMinimized, 2
and

Code: Select all

RegWrite REG_DWORD, HKLM, Software\Microsoft\Terminal Server Client , RemoteDesktop_SuppressWhenMinimized, 2
as well as cutting all the WinActivate's i can (even though there's a bit with a 'Save as' that i havent managed to run reliably without WinActivate. It must be kept for the program to save as PDF and in a fixed location for me to recover)

I dont know what to do from here. THERE is anything to do here? Perhaps getting rid of Send's?
(I dont know if is relevant but the program i'm trying to automate seems fairly old. It looks like some early VB Net App)

spoiler contains the entirety of the script
Spoiler
Last edited by gregster on 04 May 2021, 17:00, edited 1 time in total.
Reason: Topic moved to 'Ask For Help'.
pnassetti
Posts: 7
Joined: 09 Mar 2021, 06:54

Re: Problems automating with remote servers

Post by pnassetti » 07 May 2021, 07:19

No ideas?
pnassetti
Posts: 7
Joined: 09 Mar 2021, 06:54

Re: Problems automating with remote servers

Post by pnassetti » 14 May 2021, 08:13

Any thoughts folks?
User avatar
Colunga_333
Posts: 1
Joined: 03 Nov 2022, 16:25

Re: Problems automating with remote servers

Post by Colunga_333 » 11 Nov 2022, 09:56

Is there any solution for this? i Got the same problem.
:( :( :(
User avatar
Xtra
Posts: 2744
Joined: 02 Oct 2015, 12:15

Re: Problems automating with remote servers

Post by Xtra » 11 Nov 2022, 12:02

Colunga_333 wrote:
11 Nov 2022, 09:56
Is there any solution for this? i Got the same problem.
:( :( :(
Run 2 virtual machines one inside the other. Then you can close the outer session and the inner will stay running.
Post Reply

Return to “Ask for Help (v1)”