Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

Uninstalling VNC via Package command line - Not working

$
0
0

Hi all, hope you can help

I am new to SCCM and have been tasked to remove 'Real VNC' from a number of client machines; VNC was not deployed by SCCM. I have created a package (also tried a TS) with the below command line

"C:\Program Files\RealVNC\VNC4\unins000.exe" /SILENT

When I deploy out the package to the clients, SCCM says the package was successfully run (see the below execmgr snippet from one of the client machines). But when I checked the clients, Real VNC is still installed.  When I run the uninstall command line locally on the machine it does uninstall the application.

Any ideas?

Thanks for your help!

Execmgr Log

Execution Request for advert CRA20021 package CRA00020 program Uninstall RealVNC state change from WaitingDependency to Ready

MTC task with id {81B2C8D4-E98F-47EA-89CE-D4B04DABD0B0}, changed state from 0 to 4

Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="CRA00020",ProgramID="Uninstall RealVNC", actionType 1l, value , user NULL, session

MTC signaled SWD execution request with program id: Uninstall RealVNC, package id: CRA00020 for execution.

 Sending ack to MTC for task with id: {81B2C8D4-E98F-47EA-89CE-D4B04DABD0B0}

Executing program "C:\Program Files\RealVNC\VNC4\unins000.exe" /SILENT in Admin context

Execution Request for advert CRA20021 package CRA00020 program Uninstall RealVNC state change from Ready to NotifyExecution              

Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="CRA00020",ProgramID="Uninstall RealVNC", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l

Checking content location C:\WINDOWS\ccmcache\1 for use

Successfully selected content location C:\WINDOWS\ccmcache\1

Executing program as a script

Successfully prepared command line "C:\Program Files\RealVNC\VNC4\unins000.exe" /SILENT

Command line = "C:\Program Files\RealVNC\VNC4\unins000.exe" /SILENT, Working Directory = C:\WINDOWS\ccmcache\1\

Created Process for the passed command line

Raising event:

[SMS_CodePage(850), SMS_LocaleID(2057)]

instance of SoftDistProgramStartedEvent

{

               AdvertisementId = "CRA20021";

               ClientID = "GUID:5D04F3BB-CD2A-4429-ADD3-581675016E54";

               CommandLine = "\"C:\\Program Files\\RealVNC\\VNC4\\unins000.exe\" /SILENT";

               DateTime = "20140718121858.925000+000";

               MachineName = "COM1";

               PackageName = "CRA00020";

               ProcessID = 4088;

               ProgramName = "Uninstall RealVNC";

               SiteCode = "CRA";

               ThreadID = 5276;

               UserContext = "NT AUTHORITY\\SYSTEM";

               WorkingDirectory = "C:\\WINDOWS\\ccmcache\\1\\";

};

Raised Program Started Event for Ad:CRA20021, Package:CRA00020, Program: Uninstall RealVNC

Program exit code 0        execmgr             18/07/2014 13:18:58        6520 (0x1978)

Looking for MIF file to get program status

Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="CRA00020",ProgramID="Uninstall RealVNC", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l

Script for  Package:CRA00020, Program: Uninstall RealVNC succeeded with exit code 0

Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="CRA00020",ProgramID="Uninstall RealVNC", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l

Raising event:

[SMS_CodePage(850), SMS_LocaleID(2057)]

instance of SoftDistProgramCompletedSuccessfullyEvent

{

               AdvertisementId = "CRA20021";

               ClientID = "GUID:5D04F3BB-CD2A-4429-ADD3-581675016E54";

               DateTime = "20140718121858.956000+000";

               MachineName = "COM1";

               PackageName = "CRA00020";

               ProcessID = 4088;

               ProgramName = "Uninstall RealVNC";

               SiteCode = "CRA";

               ThreadID = 6520;

               UserContext = "NT AUTHORITY\\SYSTEM";

};

Raised Program Success Event for Ad:CRA20021, Package:CRA00020, Program: Uninstall RealVNC

Execution is complete for program Uninstall RealVNC. The exit code is 0, the execution status is Success              )

 


Viewing all articles
Browse latest Browse all 4762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>