Deployment Solution

 View Only
Expand all | Collapse all

How to remove a software stored in user profile using Altiris.

  • 1.  How to remove a software stored in user profile using Altiris.

    Posted Jun 15, 2020 06:40 AM
      |   view attached
    I would like to remove the Pulse secure software which is stored in user profiles using Altiris.
    We have 10000+ machines and we cannot do manually.
    I have tried the below command and it did not work but no error. In Altiris, it says "Failed"

    "C:\Users\%userprofile%\AppData\Roaming\Pulse Secure\Setup Client\uninstall.exe"

    Please help.

    Regards,
    Gautam Mutgi
    91-9686656665

    ------------------------------
    Regards,
    Gautam Mutgi
    IT Administrator
    Inteva Products India Pvt Ltd
    91-9686656665
    ------------------------------


  • 2.  RE: How to remove a software stored in user profile using Altiris.

    Posted Jun 17, 2020 04:52 AM
    Did you try to run this as the Current logged-on user? See Advanced > script tab 
    Under the same tab you can save script output with task status maybe this can help.




  • 3.  RE: How to remove a software stored in user profile using Altiris.

    Broadcom Employee
    Posted Jun 17, 2020 05:57 AM
    I see the script's return code is 1 - that means failure for the task, but the script's return code is equal to return code of uninstall.exe

    Did you check if uninstall actually succeeded? It could be that 1 means success for uninstall.exe

    If that's the case then you can modify the script to return 0, or set task's advanced option "The task succeeded if its return code is" to 1 or "any"



  • 4.  RE: How to remove a software stored in user profile using Altiris.

    Posted Jun 17, 2020 07:21 AM
    Did you try to run this as the Current logged-on user? 

    If I use the above then will that work on each user profile when we run script in Altiris.
    It would be good if you give me the command line to delete the software on user profile.





  • 5.  RE: How to remove a software stored in user profile using Altiris.

    Posted Jun 17, 2020 07:22 AM
    The script got failed.
    Yes if it's a success then we should get 0.
    Basically I want to know how do I remove the software Pulse Secure and Juniper Networks with all components from machine using Altiris through script.


  • 6.  RE: How to remove a software stored in user profile using Altiris.

    Posted Jun 17, 2020 07:41 AM
    Did you check the manufacturer recommendations? A quick search gave me several hits how to remove Pulse Secure.
    it depends how you installed the software but I would check their documentation. 



  • 7.  RE: How to remove a software stored in user profile using Altiris.

    Posted Jun 18, 2020 11:03 AM
    Edited by Darren Collins Jun 18, 2020 11:25 AM
    There may be other reasons for the failure, but the command line you are using is incorrect.  %USERPROFILE% includes C:\Users in it, so your command line (assuming the rest is OK) should be:

    "%USERPROFILE%\AppData\Roaming\Pulse Secure\Setup Client\uninstall.exe"

    HTH,
    Daz.

    ------------------------------
    Tech Lead (Windows), Endpoint Device Management
    Oxford University
    United Kingdom
    ------------------------------



  • 8.  RE: How to remove a software stored in user profile using Altiris.

    Posted Jun 19, 2020 01:59 AM
      |   view attached
    Hi,

    "%USERPROFILE%\AppData\Roaming\Pulse Secure\Setup Client\uninstall.exe"
    The command did not work on my machine.
    I ran through altiris.
    Error: Failure - return code 1



  • 9.  RE: How to remove a software stored in user profile using Altiris.

    Broadcom Employee
    Posted Jun 19, 2020 03:21 AM
    I found machine with some  version of Pulse Secure, I cannot uninstall it from there but I've found that you could be running incorrect command.
    Even if Pulse has some files in user's AppData folder, the uninstaller it got registered in "Add\Remove Programs" is this:

    C:\Program Files (x86)\Pulse Secure\Pulse\PulseUninstall.exe

    Check you machine for this file and try it, and also you should change the script or the task's advanced parameters to correctly process uninstaller's return code in case it returns 'one' as a success code.

    It seems that files in "%USERPROFILE%\AppData\Roaming\Pulse Secure\Setup Client could be just a Pulse setup package.



  • 10.  RE: How to remove a software stored in user profile using Altiris.

    Posted Jun 22, 2020 11:52 PM
    Hi,

    Thanks for your quick response.
    C:\Program Files (x86)\Pulse Secure\Pulse\PulseUninstall.exe
    So you meant to say the files exist with pulse, it will remove everything when you uninstall from the above command. But it didn't go.
    Also I want to remove Pulse Secure/Juniper Networks/Network Connect and other components from 10,000+ machines.
    How do i write the script?


  • 11.  RE: How to remove a software stored in user profile using Altiris.

    Broadcom Employee
    Posted Jun 25, 2020 03:07 AM
    Gautam, you need to be more specific. What does it mean "it didn't go"?
    Did you run the command directly on the machine? Did you run it as elevated administrator?
    If you did and it did not work then you should probably contact Pulse Secure creator.

    Check which command-line is registered as uninstaller on your machines.
    Mine was found here:
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Pulse Secure 9.0

    but you may have a different version and the different uninstaller.


    About that other software - look which command-lines are registered on your machines for that software in
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall




  • 12.  RE: How to remove a software stored in user profile using Altiris.

    Posted Jul 06, 2020 12:26 AM
    I am trying to execute the same.
    I will let you know once the policy is finished.