Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 1106

Disconnecting RDP Session Causing Excel C++ Macro to Pause

$
0
0

Hi,

I'm kicking off an extensive Excel macro on a network machine via Remote Desktop Connection that takes roughly 50 hours to complete. The macro VB calls a DLL file to execute a chunk of code in C++ (I did not build it and am not well versed).  Running the macro in an active session works fine, but if I disconnect and return a good time later, I can tell the macro has made zero progress since when I disconnected from the session--I can tell from status bar communication in Excel.  Once I reconnect my session, the macro continues running like I'd never left and no error messages or code execution breaks messages to be found.

It gets weirder--I have 4 options of VMs to choose from, all of which have identical specs (Windows 10, 64-bit Office, 64-bit OS).  The macro will continue to run when I'm disconnected on only ONE machine. The only difference I can see on the one machine that's successfully running the macro, is that it's the least recent to have been rebooted (and therefore updated) of the lot.

I do not have local admin rights on any of the machines. Any incite would be greatly appreciated. 

I'll caveat that I'm kind of a layman in tech speak; I apologize if I chose the wrong categories to post on.


Viewing all articles
Browse latest Browse all 1106

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>