Trying to map user folders using GPO using %username% to server in another domain

Stuart McIntyre 1 Reputation point
2022-02-01T14:42:34.99+00:00

So we have an Remote App Server and users need to see their user drive when they are logged into the remote app.

I have created a policy that creates the mapped drive to \<servername>\user\%username% but when applying the policy it fails to add the mapped drive. If I change it specifically target a direct user folder it works successfully.

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,926 Reputation points
    2022-02-02T10:54:48.763+00:00

    Hi there,

    This issue might occur if the following conditions are true:

    -You use Group Policy Preference (GPP) or logon scripts to map network drives during logon.
    -User Account Control (UAC) is enabled.
    -The following UAC Group Policy setting is configured to Prompt for credentials:
    -User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode
    -The EnableLinkedConnections registry entry is configured. See the detail to configure the EnableLinkedConnections registry entry.

    You can try the workaround from the below article.
    Mapped drives are not available from an elevated prompt when UAC is configured to Prompt for credentials
    https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/mapped-drives-not-available-from-elevated-command

    --------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

  2. Stuart McIntyre 1 Reputation point
    2022-02-04T11:30:49.687+00:00

    Have tried that and still not mapping through. If I set the policy to map to a file server on the same domain it maps through using %username% fine, cross domain it doesn't map at all.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.