[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Launching a VBS file via Citrix

Posted on 2009-12-18
Medium Priority
Last Modified: 2013-12-24

I'm attemping to launch a simple VBS file via a Citrix

Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive "n:" , "\\client\n$"

It maps a n drive to the users local PC and works when executed from a citrix cmd prompt or file manager. When the fiel is published and selected the error given is "the Citrix server is unable to process your request...." error

Can someome please help???
Question by:paullord
  • 2
  • 2
LVL 12

Expert Comment

by:Daniel Borger
ID: 26086597
Look at the file secuirty properties in connection center to make sure you have given Citrix permission to access the drives. (see Pic)

Also check properties of ICA protocols and citrix polices to make sure mapping client drives are not disabled.

Author Comment

ID: 26086973
Security is set to full/ never ask. Ask I said, when I Citrix into file explorer / command prompt and run the login script, it works fine. It's just when launching the file within the published applications list.
LVL 12

Accepted Solution

Daniel Borger earned 500 total points
ID: 26091438
I would not publish the vbs, you should either put that in the startup folder or use a group policy to run the script at logon.

Expert Comment

ID: 26094299
When you publish the application you need to include the location of wscript.exe i.e.

c:\windows\system32\wscript.exe c:\test\test.vbs


Author Closing Comment

ID: 31667799
Problem was resolved using a group policy

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
#Citrix #Citrix Policies #XenDesktop #VDI #POC #Citrix Univeral Printer Driver #Citrix UPD
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Suggested Courses

872 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