Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Scheduled Tasks on Unlock: Start Citrix-Receiver fails

09 Feb 2012   #1

Windows Embedded 7 Standard SP1
Scheduled Tasks on Unlock: Start Citrix-Receiver fails

Hello there

1 have 2 scheduled tasks on my WES7 Thin Clients:

1) On Lock: Execute the following batch:
TASKKILL /F /IM "pnamain.exe"
TASKKILL /F /IM "Receiver.exe
This kills the open Citrix session and shuts down all citrix programs.

2) On Unlock: Reconnect the Citrix Session and open all programs via this batch:

start "" "C:\Program Files\Citrix\ICA Client\pnamain.exe" /connect
start "" "C:\Program Files\Citrix\ICA Client\Receiver\Receiver.exe"
If i execute the 2 batch-files manually, everything works perfect. If they are run via the scheduled tasks, the locking works perfectly, but the unlocking behaves as following:

  • pnamain.exe is started
  • Receiver.exe is NOT started
  • EDIT: The task is marked as 'finished without problems'
I tried to execute this task with different settings... same problem all the time The Task is executed with the Admin-Account, so this should not be the problem.

Who might have a helping idea?

Thanks a lot and cheers from Switzerland,

My System SpecsSystem Spec
09 Feb 2012   #2

Windows 7 Ultimate x64 SP1 clean install

Hi and welcome to Seven Forums!

You could ask Citrix support, maybe Receiver can't be run from Scheduled Tasks.

My System SpecsSystem Spec

 Scheduled Tasks on Unlock: Start Citrix-Receiver fails

Thread Tools

Similar help and support threads
Thread Forum
Services vs Scheduled Tasks
Hello, First of all i want to say hello to everyone as this is my first post here! Good to meet everyone. Secondly I was wondering about the differences between Services and Tasks. From what I have heard, read about services in windows 7 it seems that they run in an isolates session (I think...
General Discussion
Scheduled Tasks
Good Morning everyone. I hope everyone's Thanksgiving was pleasant and safe. I am trying to create a task to run Wtvwatcher at a specific time. Unfortunately it is not working. I have searched several forums and blogs and I still cannot do it correctly. When the scheduler asks for a program I...
General Discussion
View Scheduled Tasks via VNC
I am running windows 7 RC in our corporate environment. We hope to start deploying in october. One issue I have is the ability to view the Scheduled Tasks for an XP machine via UNC path seems to be gone, I can't find any information about re-enabling this. Anyone have any insight?
General Discussion
Changing scheduled tasks
I am attempting to adjust settings in the Task Scheduler to have a Restore Point created daily. I am using the approach as defined here. However, I have no "New", "Edit", or "Delete" tabs at the bottom of the Triggers page. I have full admin rights on my account (I think) Thanks in...
Performance & Maintenance
Scheduled Tasks (what to remove)
Hello, This should do it for today. Have this problem with my new HP PC of Windows Explorer Stopping and starting periodically. Have been looking into everything I, and others here, can think of, but no real luck yet finding the problem. Thought that perhaps it is related to things...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:22.
Twitter Facebook Google+