Fix: Netsh.exe Error 0xc0000142 at Shutdown

When you shut down or restart the computer, the netsh.exe error may appear. The full error message is below:

netsh.exe - Application Error

The application was unable to start correctly (0xc0000142).
Click OK to close the application.

netsh error 0xc0000142

The error is caused by the Samsung Quick Share application (quickshareservice.exe). It launches the netsh.exe console tool during shutdown or restart.

The error message is non-fatal and can be safely ignored.

Workaround

If you don’t want to see the Netsh.exe error at shutdown, you may uninstall Samsung QuickShare via Apps & Features.

samsung quick share uninstall - apps & features

Or, start PowerShell as administrator and run the following command to uninstall the Quick Share app.



get-appxpackage -allusers *SamsungQuickShare* | remove-appxpackage

Restart Windows

If the Netsh.exe error continues to occur, run the following command as well:

get-appxpackage -allusers *SamsungContinuityService* | remove-appxpackage
If Samsung fixes the Quick Share app in a future update, you can reinstall it using the Microsoft Store link below.

https://apps.microsoft.com/detail/9pctgdfxvzlj

Samsung Quick Share – App Info

Running the command get-appxpackage -allusers *quickshare* from PowerShell admin showed the following:

Name                   : SAMSUNGELECTRONICSCoLtd.SamsungQuickShare
Publisher              : CN=14C847C8-791E-46EB-9C0D-7CADAF31C930
Architecture           : X64
ResourceId             :
Version                : 1.7.55.0
PackageFullName        : SAMSUNGELECTRONICSCoLtd.SamsungQuickShare_1.7.55.0_x64__wyx1vj98g3asy
InstallLocation        : C:\Program
                         Files\WindowsApps\SAMSUNGELECTRONICSCoLtd.SamsungQuickShare_1.7.55.0_x64__wyx1vj98g3asy
IsFramework            : False
PackageFamilyName      : SAMSUNGELECTRONICSCoLtd.SamsungQuickShare_wyx1vj98g3asy
PublisherId            : wyx1vj98g3asy
PackageUserInformation : {S-1-5-21-2115173223-xxxxxxxx-xxxxxxxx-1001 [ramesh]: Installed}
IsResourcePackage      : False
IsBundle               : False
IsDevelopmentMode      : False
NonRemovable           : False
Dependencies           : {Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe,
                         Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe,
                         Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe,
                         Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe...}
IsPartiallyStaged      : False
SignatureKind          : Store
Status                 : Ok

I hope that helps.


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

Leave a Comment