Click here to Skip to main content
15,867,308 members
Articles / Productivity Apps and Services / Microsoft Office / Microsoft Office 365
Tip/Trick

Office 365 / 2019 / 2016 can't start properly giving error 0xc0000142 after trying to update itself at startup solution

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
2 Apr 2021CPOL1 min read 5.9K   1  
How to be able to launch office apps that refuse to start giving the 0xc0000142 error
This is a way to be able to run office applications if they refuse to start giving you the error 0xc0000142.

Introduction

At home, we have the Office 365 family license installed in a Windows 10 Professional 64 bits system.

From time to time, when you click on any office application (Word, Excel, Outlook...) in the start menu, an orange splash screen appears alerting that is trying to update Office. When this happens, you know that after a few seconds, a message box will appear with the text:

OUTLOOK.EXE - Application Error

The application was unable to start correctly (0xc0000142).

Click OK to close the application.

* that message was given when trying to launch Outlook.

After searching the web, I tried a lot of assistants from Microsoft, and the only thing that worked fine was to reinstall Office, which was time consuming, but moreover, I really can't ask my mother to do this alone.

Well, at the end, I can't really remember where, I've found a good solution to this problem and I thought I would share it + keep it written here for further revision in case of need.

Background

You will need only to know how to create a file, to edit its text, to rename it and to create a shortcut to the same file.

Using the Code

The only thing that must be done is to restart the ClickToRunSvc service.

To make this convenient for a non tech savvy user, I have created a small bat file with this content:

C++
net stop ClickToRunSvc 
net start ClickToRunSvc

After that, I created a shortcut to the same batch file and checked the "execute as administrator" option.

If you get that message and your Office programs refuse to start, feel free to use this solution to get it solved by double clicking a shortcut.

History

  • 2nd April, 2021: Initial version

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer robotecnik
Spain Spain
I'm from Catalonia (in Spain) and a specialist in CNC, PLC, robotics and automation in general.

From 1998 I've been developing software applications for the automation market.

I'm using different technologies in each case to get the proper result, fieldbus communications, special electronics, special laser sensors, artificial vision, robot arms, CNC applications, PLC's...

www.robotecnik.com[^] - robots, CNC and PLC programming

Comments and Discussions

 
-- There are no messages in this forum --