{"id":75873,"date":"2024-07-09T19:18:03","date_gmt":"2024-07-09T13:48:03","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=75873"},"modified":"2024-07-13T11:26:20","modified_gmt":"2024-07-13T05:56:20","slug":"netsh-exe-error-0xc0000142-shutdown","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/netsh-exe-error-0xc0000142-shutdown\/","title":{"rendered":"Fix: Netsh.exe Error 0xc0000142 at Shutdown"},"content":{"rendered":"<p>When you shut down or restart the computer, the netsh.exe error may appear. The full error message is below:<\/p>\n<pre class=\"err\">netsh.exe - Application Error\n\nThe application was unable to start correctly (0xc0000142).\nClick OK to close the application.<\/pre>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75874\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/netsh-error-shutdown.png\" alt=\"netsh error 0xc0000142\" width=\"750\" height=\"360\" \/><\/p>\n<p>The error is caused by the Samsung Quick Share application (<code>quickshareservice.exe<\/code>). It launches the netsh.exe console tool during shutdown or restart.<\/p>\n<p>The error message is non-fatal and can be safely ignored.<\/p>\n<h2>Workaround<\/h2>\n<p>If you don&#8217;t want to see the Netsh.exe error at shutdown, you may uninstall Samsung QuickShare via Apps &amp; Features.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/samsung-quick-share-uninstall.png\" alt=\"samsung quick share uninstall - apps &amp; features\" width=\"707\" height=\"415\" class=\"alignnone size-full wp-image-75877\" \/><\/p>\n<p>Or, start PowerShell as <strong>administrator<\/strong> and run the following command to uninstall the Quick Share app.<\/p>\n<pre class=\"powershell\">get-appxpackage -allusers *SamsungQuickShare* | remove-appxpackage<\/pre>\n<p>Restart Windows<\/p>\n<p>If the Netsh.exe error continues to occur, run the following command as well:<\/p>\n<pre class=\"powershell\">get-appxpackage -allusers *SamsungContinuityService* | remove-appxpackage<\/pre>\n<div class=\"qt\">If Samsung fixes the Quick Share app in a future update, you can reinstall it using the Microsoft Store link below.<\/p>\n<pre>https:\/\/apps.microsoft.com\/detail\/9pctgdfxvzlj<\/pre>\n<\/div>\n<hr>\n<h3>Samsung Quick Share &#8211; App Info<\/h3>\n<p>Running the command <code><strong>get-appxpackage -allusers *quickshare*<\/strong><\/code> from PowerShell admin showed the following:<\/p>\n<pre>\nName                   : SAMSUNGELECTRONICSCoLtd.SamsungQuickShare\nPublisher              : CN=14C847C8-791E-46EB-9C0D-7CADAF31C930\nArchitecture           : X64\nResourceId             :\nVersion                : 1.7.55.0\nPackageFullName        : SAMSUNGELECTRONICSCoLtd.SamsungQuickShare_1.7.55.0_x64__wyx1vj98g3asy\nInstallLocation        : C:\\Program\n                         Files\\WindowsApps\\SAMSUNGELECTRONICSCoLtd.SamsungQuickShare_1.7.55.0_x64__wyx1vj98g3asy\nIsFramework            : False\nPackageFamilyName      : SAMSUNGELECTRONICSCoLtd.SamsungQuickShare_wyx1vj98g3asy\nPublisherId            : wyx1vj98g3asy\nPackageUserInformation : {S-1-5-21-2115173223-xxxxxxxx-xxxxxxxx-1001 [ramesh]: Installed}\nIsResourcePackage      : False\nIsBundle               : False\nIsDevelopmentMode      : False\nNonRemovable           : False\nDependencies           : {Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe,\n                         Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe,\n                         Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe,\n                         Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe...}\nIsPartiallyStaged      : False\nSignatureKind          : Store\nStatus                 : Ok\n<\/pre>\n<p>I hope that helps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you shut down or restart the computer, the netsh.exe error may appear. The full error message is below: netsh.exe &#8211; Application Error The application was unable to start correctly (0xc0000142). Click OK to close the application.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[869],"tags":[191,396],"class_list":["post-75873","post","type-post","status-publish","format-standard","hentry","category-windows-11","tag-error-messages","tag-powershell"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":78009,"url":"https:\/\/www.winhelponline.com\/blog\/0xc0000142-cmd-powershell-sfc-dism\/","url_meta":{"origin":75873,"position":0},"title":"Error 0xC0000142 Launching CMD, PowerShell, SFC, or DISM","author":"Ramesh","date":"March 2, 2025","format":false,"excerpt":"When you start PowerShell or Command Prompt, the error code 0xc0000142 may appear. Any console tool, such as sfc.exe or dism.exe may throw the same error. The application was unable to start correctly (0xc0000142). Click OK to close the application. SIMILAR: [Fix] Error 0xc0000017 when running DISM or SFC Cause\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"0xc0000142 error when launching cmd.exe or powershell.","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2025\/03\/0xc0000142-cmd-powershell.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":55484,"url":"https:\/\/www.winhelponline.com\/blog\/reset-winhttp-proxy-settings\/","url_meta":{"origin":75873,"position":1},"title":"Reset WinHTTP Proxy Settings in Windows 10 or 11","author":"Ramesh","date":"June 22, 2023","format":false,"excerpt":"Sometimes, you may have to reset the WinHTTP proxy, firewall or network settings to fix connectivity issues when using Windows Update, Microsoft Store, or other apps. WinHTTP provides the HTTP client APIs, which are used by desktop applications and Windows services. This article tells you how to disable or reset\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"internet options - connnections tab - proxy server","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/inetcpl-proxy-server.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":4516,"url":"https:\/\/www.winhelponline.com\/blog\/reset-firewall-defaults-restore-rules-advanced-security\/","url_meta":{"origin":75873,"position":2},"title":"How to Reset Windows Firewall Settings to Defaults","author":"Ramesh","date":"November 4, 2016","format":false,"excerpt":"You may want to occasionally reset Windows firewall settings or rules to clear any unused entries there in the aftermath of malware attack and removal, or when some of the networking features don't work due to misconfiguration of the Windows Firewall. Windows Firewall has predefined Inbound and Outbound connection rules\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"reset windows firewall settings","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/firewall-rules-reset-0.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/firewall-rules-reset-0.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/firewall-rules-reset-0.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/firewall-rules-reset-0.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":76286,"url":"https:\/\/www.winhelponline.com\/blog\/explorer-exe-application-error-referenced-memory\/","url_meta":{"origin":75873,"position":3},"title":"Explorer.exe application error referenced memory at 0x0000000000000024","author":"Ramesh","date":"August 8, 2024","format":false,"excerpt":"When you shut down the PC, the following error message may pop up: explorer.exe application error The instruction at 0x00007FFDD63ACA referenced memory at 0x0000000000000024. The memory could not be written. Resolution The error is caused by your Xbox controller. Turning off the GameInput service resolves the issue. Launch Services.msc and\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"explorer memory error at shutdown - xbox controller","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/08\/explorer-memory-instruction-error.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/08\/explorer-memory-instruction-error.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/08\/explorer-memory-instruction-error.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/08\/explorer-memory-instruction-error.jpeg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":10260,"url":"https:\/\/www.winhelponline.com\/blog\/vss-event-log-errors-windows-10-event-ids-8193-and-13\/","url_meta":{"origin":75873,"position":4},"title":"VSS Event Log Errors: Event IDs 8193 and 13","author":"Ramesh","date":"July 9, 2019","format":false,"excerpt":"After upgrading to Windows 10 v1903, two VSS error entries appear in the Application event log during every shutdown. The Event IDs are 8193 and 13 with the event source as VSS. Along with the two error logs, an informational event (ID: 8224) is also recorded during the user session\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"event viewer error - event id 8193","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/vss-error-8193-event-log.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/vss-error-8193-event-log.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/vss-error-8193-event-log.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":54008,"url":"https:\/\/www.winhelponline.com\/blog\/securityhealthsystray-bad-image-0xc000012f\/","url_meta":{"origin":75873,"position":5},"title":"SecurityHealthSystray.exe &#8211; Bad Image 0xC000012F Error","author":"Ramesh","date":"June 16, 2023","format":false,"excerpt":"You may be unable to access the Windows Security app on your Windows 11 computer. And when you login to your account, the following error message appears: SecurityHealthSystray: SecurityHealthSystray.exe - Bad Image \\?\\C:\\Windows\\System32\\SecurityHealth\\1.0.2303.27001-0\\SecurityHealthSSO.dll is either not designed to run on Windows or it contains an error. Try installing the program\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"securityhealthsso.dll 0xc000012f","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/securityhealthsso_dll_error_2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/securityhealthsso_dll_error_2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/securityhealthsso_dll_error_2.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/75873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=75873"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/75873\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=75873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=75873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=75873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}