How do I access a share that is on the client in Citrix?

Posted on 2008-10-22
Medium Priority
Last Modified: 2011-10-19
We currently run a Citrix ICA connection (via the internet [no VPN]) for some of our remote computers.  When connected to a Citrix ICA session from one of these computers I can access the C drive on the client by typing in \\client\C$ in explorer (within Citrix session), however I need to be able to access the shares on the client machine.  Is there any way to access shares on the client in a Citrix session (e.g. to access the 'admin$' share I cannot reach this by typing \\Client\admin$).

The reason I require this is to run a remote script on the client by using spexec.exe on the Citrix server, the line in the batch script is as follows:
%systemdrive%\WINDOWS\system32\psexec.exe /accepteula \\client -i "%systemdrive%\windows\system32\citrixclientburn.bat"

When running the above line I get an error message that access is denied (please see screenshot).  Is there any way to run psexec.exe to execute a batch script on the client without requring VPN access (i.e. without being able to access the \\computername path via the LAN).

I have attached screenshots that relate to the above information.  Your help would be much appreciated.
Question by:CIPIT
LVL 86

Accepted Solution

oBdA earned 1500 total points
ID: 22783803
Without VPN, this is not possible--luckily enough.
If it were possible, it would mean that the NetBIOS ports on the clients are open to the world and every known exploit.
You're only seeing the client drives through the ICA mapping, that is, access to the client drives is tunneled through the ICA protocol through the (virtual) name "\\client". This allows for file access *only*, nothing else; no remote execution, no remote WMI, no remote registry, no remote nothing.

Somewhat unrelated: use "%Systemroot%" instead of "%Systemdrive%\Windows"--the former will work correctly on NT4 and W2k (or a custom folder) as well, the latter won't.

Author Closing Comment

ID: 31509077
Thanks for your response.  Good tip with the %systemroot%.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenDesktop 7.6 Citrix Policies Audio
Learn about cloud computing and its benefits for small business owners.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question