Hello,
After findings a folder properly shared the execmgr.log looks better:
Policy deleted for advertisement UCP208A2 package UCP00DA9 program ISS - Servers - Disabling the service Branch Cache execmgr 9/29/2022 9:34:47 PM 7096 (0x1BB8)
Policy was deleted or expired for program ISS - Servers - Disabling the service Branch Cache. Remove the execution request. execmgr 9/29/2022 9:34:47 PM 7096 (0x1BB8)
Requesting MTC to delete task with id: {CD34A8FB-1552-44BE-AD81-CBC392CC337C} execmgr 9/29/2022 9:34:47 PM 7096 (0x1BB8)
This execution request does not have a corresponding task in MTC. execmgr 9/29/2022 9:34:47 PM 7096 (0x1BB8)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="UCP00DA9",ProgramID="ISS - Servers - Disabling the service Branch Cache", actionType 45l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 9/29/2022 9:34:47 PM 7096 (0x1BB8)
This machine is not a workstation, returning false for MDMIsExternallyManaged. execmgr 9/29/2022 9:34:59 PM 6556 (0x199C)
Not RS3+, this device is SCCM managed. execmgr 9/29/2022 9:34:59 PM 6556 (0x199C)
This machine is not a workstation, returning false for MDMIsExternallyManaged. execmgr 9/29/2022 9:34:59 PM 4720 (0x1270)
Not RS3+, this device is SCCM managed. execmgr 9/29/2022 9:34:59 PM 4720 (0x1270)
Policy arrived for parent package UCP00DA9 program ISS - Servers - Disabling the service Branch Cache execmgr 9/29/2022 9:34:59 PM 4720 (0x1270)
Mandatory execution requested for program ISS - Servers - Disabling the service Branch Cache and advertisement UCP208A3 execmgr 9/29/2022 9:34:59 PM 5664 (0x1620)
Creating mandatory request for advert UCP208A3, program ISS - Servers - Disabling the service Branch Cache, package UCP00DA9 execmgr 9/29/2022 9:34:59 PM 5664 (0x1620)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="UCP00DA9",ProgramID="ISS - Servers - Disabling the service Branch Cache", actionType 6l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
This machine is not a workstation, returning false for MDMIsExternallyManaged. execmgr 9/29/2022 9:35:00 PM 5664 (0x1620)
Not RS3+, this device is SCCM managed. execmgr 9/29/2022 9:35:00 PM 5664 (0x1620)
An existing MTC token was not supplied, using ExecutionRequest's Id as MTC token and this execution request is the owner of resultant MTC task. execmgr 9/29/2022 9:35:00 PM 5664 (0x1620)
Request a MTC task for execution request of package UCP00DA9, program ISS - Servers - Disabling the service Branch Cache with request id: {D7A4726B-0DDE-4FDF-939D-461BA4BD5B0C} execmgr 9/29/2022 9:35:00 PM 5664 (0x1620)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramOfferReceivedEvent
{
AdvertisementId = "UCP208A3";
ClientID = "GUID:E90067B0-94BB-4AC9-982F-5ACE61FB41DC";
DateTime = "20220930043500.019000+000";
MachineName = "VIPSCCMDP02";
ProcessID = 6420;
SiteCode = "UCP";
ThreadID = 4720;
};
execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Execution Request for advert UCP208A3 package UCP00DA9 program ISS - Servers - Disabling the service Branch Cache state change from NotExist to Ready execmgr 9/29/2022 9:35:00 PM 5664 (0x1620)
MTC task with id {D7A4726B-0DDE-4FDF-939D-461BA4BD5B0C}, changed state from 0 to 4 execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="UCP00DA9",ProgramID="ISS - Servers - Disabling the service Branch Cache", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 9/29/2022 9:35:00 PM 5664 (0x1620)
This machine is not a workstation, returning false for MDMIsExternallyManaged. execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Not RS3+, this device is SCCM managed. execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
MTC signaled SWD execution request with program id: ISS - Servers - Disabling the service Branch Cache, package id: UCP00DA9 for execution. execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Sending ack to MTC for task with id: {D7A4726B-0DDE-4FDF-939D-461BA4BD5B0C} execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Executing program BranchCache.bat in Admin context execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Execution Request for advert UCP208A3 package UCP00DA9 program ISS - Servers - Disabling the service Branch Cache state change from Ready to NotifyExecution execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="UCP00DA9",ProgramID="ISS - Servers - Disabling the service Branch Cache", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Checking UNC path \VRPSCCMPR01\Source\Application\Scripts for access execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Network UNC path \VRPSCCMPR01\Source\Application\Scripts is accessible execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Executing program as a script execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Successfully prepared command line "\VRPSCCMPR01\Source\Application\Scripts\BranchCache.bat" execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Command line = "\VRPSCCMPR01\Source\Application\Scripts\BranchCache.bat", Working Directory = \VRPSCCMPR01\Source\Application\Scripts\ execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Running "\VRPSCCMPR01\Source\Application\Scripts\BranchCache.bat" with 32bitLauncher execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Created Process for the passed command line execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramStartedEvent
{
AdvertisementId = "UCP208A3";
ClientID = "GUID:E90067B0-94BB-4AC9-982F-5ACE61FB41DC";
CommandLine = ""\\VRPSCCMPR01\Source\Application\Scripts\BranchCache.bat"";
DateTime = "20220930043500.661000+000";
MachineName = "VIPSCCMDP02";
PackageName = "UCP00DA9";
ProcessID = 6420;
ProgramName = "ISS - Servers - Disabling the service Branch Cache";
SiteCode = "UCP";
ThreadID = 4720;
UserContext = "NT AUTHORITY\SYSTEM";
WorkingDirectory = "\\VRPSCCMPR01\Source\Application\Scripts\";
};
execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Raised Program Started Event for Ad:UCP208A3, Package:UCP00DA9, Program: ISS - Servers - Disabling the service Branch Cache execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="UCP00DA9",ProgramID="ISS - Servers - Disabling the service Branch Cache", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="UCP00DA9",ProgramID="ISS - Servers - Disabling the service Branch Cache", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
EvaluateRequestForExecution - Updated current running request execmgr 9/29/2022 9:35:00 PM 4720 (0x1270)
MTC task with id {D7A4726B-0DDE-4FDF-939D-461BA4BD5B0C}, changed state from 4 to 5 execmgr 9/29/2022 9:35:00 PM 7096 (0x1BB8)
Program exit code 0 execmgr 9/29/2022 9:35:01 PM 5664 (0x1620)
Looking for MIF file to get program status execmgr 9/29/2022 9:35:01 PM 5664 (0x1620)
Script for Package:UCP00DA9, Program: ISS - Servers - Disabling the service Branch Cache succeeded with exit code 0 execmgr 9/29/2022 9:35:01 PM 5664 (0x1620)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramCompletedSuccessfullyEvent
{
AdvertisementId = "UCP208A3";
ClientID = "GUID:E90067B0-94BB-4AC9-982F-5ACE61FB41DC";
DateTime = "20220930043501.130000+000";
MachineName = "VIPSCCMDP02";
PackageName = "UCP00DA9";
ProcessID = 6420;
ProgramName = "ISS - Servers - Disabling the service Branch Cache";
SiteCode = "UCP";
ThreadID = 5664;
UserContext = "NT AUTHORITY\SYSTEM";
};
execmgr 9/29/2022 9:35:01 PM 5664 (0x1620)
Raised Program Success Event for Ad:UCP208A3, Package:UCP00DA9, Program: ISS - Servers - Disabling the service Branch Cache execmgr 9/29/2022 9:35:01 PM 5664 (0x1620)
Execution is complete for program ISS - Servers - Disabling the service Branch Cache. The exit code is 0, the execution status is Success execmgr 9/29/2022 9:35:01 PM 4016 (0x0FB0)
This machine is not a workstation, returning false for MDMIsExternallyManaged. execmgr 9/29/2022 9:35:01 PM 4016 (0x0FB0)
Not RS3+, this device is SCCM managed. execmgr 9/29/2022 9:35:01 PM 4016 (0x0FB0)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="UCP00DA9",ProgramID="ISS - Servers - Disabling the service Branch Cache", actionType 10l, value Result:TRUE ,SDKCallerId:, user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 9/29/2022 9:35:01 PM 4016 (0x0FB0)
Requesting MTC to delete task with id: {D7A4726B-0DDE-4FDF-939D-461BA4BD5B0C} execmgr 9/29/2022 9:35:01 PM 4016 (0x0FB0)
MTC task with id: {D7A4726B-0DDE-4FDF-939D-461BA4BD5B0C} deleted successfully. execmgr 9/29/2022 9:35:01 PM 4016 (0x0FB0)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="UCP00DA9",ProgramID="ISS - Servers - Disabling the service Branch Cache", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 9/29/2022 9:35:01 PM 4016 (0x0FB0)
---------------------------------------------------------------------------------------------------------------
now checking the execution of the batch on the client...
- the feature is not disabled!!! it should be unchecked !!! Why?
- the service is disabled and not running
Thanks,
Dom