Autoreconnect max retries
Applies To: Windows Server 2008 R2
This setting determines the maximum number of times the client computer will automatically try to reconnect to the remote computer if the connection is dropped, for example, when there is an interruption of network connectivity.
autoreconnect max retries:i:<value>
Specifies the maximum number of times the client computer will attempt to automatically reconnect to the remote session.
If this setting is not specified, the default value is 20.
To configure the maximum number of reconnection attempts to be 10, type:
autoreconnect max retries:i:10