Error Code 0xc0000142 is commonly caused due to the .NET framework installation failure. These are the following ways in which you can attempt to correct this error.
This 0xc0000142 error code might occur because of improper removal of the previous version of office. ,
This Error Code 0xc0000142 appeared with updates on windows 11