Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Application uninstall deployment: Detection method

outrolacerda

New Member
Messages
2
Reaction score
0
Points
1
Hello :-)

I need to remove Citrix Receiver (deprecated) fom my computers. So i've created a Application in SCCM with this parameters:

Deployment Type: Script Installer
Content: citrixreceiver.exe
Installation Program: CitrixReceiver.exe /SILENT
Uninstall program: CitrixReceiver.exe /SILENT /uninstall /cleanup /noreboot
Detection Method:
Path -
C:\Program Files (x86)\Citrix\ICA Client\SelfServicePlugin\
File - SelfService.exe
OR
Path - C:\Program Files\Citrix\ICA Client\SelfServicePlugin\
File - SelfService.exe

So I did a Deployment with Uninstall goal. All my computers reported "Already Compliant" and the app is not uninstalled.
So I changed the detection method to script:

Code:
if (Test-Path "C:\Program Files (x86)\Citrix\ICA Client\SelfServicePlugin\SelfService.exe")
    {
        Write-Host "Installed"
    }
else
    {
    }


And again: All my computers reported "Already Compliant" and the app is not uninstalled
What I'm missing at this point?? :(
 
try detecting Receiver.exe instead

%ProgramFiles(x86)%\Citrix\ICA Client\Receiver\Receiver.exe

I
 

Forum statistics

Threads
7,165
Messages
27,971
Members
18,271
Latest member
prashantrm

Trending content

Back
Top