[THIN] KB: CTX108289 - Error: Access Is Denied...when Opening a File on the Client Drive via the Command Prompt, CMD.exe, on the Server

  • From: "Jim Kenzig http://ThinHelp.com" <jkenzig@xxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Mon, 9 Jan 2006 05:36:34 -0800 (PST)

CTX108289 - Error: Access Is Denied...when Opening a File on the Client Drive 
via the Command Prompt, CMD.exe, on the Server 

This document was published at: http://support.citrix.com/article/CTX108289 
Document ID: CTX108289, Created on: Jan 6, 2006, Updated: Jan 8, 2006 
Products: Citrix MetaFrame XP 1.0 for Microsoft Windows 2003, Citrix MetaFrame 
XP 1.0 for Microsoft Windows 2000, Citrix MetaFrame Presentation Server 3.0 for 
Microsoft Windows 2000, Citrix MetaFrame Presentation Server 3.0 for Microsoft 
Windows 2003, Citrix Presentation Server 4.0 for Microsoft Windows 2000, Citrix 
Presentation Server 4.0 for Microsoft Windows 2003 
 
Symptoms
Users logging on to a MetaFrame Presentation Server are unable to execute files 
residing on client mapped drives from the command prompt (residing on the 
server) and may receive the following error message:
âAccess Is Deniedâ 
On a Citrix MetaFrame XP 1.0 Service Pack 4 server, a security change, by 
default, will be applied. This issue also occurs on MetaFrame Presentation 
Server 3.0 and 4.0.
Cause
This is by design.
Resolution
The resolution to this issue is documented in the MetaFrame Presentation Server 
3.0 Administrator Guide as follows:
Granting Users Execute Permission on Mapped Client Drives 
As a security precaution, when a user logs onto MetaFrame Presentation Server, 
by default, the server maps client drives without user execute permission. For 
users to be able to execute files residing on mapped client drives, you must 
override this default by editing the value of ExecuteFromMappedDrive in the 
registry on a server running MetaFrame Presentation Server.
CAUTION! Using Registry Editor incorrectly can cause serious problems that can 
require you to reinstall the operating system. Citrix cannot guarantee that 
problems resulting from incorrect use of Registry Editor can be solved. Use 
Registry Editor at your own risk. Make sure you back up the registry before you 
edit it.
To change the ExecuteFromMappedDrive registry setting 
1. After installing MetaFrame Presentation Server, run regedit. 
2. Find the key 
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Cdm/ 
Parameters/ExecuteFromMappedDrive 
3. 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. 
4. Restart the server for the change to take effect.
You can turn off client drive mapping through policies you configure in 
MetaFrame Presentation Server. MetaFrame Presentation Server now fully applies 
client drive access restrictions that you specify in policy rules that turn off 
mapping to client drives. Releases earlier than MetaFrame Presentation Server 
3.0 allowed applications to access a restricted client drive through a UNC path 
even when a MetaFrame Presentation Server policy rule turned off mapping to the 
client drive. Now, applications cannot access client drives restricted through 
policy rules that turn off mapping to the client drive.
More Information
CTX105611 â Error: Windows cannot access the specified device, path, or file. 
You may not have the appropriate permissions to access them.

Other related posts:

  • » [THIN] KB: CTX108289 - Error: Access Is Denied...when Opening a File on the Client Drive via the Command Prompt, CMD.exe, on the Server