Solved

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

Posted on 2008-10-22
2
352 Views
Last Modified: 2011-10-19
Question:
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.
psexec.JPG
CurrentView.JPG
DesiredView.JPG
0
Comment
Question by:CIPIT
2 Comments
 
LVL 83

Accepted Solution

by:
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.
0
 

Author Closing Comment

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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Citrix XenDesktop 7.6 Citrix Policies Audio
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now