# リモートデスクトップ接続の安定性について

**URL:** <https://forum.uipath.com/t/topic/515538>\
**Category:** フォーラム\
**Created:** [February 10, 2023, 12:59am UTC](https://forum.uipath.com/t/topic/515538 "2023-02-10T00:59:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![s-yamamoto](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/s-yamamoto/32/176817_2.png) [@s-yamamoto](https://forum.uipath.com/u/s-yamamoto)\
**Post date:** [February 10, 2023, 12:59am UTC](https://forum.uipath.com/t/topic/515538/1 "2023-02-10T00:59:39Z")

</div>

UiPath Studio（v2022.10）にて、リモートデスクトップ先のサーバ上で操作をしようとしています。

リモート元：Windows10  
リモート先：Windows Server2012R2

リモート先にStudioのUIAutomationとバージョンを揃えたRemoteRuntimeをインストールしました。

現在困っている事象としては、  
リモート接続をして、リモート先のデスクトップを開いた1回目はリモート先のセレクタが認識できるのですが、それから一度リモートデスクトップを最小化してしまった場合  
2回目以降開いた際にリモート先のセレクタが認識できなくなるという事象が発生しています。

ただ、その状態でデバッグを実行すると問題なくフローはリモート先のセレクタを認識し、意図する動作をします。

このままではリモートデスクトップを最小化するたびにリモートデスクトップに再接続する必要があり、大変困っています。

どなたか解決策についてご存じでしょうか。

---

<div class="post-metadata">

**Author:** ![Yoichi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yoichi/32/523754_2.png) [@Yoichi](https://forum.uipath.com/u/Yoichi)\
**Post date:** [February 10, 2023, 1:23am UTC](https://forum.uipath.com/t/topic/515538/2 "2023-02-10T01:23:11Z")

</div>

こんにちは

直接の因果関係はわかりませんが、例えば以下の設定が影響している等ありませんでしょうか？

> **[最小化された RDP ウィンドウでタスクを実行する](https://docs.uipath.com/robot/lang-ja/docs/executing-tasks-in-a-minimized-rdp-window)**
>
> Automation on a virtual environment is done through visual recognition of elements rather than direct UI object interaction. This means that the RDP window needs to be visible at all times for most UI actions to work. However, interactive tasks can...

---

<div class="post-metadata">

**Author:** ![s-yamamoto](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/s-yamamoto/32/176817_2.png) [@s-yamamoto](https://forum.uipath.com/u/s-yamamoto)\
**Post date:** [February 24, 2023, 2:35am UTC](https://forum.uipath.com/t/topic/515538/3 "2023-02-24T02:35:54Z")

</div>

設定をしてみましたが、問題は解決しませんでした。

その他可能性のあるポイントとしてなにかございませんでしょうか。  
未だ解決せず、何度もトライして偶然上手くいった際に…というような  
非効率な作業となってしまっている状況です…。
