i had read this article some time ago and Unfortunately it doesn't works.
i tried again and thisi is the execmgr.log both for package and for task sequence
Any suggest?
Thankyou very much
#####################################################
LOGS FOR PACKAGE
Checking content location C:\Windows\ccmcache\b for use execmgr 08/06/2017 16:09:59 3988 (0x0F94)
Successfully selected content location C:\Windows\ccmcache\b execmgr 08/06/2017 16:09:59 3988 (0x0F94)
Executing program as a script execmgr 08/06/2017 16:09:59 3988 (0x0F94)
Successfully prepared command line "C:\Windows\System32\cmd.exe" /C "CScriptNative.cmd //B //NoLogo "2013\OffScrub_O15msi.vbs" ALL /Quiet /NoCancel /Force /OSE" execmgr 08/06/2017 16:09:59 3988 (0x0F94)
Command line = "C:\Windows\System32\cmd.exe" /C "CScriptNative.cmd //B //NoLogo "2013\OffScrub_O15msi.vbs" ALL /Quiet /NoCancel /Force /OSE", Working Directory = C:\Windows\ccmcache\b\ execmgr 08/06/2017 16:09:59 3988 (0x0F94)
Running "C:\Windows\System32\cmd.exe" /C "CScriptNative.cmd //B //NoLogo "2013\OffScrub_O15msi.vbs" ALL /Quiet /NoCancel /Force /OSE" with 32bitLauncher execmgr 08/06/2017 16:09:59 3988 (0x0F94)
Created Process for the passed command line execmgr 08/06/2017 16:09:59 3988 (0x0F94)
Raising event:
[SMS_CodePage(850), SMS_LocaleID(1040)]
instance of SoftDistProgramStartedEvent
{
AdvertisementId = "PLM201AF";
ClientID = "GUID:60FF7EF7-8825-43D7-B2AD-0119A0709E58";
CommandLine = "\"C:\\Windows\\System32\\cmd.exe\" /C \"CScriptNative.cmd //B //NoLogo \"2013\\OffScrub_O15msi.vbs\" ALL /Quiet /NoCancel /Force /OSE\"";
DateTime = "20170608140959.488000+000";
MachineName = "NAME";
PackageName = "PLM001B7";
ProcessID = 1052;
ProgramName = "OffScrubO15";
SiteCode = "PLM";
ThreadID = 3988;
UserContext = "NT AUTHORITY\\SYSTEM";
WorkingDirectory = "C:\\Windows\\ccmcache\\b\\";
};
execmgr 08/06/2017 16:09:59 3988 (0x0F94)
Raised Program Started Event for Ad

LM201AF, Package

LM001B7, Program: OffScrubO15 execmgr 08/06/2017 16:09:59 3988 (0x0F94)
Program exit code 1 execmgr 08/06/2017 16:09:59 5980 (0x175C)
Looking for MIF file to get program status execmgr 08/06/2017 16:09:59 5980 (0x175C)
Script for Package

LM001B7, Program: OffScrubO15 failed with exit code 1 execmgr 08/06/2017 16:09:59 5980 (0x175C)
LOGS for TASK SEQUENCE
Creating mandatory request for advert PLM201AE, program OffScrub10, package PLM001B7 execmgr 08/06/2017 16:06:19 6096 (0x17D0)
An existing MTC token was supplied, this execution request is not owner of MTC object. execmgr 08/06/2017 16:06:19 6096 (0x17D0)
Request a MTC task for execution request of package PLM001B7, program OffScrub10 with request id: {FD38AFE7-AC19-4E13-8423-AA1DB1341858} execmgr 08/06/2017 16:06:19 6096 (0x17D0)
Executing program "%SystemRoot%\System32\cmd.exe" /C "CScriptNative.cmd //B //NoLogo "2010\OffScrub10.vbs" ALL /Quiet /NoCancel /Force /OSE" in Admin context execmgr 08/06/2017 16:06:19 6096 (0x17D0)
Execution Request for advert PLM201AE package PLM001B7 program OffScrub10 state change from NotExist to NotifyExecution execmgr 08/06/2017 16:06:19 6096 (0x17D0)
MTC task with id {2062B95D-197B-4371-A00C-C35369FAF2B5}, changed state from 5 to 5 execmgr 08/06/2017 16:06:19 296 (0x0128)
Checking content location C:\_SMSTaskSequence\Packages\PLM001B7 for use execmgr 08/06/2017 16:06:19 6096 (0x17D0)
Successfully selected content location C:\_SMSTaskSequence\Packages\PLM001B7 execmgr 08/06/2017 16:06:19 6096 (0x17D0)
Executing program as a script execmgr 08/06/2017 16:06:19 6096 (0x17D0)
Successfully prepared command line "C:\Windows\System32\cmd.exe" /C "CScriptNative.cmd //B //NoLogo "2010\OffScrub10.vbs" ALL /Quiet /NoCancel /Force /OSE" execmgr 08/06/2017 16:06:19 6096 (0x17D0)
Command line = "C:\Windows\System32\cmd.exe" /C "CScriptNative.cmd //B //NoLogo "2010\OffScrub10.vbs" ALL /Quiet /NoCancel /Force /OSE", Working Directory = C:\_SMSTaskSequence\Packages\PLM001B7\ execmgr 08/06/2017 16:06:19 6096 (0x17D0)
Running "C:\Windows\System32\cmd.exe" /C "CScriptNative.cmd //B //NoLogo "2010\OffScrub10.vbs" ALL /Quiet /NoCancel /Force /OSE" with 32bitLauncher execmgr 08/06/2017 16:06:19 6096 (0x17D0)
Created Process for the passed command line execmgr 08/06/2017 16:06:20 6096 (0x17D0)
Raising event:
[SMS_CodePage(850), SMS_LocaleID(1040)]
instance of SoftDistProgramStartedEvent
{
AdvertisementId = "PLM201AE";
ClientID = "GUID:60FF7EF7-8825-43D7-B2AD-0119A0709E58";
CommandLine = "\"C:\\Windows\\System32\\cmd.exe\" /C \"CScriptNative.cmd //B //NoLogo \"2010\\OffScrub10.vbs\" ALL /Quiet /NoCancel /Force /OSE\"";
DateTime = "20170608140620.160000+000";
MachineName = "NAME";
PackageName = "PLM001B7";
ProcessID = 1052;
ProgramName = "OffScrub10";
SiteCode = "PLM";
ThreadID = 6096;
UserContext = "NT AUTHORITY\\SYSTEM";
WorkingDirectory = "C:\\_SMSTaskSequence\\Packages\\PLM001B7\\";
};
execmgr 08/06/2017 16:06:20 6096 (0x17D0)
Successfully submitted event to the Status Agent. execmgr 08/06/2017 16:06:20 6096 (0x17D0)
Raised Program Started Event for Ad

LM201AE, Package

LM001B7, Program: OffScrub10 execmgr 08/06/2017 16:06:20 6096 (0x17D0)
EvaluateRequestForExecution - Updated current running request execmgr 08/06/2017 16:06:20 6096 (0x17D0)
Program exit code 1 execmgr 08/06/2017 16:06:20 3476 (0x0D94)
Looking for MIF file to get program status execmgr 08/06/2017 16:06:20 3476 (0x0D94)
######################