RE: Remote Desktop Affects Windows Application on network interruption

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

Based on my understanding, you remote desktop B to a computer A and runs an
application on computer A. When the application is run, you disconnect the
network cable between the two computers. After some time, you reconnect the
network and find that the application has "hung" while the network has been
disconnected because the counter in the application has not been
incrementing. If I'm off base, please feel free to let me know.

I performed a test based on your description, but didn't reproduce the
problem on my part.

I create a WinForm application similar to yours and place it on a machine
installed Windows XP. I remote a desktop installed Vista to the machine
installed Windows XP and run the application.

The application starts up and displays the counter incrementing every
second. When the texbox on the form shows 10, I disconnect the network
cable. After 10 seconds, I reconnect the network cable. The Vista machine
tries to reconnect the remote desktop connection. After it finishes the
reconnection, I see the textbox on the form displayes 20.

I also have a test minimizing the form before I disconnect the network
cable. The result is that the application keep running when the network is
disconnected.

I think the problem may be related to the remote desktop connection. When
the network cable is disconnected, you may login the machine that was
remote connected to directly to see whether the application is really hung.

Could you tell me what the OS of your remote desktop and the machine that
is remote connected to are respectively? As I have mentioned above, in my
test, the remote desktop is intalled Windows XP and the the machine remote
connected to is intalled Windows Vista.

If you have anything unclear, please feel free to let me know.

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • RE: RWW VB error - being disconnected
    ... VBScript Remote Desktop Disconnected an internal error has occurred. ... Step 3: check following timeout settings. ... Microsoft CSS Online Newsgroup Support ... <Workspace.) Randomly they are being disconnect and get a message saying ...
    (microsoft.public.windows.server.sbs)
  • Re: Multiple MSTSC.EXE Processes on WinXPSP2
    ... I am not sure what is happening, but my guess is that something is interfering with the disconnect process. ... Only that version the window disappeared but the mstsc.exe process ran in the background? ... Since the problem is occurring on your work computer, that is what I am referring to from now on. ... These types of software can cause all sorts of strange behavior so temporarily disable them and then try using Remote Desktop. ...
    (microsoft.public.windows.terminal_services)
  • RE: Remote Desktop on Windows 2003
    ... sessions by stopping and starting on of the services on the server. ... we cannot simply disable some services to disconnect ... Open Remote Desktop Connection. ...
    (microsoft.public.win2000.general)
  • Re: Multiple MSTSC.EXE Processes on WinXPSP2
    ... I found that it's ONLY happening in my Profile and only on that computer. ... Are you able to close the window (disconnect) now? ... behavior so temporarily disable them and then try using Remote Desktop. ...
    (microsoft.public.windows.terminal_services)
  • Enforce session timeout on Remote Desktop
    ... We are using Remote Desktop for users to connect remotely back to our network ... and use a standard version of our XP desktop. ... disconnect rather than logoff or they leave their session connected, ...
    (microsoft.public.windowsxp.work_remotely)