Deployment task is reinvoked at startup to complete the installation
Technical Articles ID:
KB94095
Last Modified: 2023-05-02 06:26:53 Etc/GMT
Last Modified: 2023-05-02 06:26:53 Etc/GMT
Environment
Drive Encryption (DE) 7.2.x
McAfee Agent (MA) 5.7.x, 5.6.x
McAfee Agent (MA) 5.7.x, 5.6.x
Summary
This article provides the complete workflow of the deployment of DE. Log file entries are provided where necessary.
NOTES:McScript.log (MA logs) records the event:
I #5240 MueEep Task is required to restart after reboot.
I MueEep Rescheduling the task at next system start up.
I #5240 MueEep Trying to reschedule the task to be re-run at system startup.
Step 1 - Initiate a Push task to install both the EEADMIN and EEPC components.
TheMASVC_Systemname.log shows the task ID and the task being invoked for an Install action:
2021-01-18 15:51:38.057 masvc(1708.1732) scheduler.Info: Scheduler: Invoking task [MDE 7.2.9]...
2021-01-18 15:51:38.057 masvc(1708.1732) scheduler.Info: The task MDE 7.2.9 becomes active
2021-01-18 15:51:38.057 masvc(1708.1732) Updater.Info: Received updater request initiator_type=4 request_type=0 taskid=586.
2021-01-18 15:51:38.057 masvc(1708.1732) Updater.Info: Creating scheduled task updater request, task id = 586.
2021-01-18 15:51:38.057 masvc(1708.1732) Updater.Info: Adding the updater request taskid <586> in the queue.
2021-01-18 15:51:38.057 masvc(1708.1732) reporank.Info: Policy change as got from Configurator <0>
2021-01-18 15:51:39.072 masvc(1708.1732) Updater.Info: Invoking mue as, [C:\Program Files\McAfee\Agent\x86\McScript_InUse.exe -script
C:\ProgramData\McAfee\Agent\update\InstallMain.McS -id 29057 -localeid 0409 -logfile C:\ProgramData\McAfee\Agent\logs\McScript_deploy -parent FRAMEWORK -initiator 4 -installdir C:\Program Files\McAfee\Agent\\x86\ -taskid 586 (null) ].
TheMcscript.log Part 1 - The same task ID in this log validates whether the task has been invoked:
2021-01-18 15:51:39 I #5240 ScrptMain START [C:\Program Files\McAfee\Agent\x86\McScript_InUse.exe -script
C:\ProgramData\McAfee\Agent\update\InstallMain.McS -id 29057 -localeid 0409 -logfile
C:\ProgramData\McAfee\Agent\logs\McScript_deploy -parent FRAMEWORK -initiator 4 -installdir
C:\Program Files\McAfee\Agent\\x86\ -taskid 586]
2021-01-18 15:51:39 I #6016 SutDnWtch Successfully set up shutdown watch
2021-01-18 15:51:39 I #5240 MueEep Initializing MUE EEP Script ID = 29057
2021-01-18 15:51:39 I #5240 crypto Crypto logger used <013B8EF8>
2021-01-18 15:51:40 I #5240 crypto Key imported successfully and recognized in RSA format
2021-01-18 15:51:40 I #5240 crypto Key imported successfully and recognized in RSA format
2021-01-18 15:51:40 I #1296 msgbus Added file watcher on broker config file <C:\ProgramData\McAfee\Agent\msgbus\config.ini>
2021-01-18 15:51:40 I #1296 msgbus msgbus connectvity status : Connected
2021-01-18 15:51:40 I #1296 msgbus Allowing <1708> onto msgbus
2021-01-18 15:51:40 I #5240 ma_client ma client is started.
2021-01-18 15:51:40 I #5240 mue changed self priority to 16384
2021-01-18 15:51:40 I #5240 mue Setting up update options ini file C:\ProgramData\McAfee\Agent\\\UpdateOptions.ini.
2021-01-18 15:51:40 I #5240 mue Setting Install option [Install]:Install_1:EEADMIN_1000
2021-01-18 15:51:40 I #5240 mue Setting Install option command line option
2021-01-18 15:51:40 I #5240 mue Got version, From policy compatibility General EEADMIN_1000\Previous : 7.2.9.5, From task: 7.2.95
2021-01-18 15:51:40 I #5240 mue version matching. policy: 7.2.95, task: 7.2.95
2021-01-18 15:51:40 I #5240 mue Setting Install option [Install]:Install_2:EEPC
2021-01-18 15:51:40 I #5240 mue Setting Install option command line option
2021-01-18 15:51:40 I #5240 mue Got version, From policy compatibility General EEPC\Previous : 7.2.9.5, From task: 7.2.95
2021-01-18 15:51:40 I #5240 mue version matching. policy: 7.2.95, task: 7.2.95
2021-01-18 15:51:40 I #5240 mue No of products to be installed 2
2021-01-18 15:51:40 I #5240 mue Setting up update history ini file C:\ProgramData\McAfee\Agent\\\UpdateHistory.ini.
2021-01-18 15:51:40 I #5240 mue Getting the ui provider if registered.
2021-01-18 15:51:40 I #5240 mue No UI provider registered.
2021-01-18 15:51:40 I #5240 mue <ma_package_manager_client> starts
2021-01-18 15:51:40 I #5240 mue install[1] <EEADMIN_1000>: <7.2.9.5>
2021-01-18 15:51:40 I #5240 mue install[2] <EEPC>: <7.2.9.5>
2021-01-18 15:51:40 I #5240 mue got EnableCompatibilityCheck: 1
TheMcscript.log Part 2 - This section of the McScript.log covers the install part of the invoked task:
I #5240 ScrptExe Executing section: [Install]
I #5240 ScrptExe Running ""C:\Windows\system32\msiexec.exe"" /q /i "C:\ProgramData\McAfee\Agent\\Previous\EEPC\Install\0000\MfeEEPc64.msi" EPO_INSTALL=YES FIPS_MODE=0 ENTROPY=16 /norestart
I #5240 ScrptExe Running ""C:\Windows\system32\msiexec.exe"" /q /i "C:\ProgramData\McAfee\Agent\\Previous\EEPC\Install\0000\MfeEEPc64.msi" EPO_INSTALL=YES FIPS_MODE=0 ENTROPY=16 /norestart
I #5240 ScrptExe Did not match searched path
I #5240 ScrptExe Executing "C:\Windows\system32\msiexec.exe" /q /i "C:\ProgramData\McAfee\Agent\\Previous\EEPC\Install\0000\MfeEEPc64.msi" EPO_INSTALL=YES FIPS_MODE=0 ENTROPY=16 /norestart
I #5240 ScrptExe Using Aac exclusion path C:\Windows\system32\msiexec.exe
I #5240 ScrptExe Script executed. Setting dwRet to 3010
I #5240 ScrptMgr Setting the working dir as C:\ProgramData\McAfee\Agent\update
I #5240 ScrptExe Executing section: [RebootNeeded]
I #5240 ScrptExe Executing section: [CheckRebootNeededDuringInstall]
I #5240 ScrptExe Executing section: [RebootNeededResetToSuccess]
I #5240 ScrptExe Executing section: [SendSuccessEvent]
I #5240 ScrptMgr Update succeeded to version 7.2.9
Step 2 - The reboot needs to confirm that the task is reinvoked, to confirm completion through reboot of the system. Also, you can see the rescheduled task to run at startup with the same task ID. The schedule is automatically generated, and is only invoked after the next system.
2021-01-18 15:58:30 I #5240 ScrptMain Run script return code: 36
2021-01-18 15:58:30 I #5240 ScrptMain McAfee Update Engine is exiting with return code: 1
2021-01-18 15:58:30 I #5240 MueEep Invoking events withEventId " 0" Severity " 0" Productid " EPOAGENT3000" Locale " 0409" UpdateType " N/A" UpdateError " 0" iUpdateState " 5" New Version " N/A" Date Time " N/A" Script Id" 29057" Custom Message " "
2021-01-18 15:58:30 I #5240 MueEep Updating session state to 5
2021-01-18 15:58:30 I #5240 MueEep Updating final session state to 5
2021-01-18 15:58:30 I #5240 MueEep Task is required to restart after reboot.
2021-01-18 15:58:30 I #5240 MueEep Rescheduling the task at next system start up.
2021-01-18 15:58:30 I #5240 MueEep Trying to reschedule the task to be re-run at system startup.
2021-01-18 15:58:30 I #5240 MueEep task id ({e8c9eda6-5977-11eb-2b2e-d56dfce65b44}) added successfully in scheduler
2021-01-18 15:58:30 I #5240 MueEep Invoking EndUpdateDialog withTitle " Update Finished" Message " Please check the update log for more details." CountdownMessage " " CountdownValue" 0"
2021-01-18 15:58:30 I #5240 SessMgr Final session state is 5
2021-01-18 15:58:30 I #5240 mue Updater session state = <5>, Update session result = "SUCCESS".
2021-01-18 15:58:30 I #5240 mue Updater install <1> uninstall <0> update <0>
2021-01-18 15:58:30 I #5240 mue Task is rescheduled to run later, so postpone the post task run stuff for the next run.
NOTES:
You see the Task ID and the date is 2021-01-20, where the task is invoked after two days, since the restart is performed on January 20, as an example.
2021-01-20 16:26:13 I #4444 ScrptMain START [C:\Program Files\McAfee\Agent\x86\McScript_InUse.exe -script
C:\ProgramData\McAfee\Agent\update\InstallMain.McS -id 10291 -localeid 0409 -logfile
C:\ProgramData\McAfee\Agent\logs\McScript_deploy -parent FRAMEWORK -initiator 4 -installdir
C:\Program Files\McAfee\Agent\\x86\ -taskid {e8c9eda6-5977-11eb-2b2e-d56dfce65b44}]
2021-01-20 16:26:13 I #920 SutDnWtch Successfully set up shutdown watch
2021-01-20 16:26:14 I #4444 MueEep Initializing MUE EEP Script ID = 10291
2021-01-20 16:26:14 I #4444 crypto Crypto logger used <0111F220>
2021-01-20 16:26:15 I #4444 crypto Key imported successfully and recognized in RSA format
2021-01-20 16:26:15 I #4444 crypto Key imported successfully and recognized in RSA format
2021-01-20 16:26:15 I #4464 msgbus Added file watcher on broker config file <C:\ProgramData\McAfee\Agent\msgbus\config.ini>
2021-01-20 16:26:15 I #4464 msgbus msgbus connectvity status : Connected
2021-01-20 16:26:15 I #4464 msgbus Allowing <1664> onto msgbus
2021-01-20 16:26:15 I #4444 ma_client ma client is started.
2021-01-20 16:26:15 I #4444 mue changed self priority to 16384
2021-01-20 16:26:15 I #4444 mue Setting up update options ini file C:\ProgramData\McAfee\Agent\\\UpdateOptions.ini.
2021-01-20 16:26:15 I #4444 mue Setting Install option [Install]:Install_1:EEADMIN_1000
2021-01-20 16:26:15 I #4444 mue Setting Install option command line option
2021-01-20 16:26:15 I #4444 mue Got version, From policy compatibility General EEADMIN_1000\Previous : 7.2.9.5, From task: 7.2.95
2021-01-20 16:26:15 I #4444 mue version matching. policy: 7.2.95, task: 7.2.95
2021-01-20 16:26:15 I #4444 mue Setting Install option [Install]:Install_2:EEPC
2021-01-20 16:26:15 I #4444 mue Setting Install option command line option
2021-01-20 16:26:15 I #4444 mue Got version, From policy compatibility General EEPC\Previous : 7.2.9.5, From task: 7.2.95
2021-01-20 16:26:15 I #4444 mue version matching. policy: 7.2.95, task: 7.2.95
2021-01-20 16:26:15 I #4444 mue No of products to be installed 2
2021-01-20 16:26:15 I #4444 mue Setting up update history ini file C:\ProgramData\McAfee\Agent\\\UpdateHistory.ini.
2021-01-20 16:26:15 I #4444 mue Getting the ui provider if registered.
2021-01-20 16:26:15 I #4444 mue No UI provider registered.
2021-01-20 16:26:15 I #4444 mue <ma_package_manager_client> starts
2021-01-20 16:26:15 I #4444 mue install[1] <EEADMIN_1000>: <7.2.9.5>
2021-01-20 16:26:15 I #4444 mue install[2] <EEPC>: <7.2.9.5>
NOTES:
- Workflow of the DE deployment task needs a reboot for completion.
- The DE deployment task prompts you for the mandatory reboot after the
EEADMIN and DE components are deployed. - The initial product installation is completed without a system restart. But, the completion of the deployment task only occurs once the system has been restarted.
I MueEep Rescheduling the task at next system start up.
I #5240 MueEep Trying to reschedule the task to be re-run at system startup.
- The log files reference EEPC. This reference is to a legacy product. The original product name was Endpoint Encryption for PC. The name later changed to DE, but the hard-coded name remains in the logs.
- The EEPC component needs a mandatory reboot for the task to complete. This step allows the preboot component to be activated.
- The EEADMIN component doesn't prompt for a reboot.
Step 1 - Initiate a Push task to install both the EEADMIN and EEPC components.
The
2021-01-18 15:51:38.057 masvc(1708.1732) scheduler.Info: The task MDE 7.2.9 becomes active
2021-01-18 15:51:38.057 masvc(1708.1732) Updater.Info: Received updater request initiator_type=4 request_type=0 taskid=586.
2021-01-18 15:51:38.057 masvc(1708.1732) Updater.Info: Creating scheduled task updater request, task id = 586.
2021-01-18 15:51:38.057 masvc(1708.1732) Updater.Info: Adding the updater request taskid <586> in the queue.
2021-01-18 15:51:38.057 masvc(1708.1732) reporank.Info: Policy change as got from Configurator <0>
2021-01-18 15:51:39.072 masvc(1708.1732) Updater.Info: Invoking mue as, [C:\Program Files\McAfee\Agent\x86\McScript_InUse.exe -script
C:\ProgramData\McAfee\Agent\update\InstallMain.McS -id 29057 -localeid 0409 -logfile C:\ProgramData\McAfee\Agent\logs\McScript_deploy -parent FRAMEWORK -initiator 4 -installdir C:\Program Files\McAfee\Agent\\x86\ -taskid 586 (null) ].
The
C:\ProgramData\McAfee\Agent\update\InstallMain.McS -id 29057 -localeid 0409 -logfile
C:\ProgramData\McAfee\Agent\logs\McScript_deploy -parent FRAMEWORK -initiator 4 -installdir
C:\Program Files\McAfee\Agent\\x86\ -taskid 586]
2021-01-18 15:51:39 I #6016 SutDnWtch Successfully set up shutdown watch
2021-01-18 15:51:39 I #5240 MueEep Initializing MUE EEP Script ID = 29057
2021-01-18 15:51:39 I #5240 crypto Crypto logger used <013B8EF8>
2021-01-18 15:51:40 I #5240 crypto Key imported successfully and recognized in RSA format
2021-01-18 15:51:40 I #5240 crypto Key imported successfully and recognized in RSA format
2021-01-18 15:51:40 I #1296 msgbus Added file watcher on broker config file <C:\ProgramData\McAfee\Agent\msgbus\config.ini>
2021-01-18 15:51:40 I #1296 msgbus msgbus connectvity status : Connected
2021-01-18 15:51:40 I #1296 msgbus Allowing <1708> onto msgbus
2021-01-18 15:51:40 I #5240 ma_client ma client is started.
2021-01-18 15:51:40 I #5240 mue changed self priority to 16384
2021-01-18 15:51:40 I #5240 mue Setting up update options ini file C:\ProgramData\McAfee\Agent\\\UpdateOptions.ini.
2021-01-18 15:51:40 I #5240 mue Setting Install option [Install]:Install_1:EEADMIN_1000
2021-01-18 15:51:40 I #5240 mue Setting Install option command line option
2021-01-18 15:51:40 I #5240 mue Got version, From policy compatibility General EEADMIN_1000\Previous : 7.2.9.5, From task: 7.2.95
2021-01-18 15:51:40 I #5240 mue version matching. policy: 7.2.95, task: 7.2.95
2021-01-18 15:51:40 I #5240 mue Setting Install option [Install]:Install_2:EEPC
2021-01-18 15:51:40 I #5240 mue Setting Install option command line option
2021-01-18 15:51:40 I #5240 mue Got version, From policy compatibility General EEPC\Previous : 7.2.9.5, From task: 7.2.95
2021-01-18 15:51:40 I #5240 mue version matching. policy: 7.2.95, task: 7.2.95
2021-01-18 15:51:40 I #5240 mue No of products to be installed 2
2021-01-18 15:51:40 I #5240 mue Setting up update history ini file C:\ProgramData\McAfee\Agent\\\UpdateHistory.ini.
2021-01-18 15:51:40 I #5240 mue Getting the ui provider if registered.
2021-01-18 15:51:40 I #5240 mue No UI provider registered.
2021-01-18 15:51:40 I #5240 mue <ma_package_manager_client> starts
2021-01-18 15:51:40 I #5240 mue install[1] <EEADMIN_1000>: <7.2.9.5>
2021-01-18 15:51:40 I #5240 mue install[2] <EEPC>: <7.2.9.5>
2021-01-18 15:51:40 I #5240 mue got EnableCompatibilityCheck: 1
The
I #5240 ScrptExe Running ""C:\Windows\system32\msiexec.exe"" /q /i "C:\ProgramData\McAfee\Agent\\Previous\EEPC\Install\0000\MfeEEPc64.msi" EPO_INSTALL=YES FIPS_MODE=0 ENTROPY=16 /norestart
I #5240 ScrptExe Running ""C:\Windows\system32\msiexec.exe"" /q /i "C:\ProgramData\McAfee\Agent\\Previous\EEPC\Install\0000\MfeEEPc64.msi" EPO_INSTALL=YES FIPS_MODE=0 ENTROPY=16 /norestart
I #5240 ScrptExe Did not match searched path
I #5240 ScrptExe Executing "C:\Windows\system32\msiexec.exe" /q /i "C:\ProgramData\McAfee\Agent\\Previous\EEPC\Install\0000\MfeEEPc64.msi" EPO_INSTALL=YES FIPS_MODE=0 ENTROPY=16 /norestart
I #5240 ScrptExe Using Aac exclusion path C:\Windows\system32\msiexec.exe
I #5240 ScrptExe Script executed. Setting dwRet to 3010
I #5240 ScrptMgr Setting the working dir as C:\ProgramData\McAfee\Agent\update
I #5240 ScrptExe Executing section: [RebootNeeded]
I #5240 ScrptExe Executing section: [CheckRebootNeededDuringInstall]
I #5240 ScrptExe Executing section: [RebootNeededResetToSuccess]
I #5240 ScrptExe Executing section: [SendSuccessEvent]
I #5240 ScrptMgr Update succeeded to version 7.2.9
Step 2 - The reboot needs to confirm that the task is reinvoked, to confirm completion through reboot of the system. Also, you can see the rescheduled task to run at startup with the same task ID. The schedule is automatically generated, and is only invoked after the next system.
2021-01-18 15:58:30 I #5240 ScrptMain McAfee Update Engine is exiting with return code: 1
2021-01-18 15:58:30 I #5240 MueEep Invoking events withEventId " 0" Severity " 0" Productid " EPOAGENT3000" Locale " 0409" UpdateType " N/A" UpdateError " 0" iUpdateState " 5" New Version " N/A" Date Time " N/A" Script Id" 29057" Custom Message " "
2021-01-18 15:58:30 I #5240 MueEep Updating session state to 5
2021-01-18 15:58:30 I #5240 MueEep Updating final session state to 5
2021-01-18 15:58:30 I #5240 MueEep Task is required to restart after reboot.
2021-01-18 15:58:30 I #5240 MueEep Rescheduling the task at next system start up.
2021-01-18 15:58:30 I #5240 MueEep Trying to reschedule the task to be re-run at system startup.
2021-01-18 15:58:30 I #5240 MueEep task id ({e8c9eda6-5977-11eb-2b2e-d56dfce65b44}) added successfully in scheduler
2021-01-18 15:58:30 I #5240 MueEep Invoking EndUpdateDialog withTitle " Update Finished" Message " Please check the update log for more details." CountdownMessage " " CountdownValue" 0"
2021-01-18 15:58:30 I #5240 SessMgr Final session state is 5
2021-01-18 15:58:30 I #5240 mue Updater session state = <5>, Update session result = "SUCCESS".
2021-01-18 15:58:30 I #5240 mue Updater install <1> uninstall <0> update <0>
2021-01-18 15:58:30 I #5240 mue Task is rescheduled to run later, so postpone the post task run stuff for the next run.
NOTES:
- According to the above logs, the deployment task is successful.
- The log records that the task is rescheduled at system startup.
- It creates a matching Task ID.
You see the Task ID and the date is 2021-01-20, where the task is invoked after two days, since the restart is performed on January 20, as an example.
C:\ProgramData\McAfee\Agent\update\InstallMain.McS -id 10291 -localeid 0409 -logfile
C:\ProgramData\McAfee\Agent\logs\McScript_deploy -parent FRAMEWORK -initiator 4 -installdir
C:\Program Files\McAfee\Agent\\x86\ -taskid {e8c9eda6-5977-11eb-2b2e-d56dfce65b44}]
2021-01-20 16:26:13 I #920 SutDnWtch Successfully set up shutdown watch
2021-01-20 16:26:14 I #4444 MueEep Initializing MUE EEP Script ID = 10291
2021-01-20 16:26:14 I #4444 crypto Crypto logger used <0111F220>
2021-01-20 16:26:15 I #4444 crypto Key imported successfully and recognized in RSA format
2021-01-20 16:26:15 I #4444 crypto Key imported successfully and recognized in RSA format
2021-01-20 16:26:15 I #4464 msgbus Added file watcher on broker config file <C:\ProgramData\McAfee\Agent\msgbus\config.ini>
2021-01-20 16:26:15 I #4464 msgbus msgbus connectvity status : Connected
2021-01-20 16:26:15 I #4464 msgbus Allowing <1664> onto msgbus
2021-01-20 16:26:15 I #4444 ma_client ma client is started.
2021-01-20 16:26:15 I #4444 mue changed self priority to 16384
2021-01-20 16:26:15 I #4444 mue Setting up update options ini file C:\ProgramData\McAfee\Agent\\\UpdateOptions.ini.
2021-01-20 16:26:15 I #4444 mue Setting Install option [Install]:Install_1:EEADMIN_1000
2021-01-20 16:26:15 I #4444 mue Setting Install option command line option
2021-01-20 16:26:15 I #4444 mue Got version, From policy compatibility General EEADMIN_1000\Previous : 7.2.9.5, From task: 7.2.95
2021-01-20 16:26:15 I #4444 mue version matching. policy: 7.2.95, task: 7.2.95
2021-01-20 16:26:15 I #4444 mue Setting Install option [Install]:Install_2:EEPC
2021-01-20 16:26:15 I #4444 mue Setting Install option command line option
2021-01-20 16:26:15 I #4444 mue Got version, From policy compatibility General EEPC\Previous : 7.2.9.5, From task: 7.2.95
2021-01-20 16:26:15 I #4444 mue version matching. policy: 7.2.95, task: 7.2.95
2021-01-20 16:26:15 I #4444 mue No of products to be installed 2
2021-01-20 16:26:15 I #4444 mue Setting up update history ini file C:\ProgramData\McAfee\Agent\\\UpdateHistory.ini.
2021-01-20 16:26:15 I #4444 mue Getting the ui provider if registered.
2021-01-20 16:26:15 I #4444 mue No UI provider registered.
2021-01-20 16:26:15 I #4444 mue <ma_package_manager_client> starts
2021-01-20 16:26:15 I #4444 mue install[1] <EEADMIN_1000>: <7.2.9.5>
2021-01-20 16:26:15 I #4444 mue install[2] <EEPC>: <7.2.9.5>
Affected Products
Languages:
This article is available in the following languages: