[GH-ISSUE #1487] Accessing Files for Windows Domain users using Folder Redirection #2872

Closed
opened 2026-03-14 05:46:43 +03:00 by kerem · 4 comments
Owner

Originally created by @ioscanner on GitHub (Apr 17, 2023).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1487

Server Info (please complete the following information):

  • Debian 11
  • Browser: All
  • RMM Version (as shown in top left of web UI): 0.15.9

Installation Method:

  • [X ] Standard
  • Docker

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI): 2.4.6
  • Agent OS: [e.g. Win 10 v2004, Server 2012 R2] Windows 11 Pro, 64 bit v22H2 (build 22621.1105)

Describe the bug
If you try to access Downloads, Desktop, Documents, Pictures (any folder that is using Folder redirect it shows empty). Windows explorer, chrome and other understand if using folder redirect to use the link instead. This means you can't access any files for the users that are using Folder redirection. We need to follow the link when folder redirection is enabled. I would think there is a Registry variable or ENV that is set. Because chrome handles this no issue. I know a few other products do and some don't. I am not sure what other people are doing to get around this or if I am the first one to use Caching Folder redirection.

To Reproduce
Steps to reproduce the behavior:

  1. Go to files
  2. Click on c:\
  3. Scroll down Users and select a users and Downloads ( or any other directory using Folder redirection)
  4. It will hang and never come back it just crashes. Because it is not a valid bath directly. It would point to something like \dc\FolderRedirection\User\Downloads. This is in the path. the properties of the directory shows it is redirected and the icon changes to show it is redirected.

Expected behavior
It should follow the link to the folder redirection to access the folder.

Screenshots
No real screen shots needed.

Originally created by @ioscanner on GitHub (Apr 17, 2023). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1487 **Server Info (please complete the following information):** - Debian 11 - Browser: All - RMM Version (as shown in top left of web UI): 0.15.9 **Installation Method:** - [X ] Standard - [ ] Docker **Agent Info (please complete the following information):** - Agent version (as shown in the 'Summary' tab of the agent from web UI): 2.4.6 - Agent OS: [e.g. Win 10 v2004, Server 2012 R2] Windows 11 Pro, 64 bit v22H2 (build 22621.1105) **Describe the bug** If you try to access Downloads, Desktop, Documents, Pictures (any folder that is using Folder redirect it shows empty). Windows explorer, chrome and other understand if using folder redirect to use the link instead. This means you can't access any files for the users that are using Folder redirection. We need to follow the link when folder redirection is enabled. I would think there is a Registry variable or ENV that is set. Because chrome handles this no issue. I know a few other products do and some don't. I am not sure what other people are doing to get around this or if I am the first one to use Caching Folder redirection. **To Reproduce** Steps to reproduce the behavior: 1. Go to files 2. Click on c:\ 3. Scroll down Users and select a users and Downloads ( or any other directory using Folder redirection) 4. It will hang and never come back it just crashes. Because it is not a valid bath directly. It would point to something like \\dc\FolderRedirection\User\Downloads. This is in the path. the properties of the directory shows it is redirected and the icon changes to show it is redirected. **Expected behavior** It should follow the link to the folder redirection to access the folder. **Screenshots** No real screen shots needed.
kerem closed this issue 2026-03-14 05:46:48 +03:00
Author
Owner

@dinger1986 commented on GitHub (Apr 17, 2023):

Can you provide screen shots, is this at commandline, via remote background or what specifically?

<!-- gh-comment-id:1510873016 --> @dinger1986 commented on GitHub (Apr 17, 2023): Can you provide screen shots, is this at commandline, via remote background or what specifically?
Author
Owner

@emtek-at commented on GitHub (Apr 17, 2023):

You cannot access Redirected Folders, because they are only visible to the logged in (AD) user. The Agent is running as (local) System User. Maybe you have access if you run your command whith the checkbox "Run As User" activated.

<!-- gh-comment-id:1510888702 --> @emtek-at commented on GitHub (Apr 17, 2023): You cannot access Redirected Folders, because they are only visible to the logged in (AD) user. The Agent is running as (local) System User. Maybe you have access if you run your command whith the checkbox "Run As User" activated.
Author
Owner

@ioscanner commented on GitHub (Apr 17, 2023):

In Mesh Files there is no option to "Run as User" Maybe there needs to be a way to have it run as a user. I am sure that is the issue. I forgot the agent runs as system.

<!-- gh-comment-id:1510918302 --> @ioscanner commented on GitHub (Apr 17, 2023): In Mesh Files there is no option to "Run as User" Maybe there needs to be a way to have it run as a user. I am sure that is the issue. I forgot the agent runs as system.
Author
Owner

@dinger1986 commented on GitHub (Apr 17, 2023):

a screenshot would have been helpful :)

In Terminal you can right click connect and choose user terminal although I dont think thats working as it should.

I had a quick look at mesh issues and dont see anyone else requesting it, as it is mesh central it should be opened on their github https://github.com/Ylianst/MeshCentral/issues.

I will close this now as its not a TRMM issue, I believe mesh are accepting PR's. You could also look at integrated DWService for remote, if it works properly on there if you wanted as well, I doubt it would be too difficult.

<!-- gh-comment-id:1510955165 --> @dinger1986 commented on GitHub (Apr 17, 2023): a screenshot would have been helpful :) In Terminal you can right click connect and choose user terminal although I dont think thats working as it should. I had a quick look at mesh issues and dont see anyone else requesting it, as it is mesh central it should be opened on their github https://github.com/Ylianst/MeshCentral/issues. I will close this now as its not a TRMM issue, I believe mesh are accepting PR's. You could also look at integrated DWService for remote, if it works properly on there if you wanted as well, I doubt it would be too difficult.
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/tacticalrmm#2872
No description provided.