CTX105611
XenApp,XenDesktop
XenApp 6_0 for Windows Server 2008 R2,XenApp 5_0 for Windows Server 2008,XenDesktop 5_6,XenDesktop 5_5,XenDesktop 5
Connectivity
2016-04-14
2015-04-10
This article contains steps to troubleshoot when Windows cannot access the specified device, path, or file.

Symptoms or Error

Users logging on to a XenApp Server or XenDesktop are unable to execute files residing on client mapped drives and might receive one of the following error messages:

  • Error on Citrix Presentation Server 4.5/XenApp 5.0:
    “Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access them.”

    User-added image

  • Error on Citrix XenApp 6.0:
    “Windows cannot access \\client\D$\setup.exe
    You do not have permission to access \\client\D$\setup.exe. Contact your network administrator to request access.”

    User-added image

  • Error on Citrix XenDesktop 5.0:
    “Windows cannot access the specified device, path, or file.?? You may not have the appropriate permissions to access the item.”

    User-added image


Solution

As a security precaution, when a user logs on to a XenApp or XenDesktop session, by default, the server maps client drives without user execute permission. For users to be able to execute files residing on mapped client drives, editing the value of ExecuteFromMappedDrive?? in the registry on the XenApp server or XenDesktop machine to override the default behavior.

Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.

Complete the following steps to change the ExecuteFromMappedDrive registry setting in XenApp:

  1. After installing XenApp, run regedit.

  2. Find the following key:

    HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Cdm/ Parameters/ExecuteFromMappedDrive On Citrix XenApp 6.0, the registry location is different but still has the same values. The location on Citrix XenApp 6.0 is:

    HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/picadm/ Parameters/ExecuteFromMappedDrive

  1. To grant users execute permission on mapped drives, set ExecuteFromMappedDrive to 1.??

    To deny users execute permission on mapped drives, which is the default, set ExecuteFromMappedDrive to 0.

  1. Restart the server for the change to take effect.

    User-added image

Complete the following steps to change the ExecuteFromMappedDrive registry setting in XenDesktop 5.0:

  1. After installing the Virtual Desktop Agent, run?? regedit.

  2. Navigate to the registry key HKEY_LOCAL_MACHINE\Software\Citrix\GroupPolicy\Defaults\.

  3. Create a new key,?? CDMSettings.

  4. Create a new REG_DWORD value called ExecuteFromMappedDrive and modify the value to 1 (0 is the default value).

  5. Restart the virtual desktop machine for the change to take effect.

    User-added image

Problem Cause

This is a security measure, by design, to control unwanted applications being launched on the user session.


Disclaimer

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

 

Join the conversation

Citrix Discussions

Open a case

Citrix Support

特别说明


本文来源为Citrix.com所有,翻译后版权归翻译者所有.如需转载请注明出处.

文档版本


.

广告招租


最新留言


.

广告招租


.