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

Posted on 2008-10-22
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 84

Accepted Solution

oBdA earned 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

At the beginning of the year, the IT world was taken hostage by the shareholders of LogMeIn. Their free product, which had been free for ten years, all of the sudden became a "pay" product. Now, I am the first person who will say that software maker…
If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
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.

820 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