Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile. "The specified path is invalid"

Anonymous
2024-04-22T07:06:01+00:00

Hello friends, we have a Domain User which RDP's onto an Application Server over Citrix.

Since about 1-2 Weeks he has this Error Message all the time and is not able to log in over RDP on the specified server.

His Roaming Profile Path is using Variables in AD and I can open it with my permissions from the server outwards.

Tried deleting / resetting his local profile but that doesn't work..

Configured User in AD:

profilePath: %profileXXX%%username%

JSON print of Error Message:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

- <System>

<Provider Name="Microsoft-Windows-User Profiles Service" Guid="{XXXXXXXXXXXXXXXX}" />

<EventID>1521</EventID>

  <Version>0</Version> 

  <Level>2</Level> 

  <Task>0</Task> 

  <Opcode>0</Opcode> 

  <Keywords>0x8000000000000000</Keywords> 

  <TimeCreated SystemTime="2024-04-22T05:23:18.245382800Z" /> 

  <EventRecordID>904910</EventRecordID> 

  <Correlation /> 

  <Execution ProcessID="2500" ThreadID="139048" /> 

  <Channel>Application</Channel> 

  <Computer>XXXXXXXXXXXXX</Computer> 

  <Security UserID="XXXXXXXXXXXXXXXX" /> 

  </System>

- <EventData>

<Data Name="Error">The specified path is invalid.</Data>

  </EventData>

  </Event>

Windows for business | Windows Server | User experience | Remote desktop services and terminal services

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} vote
Accepted answer
  1. Anonymous
    2024-04-22T18:53:21+00:00

    Hello,

    I don't have the same Citrix server environment as you. But I can provide with some general troubleshooting steps:

    1. Verify that the variables are correctly set in the Active Directory and that they resolve to the correct path for the user's roaming profile. Ensure the path to the roaming profile is available and correct from both the Citrix environment and the Application Server.
    2. Make sure that the user has the necessary permissions to their roaming profile folder. Even though you can access it with your permissions, the user's permissions might be different. Besides, check any Group Policies that may be affecting the roaming profile settings.
    3. Verify that there are no network connectivity problems between the client, domain controller, and the server where the profile is stored. Besides, check the server resources. If the server is under heavy load or has other resource issues, it might not be able to load the profile.
    4. The 1521 event code indicates an issue with loading the roaming profile. Look at the Event Viewer on the server for any related errors.

     If the issue persists, you might consider reaching out to Citrix support for more specialized assistance.

    Best regards

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2024-04-23T05:51:32+00:00

    Hello Jacen,

    Funny enough - even though a coworker told me he'd already checked the roaming profile + path in AD, it was wrong.

    We updated the Path and the User is able to sign in with no problems.

    Thanks for the help ;)

    KR Louis

    0 comments No comments