{"id":75948,"date":"2024-07-14T12:34:59","date_gmt":"2024-07-14T07:04:59","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=75948"},"modified":"2024-07-14T12:37:11","modified_gmt":"2024-07-14T07:07:11","slug":"firewall-error-0x8007045b-0x8007042c","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/firewall-error-0x8007045b-0x8007042c\/","title":{"rendered":"How to Fix Windows Firewall Errors 0x8007045b and 0x8007042c"},"content":{"rendered":"<p>When you attempt to start, stop, or reset the Windows Defender Firewall, the error code 0x8007045b or 0x8007042c may appear:<\/p>\n<pre class=\"err\">Windows could not stop the Windows Firewall service on Local Computer.\n\nThe service did not return an error. This could be an internal Windows error or an internal service error.\n\nIf the problem persists, contact your system administrator.<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75949\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/firewall-error-1-0x8007045b.jpg\" alt=\"firewall error 0x8007045b or 0x8007042c\" width=\"487\" height=\"215\" \/><\/p>\n<p>When you <a href=\"https:\/\/www.winhelponline.com\/blog\/reset-firewall-defaults-restore-rules-advanced-security\/\">reset the firewall<\/a> using the GUI or Netsh command, the following error occurs:<\/p>\n<pre class=\"err\">An error occurred while attempting to contact the Windows Firewall service. Make sure that the service is running and try your request again.\n\nAn unrecoverable Windows Firewall error (0x8007045b) occurred.\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75950\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/firewall-error-2-0x8007045b.jpg\" alt=\"firewall error 0x8007045b or 0x8007042c\" width=\"719\" height=\"285\" \/><\/p>\n<p>The Firewall Control Panel suggests that the Windows Defender Firewall is not using the recommended settings to protect your computer.<\/p>\n<p>When you click &#8220;Use recommended settings&#8221;, the error code 0x8007045b appears.<\/p>\n<pre class=\"err\">Windows Defender Firewall can't change some of your settings. Error code 0x8007045b.<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75951\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/firewall-error-3-0x8007045b.png\" alt=\"firewall error 0x8007045b or 0x8007042c\" width=\"752\" height=\"492\" \/><\/p>\n<p>(or)<\/p>\n<pre class=\"err\">Windows Defender Firewall can't change some of your settings. Error code 0x8007042c.<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75952\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/firewall-error-0x8007042c.jpg\" alt=\"firewall error 0x8007045b or 0x8007042c\" width=\"587\" height=\"397\" \/><\/p>\n<p>Also, error 1068 (hex: 0x8007042c) occurs when starting the Windows Defender Firewall.<\/p>\n<pre class=\"err\">Windows could not start the Windows Defender Firewall service on Local Computer.\n\nError 1068: The dependency service or group failed to start.<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75953\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/defender-firewall-1068.jpg\" alt=\"firewall error 0x8007045b or 1068\" width=\"750\" height=\"338\" \/><\/p>\n<h2>Cause<\/h2>\n<p>0x8007042c (or 1068) is ERROR_SERVICE_DEPENDENCY_FAIL. The <a href=\"https:\/\/www.winhelponline.com\/blog\/fix-base-filtering-engine-service-startup-problems\/\">Base Filtering Engine service<\/a> may be disabled or fail to start.<\/p>\n<p>0x8007045b is ERROR_SHUTDOWN_IN_PROGRESS. This is due to the corruption of the Windows Firewall service registry keys.<\/p>\n<p><em>(The fix for 0x800706D9 should also fix the error codes 0x8007042c and 0x8007045b. Please see <a href=\"https:\/\/www.winhelponline.com\/blog\/windows-firewall-error-0x6d9-no-endpoints\/\">Windows Firewall Error 0x800706D9 &#8220;&#8221;The snap-in failed to load&#8221;<\/a>&#8220;)<\/em><\/p>\n<h2>Resolution<\/h2>\n<p>To fix the Windows Firewall errors 0x8007042c (1068), 0x80070422, 0x8007045b, and 0x80070437, rebuild Windows Defender Firewall, Internet Connection Sharing (ICS), and Base Filtering Service.<\/p>\n<p>Follow these steps:<\/p>\n<ol>\n<li>In the <strong>C:\\<\/strong> drive, create a folder named &#8220;<strong>Registry<\/strong>&#8221; \u2014 i.e., <code>C:\\Registry<\/code>. Do <strong>not<\/strong> use any other folder name.<\/li>\n<li>Download <a href=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/04\/firewall_fix_windows_10.zip\">firewall_fix_windows_10.zip<\/a> or <a href=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/04\/firewall_fix_windows_11.zip\">firewall_fix_windows_11.zip<\/a><\/li>\n<li>Extract the four files from the Zip file to <strong>C:\\Registry<\/strong>.<\/li>\n<li>From the <strong>C:\\Registry<\/strong> folder, right-click &#8220;Run.bat&#8221; and choose &#8220;Run as administrator.&#8221;<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39129\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/04\/firewall-service-registry-hives.png\" alt=\"bfe firewall sharedaccess hives - Firewall Error 0x6D9\" width=\"429\" height=\"178\" \/><br \/>\n<em>(Note: You should see the output, &#8220;The operation completed successfully&#8221; for <strong>each<\/strong> command.)<\/em><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39131\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/04\/firewall-service-fix-output-msg.png\" alt=\"bfe firewall 0x6D9 fix\" width=\"713\" height=\"480\" \/><\/li>\n<li>Restart Windows.<\/li>\n<\/ol>\n<p>That should fix the Windows Defender Firewall service errors.<\/p>\n<hr \/>\n<h3>Related articles<\/h3>\n<p><a href=\"https:\/\/www.winhelponline.com\/blog\/fix-base-filtering-engine-service-startup-problems\/\">How to Fix Base Filtering Engine Service Startup Problems<\/a><\/p>\n<p><a href=\"https:\/\/www.winhelponline.com\/blog\/base-filtering-engine-bfe-error-1083-windows\/\">Fix for Base Filtering Engine (BFE) Service Error 1083<\/a><\/p>\n<p><a href=\"https:\/\/www.winhelponline.com\/blog\/windows-firewall-error-0x6d9-no-endpoints\/\">Windows Firewall Error 0x800706D9 &#8220;The snap-in failed to load&#8221;<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you attempt to start, stop, or reset the Windows Defender Firewall, the error code 0x8007045b or 0x8007042c may appear: Windows could not stop the Windows Firewall service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. If the problem persists, contact &#8230; <a title=\"How to Fix Windows Firewall Errors 0x8007045b and 0x8007042c\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/firewall-error-0x8007045b-0x8007042c\/\" aria-label=\"Read more about How to Fix Windows Firewall Errors 0x8007045b and 0x8007042c\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[8,869],"tags":[191,441,669],"class_list":["post-75948","post","type-post","status-publish","format-standard","hentry","category-windows-10","category-windows-11","tag-error-messages","tag-registry","tag-windows-firewall"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":38073,"url":"https:\/\/www.winhelponline.com\/blog\/windows-firewall-error-0x6d9-no-endpoints\/","url_meta":{"origin":75948,"position":0},"title":"Windows Firewall Error 0x800706D9 &#8220;The snap-in failed to load&#8221;","author":"Ramesh","date":"April 12, 2023","format":false,"excerpt":"When you open the Windows Firewall (with Advanced Security) applet, the following error may show up: There was an error opening the Windows Defender Firewall with Advanced Security snap-in The Windows Defender Firewall with Advanced Security snap-in failed to load.\u00a0Restart the Windows Defender Firewall service on the computer that you\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":"windows firewall unsafe settings - reset","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/04\/firewall-error-use-recommended-settings.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/04\/firewall-error-use-recommended-settings.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/04\/firewall-error-use-recommended-settings.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/04\/firewall-error-use-recommended-settings.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4516,"url":"https:\/\/www.winhelponline.com\/blog\/reset-firewall-defaults-restore-rules-advanced-security\/","url_meta":{"origin":75948,"position":1},"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":80528,"url":"https:\/\/www.winhelponline.com\/blog\/windows-update-error-0x800705b4-in-server-2016\/","url_meta":{"origin":75948,"position":2},"title":"Windows Update Error 0x800705B4 in Server 2016","author":"Ramesh","date":"March 20, 2026","format":false,"excerpt":"When you try to install the latest updates on a Windows Server 2016 computer, you may encounter the error code 0x800705B4. The WindowsUpdate.log file, generated using the Get-WindowsUpdateLog PowerShell cmdlet, may contain the following lines: 4496 19980 ComApi ISusInternal:: DisconnectCall failed, hr=8024000C 1336 21200 DownloadManager BITS job {357215D2-8F21-41D2-B9DE-AABAB9DBC6AD} hit a\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1294,"url":"https:\/\/www.winhelponline.com\/blog\/fix-ics-error-null-80004005-windows-7\/","url_meta":{"origin":75948,"position":3},"title":"Fix Internet Connection Sharing Error Null or 80004005 in Windows 7","author":"Ramesh","date":"December 20, 2013","format":false,"excerpt":"When you try to enable Internet Connection Sharing in your Windows 7 computer via your network connection properties, one of the following errors may occur:An error occurred when enabling internet connection sharing. (null)-or-Cannot enable shared access.Error 0x80004005: Unspecified errorTo resolve the problem, make sure that the following services are started\u2026","rel":"","context":"In &quot;Windows 7&quot;","block_context":{"text":"Windows 7","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-7\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/archived2\/w7-ics-err-5.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":75564,"url":"https:\/\/www.winhelponline.com\/blog\/how-to-fix-error-0x80073d0a-in-microsoft-store\/","url_meta":{"origin":75948,"position":4},"title":"How to Fix Error 0x80073D0A in Microsoft Store","author":"Ramesh","date":"June 16, 2024","format":false,"excerpt":"When you install apps in the Microsoft Store, the error code 0x80073D0A may appear. App installation failed with error message: error 0x80073D0A: Failed to install package\u00a0<package name> because the firewall service is not running. Ensure that the firewall service is enabled and started. (0x80073d0a) ERROR_INSTALL_FIREWALL_ SERVICE_NOT_RUNNING 0x80073D0A The package couldn't\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":"store error 0x80073d0a - firewall service disabled 0x80070422","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/06\/0x80070422-firewall-service.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/06\/0x80070422-firewall-service.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/06\/0x80070422-firewall-service.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/06\/0x80070422-firewall-service.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1430,"url":"https:\/\/www.winhelponline.com\/blog\/fix-base-filtering-engine-service-startup-problems\/","url_meta":{"origin":75948,"position":5},"title":"How to Fix Base Filtering Engine Service Startup Problems","author":"Ramesh","date":"January 14, 2016","format":false,"excerpt":"The Base Filtering Engine (BFE) service is a crucial network component targeted by malware. If the BFE service doesn't start, many services, such as Windows Firewall, Routing, Remote Access, and others, fail to start. If the BFE service is missing from the Services MMC or the Action Center warns you\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"BFE service permissions fix - Services MMC","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/01\/bfe-permissions-10.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/75948","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=75948"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/75948\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=75948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=75948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=75948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}