Jump to content


How to stop Citrix receiver with Powershell

Started by Randy White , 15 March 2017 - 01:25 PM
1 reply to this topic

Randy White Members

Randy White
  • 13 posts

Posted 15 March 2017 - 01:25 PM

Here is what I have 



Stop-Process -ProcessName Receiver -Force
Stop-Process -ProcessName selfservice -Force



It works as I would expect in Windows 7 but in Windows 10 its gives a crash error that the user has to click ok to close it. 


I'm looking for an easy way to kill receiver so that I can run other commands to delete old log files, and if receiver is open I get an error access denied. 

Andreas Schulz Members

Andreas Schulz
  • 37 posts

Posted 20 March 2017 - 05:21 AM

I have tested this command on my Windows 10 (1607) Notebook and it works perfect (no message):


Get-Process | sort description | ?{$_.description -like "Citrix*"} | Stop-Process -Force


I want to stop the processes always in the same order, thats the reasen for the sort.