
- #Locale emulator 2.2.1.0 error c0000142 .exe#
- #Locale emulator 2.2.1.0 error c0000142 install#
- #Locale emulator 2.2.1.0 error c0000142 update#
- #Locale emulator 2.2.1.0 error c0000142 code#
- #Locale emulator 2.2.1.0 error c0000142 windows#
PackageNames='locale-emulator'|Prerelease='False'|ForceX86='False'| PromptForConfirmation='False'|AcceptLicense='True'|ĪllowUnofficialBuild='False'|Input='locale-emulator'|Version='2.5.0.1'|ĪllVersions='False'|SkipPackageInstallProvider='False'| UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'| SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|įorce='True'|Noop='False'|HelpRequested='False'| 19:44:29,723 2980 - Configuration: CommandName='install'|ĬacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|ĬommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'| NOTE: Hiding sensitive configuration data! Please double and tripleĬheck to be sure no sensitive data is shown, especially if copying 19:44:29,723 2980 - The source 'c:\cached-packages ' evaluated to a 'normal' source type 2 success(es), 0 warning(s), and 0 error(s).

#Locale emulator 2.2.1.0 error c0000142 windows#
19:44:29,708 2980 - Pending Windows Package Installer SysWow64 = Checked 19:44:29,708 2980 - Pending Windows Package Installer = Checked 19:44:29,708 2980 - Pending File Rename Operations = Ignored
#Locale emulator 2.2.1.0 error c0000142 update#
19:44:29,708 2980 - Pending Windows Auto Update = Checked 19:44:29,708 2980 - Pending Component Based Servicing = Checked
#Locale emulator 2.2.1.0 error c0000142 code#
19:44:29,692 2980 - Package Exit Code / Exit On Reboot = Checked 19:44:29,692 2980 - Global Configuration Validation Checks: 19:44:29,583 2980 - Removing all pending packages that should not be considered installed. 19:44:29,567 2980 - Sending message 'PreRunMessage' out if there are subscribers. 19:44:29,567 2980 - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
#Locale emulator 2.2.1.0 error c0000142 install#
19:44:29,520 2980 - Received arguments: install locale-emulator -version 2.5.0.1 -fdvy -execution-timeout=2700 -allow-downgrade 19:44:29,520 2980 - Command line: "C:\ProgramData\chocolatey\choco.exe" install locale-emulator -version 2.5.0.1 -fdvy -execution-timeout=2700 -allow-downgrade There are no failure messages with these files other than the FILE LOCKED WITH ONLY READERS - I believe this is for read-only access, but these files are also read-only access on the old server where the tasks are working.19:44:29,208 2980 - XmlConfiguration is now operational Right before the failure, and tzres.dll are the last files accessed. I know that error code 0xC0000142 is STATUS_DLL_INIT_FAILED. I tried monitoring the task with Process Monitor, below is a snippet of the log output leading up to the exit code. All of these led to the same 0xC0000142 error.Īlso, there were no errors being shown in Windows Task Scheduler history or in the Event Viewer. I have tried manually recreating the tasks, I tried running the tasks with different domain admin accounts, also played around with the "run only when user is logged in/run whether user is logged in or not" setting. So I installed these extra redistributables but I still got the same result. I also thought it had to do with missing C++ redistributables - the new server only had redistributables from 2015-2019, while the 2008 R2 server had these along with redistributables from 20. Most of the resources I found online say to increase the desktop heap size in the registry editor - I have done this multiple times and restarted the server after each increase, but I was still getting the same results with this method so I reset the desktop heap size back to the original value.

The same SYSTEM account is being used to run the tasks, but with the updated Windows Server, these tasks now give me a run result of 0xC0000142. I recently imported these tasks to a new Windows 2019 Datacenter server and set these tasks up in the Task Scheduler. These tasks were being run by the SYSTEM account and I never had any issues with them before.
#Locale emulator 2.2.1.0 error c0000142 .exe#
exe programs (developed with C++ Builder XE7) running as scheduled tasks in a Windows 2008 R2 Datacenter server.
