Citrix Files: Not showing mapped drives on Windows 10 1809

For those struggeling with Citrix Files client suddenly not showing any drives in Windows Explorer.

I recently updated my client, and to my surprise, the agent starts, but no mapped drives are showing up. I also have had a few users randomly getting this issue at older versions of the client than the current.  Reinstalling the client, clearing regisry for Citrix Files, resetting the app etc makes no difference.

Checking the changelog for the client on Citrix website one can find the following information:
Citrix docs for Content Collaboration
“Known issues in 4.6

  • Citrix Files for Windows fails to mount on Windows 10. A recent Windows update (version 1809) introduced issues with drive mounting. For more information and workarounds on mapped drives and Windows 10 1809, see Windows Support.”

Going to the Windows support page informs you about an ongoing issue with network drives for Windows 10 1809 – Citrix Files is doing Network drive mapping, so that should do the trick.

The Windows Support site gives you 2 workarounds in the form of scripts. I would recommend the Scheduled task solution, unless you want a command prompt window hanging around your screen for a while at every logon – I will post a copy of the workaround here:

Create a script file named MapDrives.ps1

The file should be run at a regular but not at an elevated command prompt because it should be run at the same privilege as Windows Explorer:

    $MappedDrives = Get-SmbMapping |where -property Status -Value Unavailable -EQ | select LocalPath,RemotePath
    foreach( $MappedDrive in $MappedDrives)
        try {
            New-SmbMapping -LocalPath $MappedDrive.LocalPath -RemotePath $MappedDrive.RemotePath -Persistent $True
        } catch {
            Write-Host "There was an error mapping $MappedDrive.RemotePath to $MappedDrive.LocalPath"
    $i = $i - 1
    if($error.Count -eq 0 -Or $i -eq 0) {break}
    Start-Sleep -Seconds 30

Create a scheduled task

    1. Copy the script file MapDrives.ps1 to the following location:


    2. In Task Scheduler, select Action > Create Task.
    3. On the General tab in the Create Task dialog box, type a name (such as Map Network Drives) and description for the task.
    4. Select Change User or Group, select a local user or group (such as LocalComputer\Users) and then select OK.
    5. On the Triggers tab, select New, and then select At log on for the Begin the task field.
    6. On the Actions tab, select New, and then select Start a program for the Action field.
    7. Type Powershell.exe for the Program/script field.
    8. In the Add arguments (optional) field, type the following:

      -windowsstyle hidden -command .\MapDrives.ps1 >> %TEMP%\StartupLog.txt 2>&1

    9. In the Start in (optional) field, type the location (%SystemDrive%\Scripts\) of the script file.
    10. On the Conditions tab, select the Start only if the following network connection is available option, select Any connection, and then select OK.
  1. Log off, and then log back on to the device to run the scheduled task.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from

Subscribe now to keep reading and get access to the full archive.

Continue reading

Explore Yubico