[GH-ISSUE #435] Problem with applications configured in RemoteApp #3248

Closed
opened 2026-03-13 05:56:19 +03:00 by kerem · 6 comments
Owner

Originally created by @lnunovero on GitHub (Jun 9, 2023).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/435

Originally assigned to: @VShawn on GitHub.

Hello dear friends
I would like to report a problem I am experiencing with the latest released Betas versions of 1Remote.
Currently I have applications configured with RemoteApp which stopped working from one day to another. At the moment when I double click on them and/or connect they simply do nothing, nor is the attempt to open a window displayed.

Interestingly when I delete my AppData hosted profile from the application and reconfigure it is when it works again.

I can't add an error image as there is no failure window that I can display.

I appreciate your support and collaboration to identify what may be going on, if you require any additional information or additional help from me please let me know.

  • OS: Win11 - 22H2
  • 1RemoteM Version: 1Remote-1.0.0.0-beta.04-net6-x64-nightly-20230606
Originally created by @lnunovero on GitHub (Jun 9, 2023). Original GitHub issue: https://github.com/1Remote/1Remote/issues/435 Originally assigned to: @VShawn on GitHub. Hello dear friends I would like to report a problem I am experiencing with the latest released Betas versions of 1Remote. Currently I have applications configured with RemoteApp which stopped working from one day to another. At the moment when I double click on them and/or connect they simply do nothing, nor is the attempt to open a window displayed. Interestingly when I delete my AppData hosted profile from the application and reconfigure it is when it works again. I can't add an error image as there is no failure window that I can display. I appreciate your support and collaboration to identify what may be going on, if you require any additional information or additional help from me please let me know. - OS: Win11 - 22H2 - 1RemoteM Version: 1Remote-1.0.0.0-beta.04-net6-x64-nightly-20230606
kerem 2026-03-13 05:56:19 +03:00
Author
Owner

@lnunovero commented on GitHub (Jun 9, 2023):

I add the log found in the AppDataRoaming\1Remote.logs path today when trying to access the RemoteApp:

[T:032][13:47:47.460] Error` [SessionControlService_OpenConnection.cs(b__3:121)]

System.IO.IOException: The process cannot access the file 'C:\Users\XX\AppData\Local\Temp\MobaXTerm_10101_XX.rdp' because it is being used by another process.
at System.IO.FileSystem.DeleteFile(String fullPath)
at System.IO.File.Delete(String path)
at _1RM.Service.SessionControlService.<>c__DisplayClass30_0.b__3() in D:\a\1Remote\1Remote\Ui\Service\SessionControlService_OpenConnection.cs:line 121

StackTrace: at System.IO.FileSystem.DeleteFile(String fullPath)
at System.IO.File.Delete(String path)
at _1RM.Service.SessionControlService.<>c__DisplayClass30_0.b__3() in D:\a\1Remote\1Remote\Ui\Service\SessionControlService_OpenConnection.cs:line 121`

<!-- gh-comment-id:1585047350 --> @lnunovero commented on GitHub (Jun 9, 2023): I add the log found in the AppDataRoaming\1Remote\.logs path today when trying to access the RemoteApp: `[T:032][13:47:47.460] `Error` [SessionControlService_OpenConnection.cs(<ConnectRemoteApp>b__3:121)] > System.IO.IOException: The process cannot access the file 'C:\Users\XX\AppData\Local\Temp\MobaXTerm_10101_XX.rdp' because it is being used by another process. at System.IO.FileSystem.DeleteFile(String fullPath) at System.IO.File.Delete(String path) at _1RM.Service.SessionControlService.<>c__DisplayClass30_0.<ConnectRemoteApp>b__3() in D:\a\1Remote\1Remote\Ui\Service\SessionControlService_OpenConnection.cs:line 121 > StackTrace: at System.IO.FileSystem.DeleteFile(String fullPath) at System.IO.File.Delete(String path) at _1RM.Service.SessionControlService.<>c__DisplayClass30_0.<ConnectRemoteApp>b__3() in D:\a\1Remote\1Remote\Ui\Service\SessionControlService_OpenConnection.cs:line 121`
Author
Owner

@lnunovero commented on GitHub (Jun 9, 2023):

I just noticed that Beta 4 unlike Beta 3 creates .rdp files in the \AppData\Local\Temp path which get stuck running through the remote access process.

I have reverted to version 3 and after testing I see that it does not create the temporary .rdp files.

<!-- gh-comment-id:1585070021 --> @lnunovero commented on GitHub (Jun 9, 2023): I just noticed that Beta 4 unlike Beta 3 creates .rdp files in the \AppData\Local\Temp path which get stuck running through the remote access process. I have reverted to version 3 and after testing I see that it does not create the temporary .rdp files.
Author
Owner

@VShawn commented on GitHub (Jun 12, 2023):

hi @Lnunovero92

The startup process of the RDP app is:

  1. Create a temporary rdp file in the TMP folder.
  2. Use the system built-in MSTSC.exe to run this rdp file.
  3. try to delete the rdp file in the TMP folder after 10 seconds.

This process has not been modified since the initial version to the current version.

Therefore, the error in your log is actually in step 3, where the file couldn't be deleted because it was being used (since the Rdp app does not display any windows, the rdp file is likely being used by mstsc.exe). So it will not effect to the problem simply do nothing, nor is the attempt to open a window displayed

I will test the RDP app on the latest beta version later, and you can also try using mstsc.exe to directly start the rdp file left in the TMP folder.

<!-- gh-comment-id:1586426219 --> @VShawn commented on GitHub (Jun 12, 2023): hi @Lnunovero92 The startup process of the RDP app is: 1. Create a temporary rdp file in the TMP folder. 2. Use the system built-in MSTSC.exe to run this rdp file. 3. try to delete the rdp file in the TMP folder after 10 seconds. This process has not been modified since the initial version to the current version. Therefore, the error in your log is actually in step 3, where the file couldn't be deleted because it was being used (since the Rdp app does not display any windows, the rdp file is likely being used by mstsc.exe). So it will not effect to the problem `simply do nothing, nor is the attempt to open a window displayed` I will test the RDP app on the latest beta version later, and you can also try using mstsc.exe to directly start the rdp file left in the TMP folder.
Author
Owner

@VShawn commented on GitHub (Aug 26, 2023):

image

it works as expect on my PC, my OS is not Win11, so it's possible that my test results may not prove anything.

<!-- gh-comment-id:1694117692 --> @VShawn commented on GitHub (Aug 26, 2023): ![image](https://github.com/1Remote/1Remote/assets/10143738/4ae3ea11-bd1f-4b15-b128-63b10358d04a) it works as expect on my PC, my OS is not Win11, so it's possible that my test results may not prove anything.
Author
Owner

@VShawn commented on GitHub (Aug 26, 2023):

image

it works as expect on my PC, my OS is not Win11, so it's possible that my test results may not prove anything.

<!-- gh-comment-id:1694117692 --> @VShawn commented on GitHub (Aug 26, 2023): ![image](https://github.com/1Remote/1Remote/assets/10143738/4ae3ea11-bd1f-4b15-b128-63b10358d04a) it works as expect on my PC, my OS is not Win11, so it's possible that my test results may not prove anything.
Author
Owner

@lnunovero commented on GitHub (Oct 5, 2023):

Hello
Sorry, I was so excited to use the tool without problems that I didn't get to confirm that with the latest release I no longer perceive the reported drawback.

Thank you for your support.

<!-- gh-comment-id:1749247739 --> @lnunovero commented on GitHub (Oct 5, 2023): Hello Sorry, I was so excited to use the tool without problems that I didn't get to confirm that with the latest release I no longer perceive the reported drawback. Thank you for your support.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#3248
No description provided.