{"id":6822,"date":"2018-09-10T00:57:00","date_gmt":"2018-09-09T22:57:00","guid":{"rendered":"http:\/\/159.69.82.204\/win\/?p=6822"},"modified":"2023-01-10T10:42:58","modified_gmt":"2023-01-10T09:42:58","slug":"windows-10-error-0x800706f7-the-stub-received-bad-data","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2018\/09\/10\/windows-10-error-0x800706f7-the-stub-received-bad-data\/","title":{"rendered":"Windows 10: Error 0x800706F7 (The stub received bad data)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"float: left; margin: 0px 10px 0px 0px; display: inline;\" src=\"http:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2015\/01\/win102.jpg\" width=\"58\" height=\"58\" align=\"left\" \/>[<a href=\"https:\/\/www.borncity.com\/blog\/?p=208612\" target=\"_blank\" rel=\"noopener\">German<\/a>]Some users of Windows 10 suddenly receiving the error 0x800706F7 when starting programs and\/or the message 'The stub received bad data' is shown.<\/p>\n<p><!--more--><\/p>\n<h2>The error description<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vg07.met.vgwort.de\/na\/12f322a861b240be98d84a1fcea94263\" alt=\"\" width=\"1\" height=\"1\" \/>I confess, I 've never seen error 0x800706F7 on my systems. But I stumbled upon this error a few day ago within the following tweet.<\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"en\">\n<p dir=\"ltr\" lang=\"en\">The stub received bad data. <a href=\"https:\/\/t.co\/xagrWgZvvZ\">pic.twitter.com\/xagrWgZvvZ<\/a><\/p>\n<p>\u2014 Tero Alhonen (@teroalhonen) <a href=\"https:\/\/twitter.com\/teroalhonen\/status\/1035786224143945728?ref_src=twsrc%5Etfw\">September 1, 2018<\/a><\/p><\/blockquote>\n<p><span id=\"preserve94ffe006922f4c22820997f0a3017b2c\" class=\"wlWriterPreserve\"><script src=\"https:\/\/platform.twitter.com\/widgets.js\" async=\"\" charset=\"utf-8\"><\/script><\/span><\/p>\n<p>The error message 'The stub received bad data' was caused by Windows explorer. But this error may occur with other programs. Searching the internet using the error message, reveal a lot hits. The MS Answers forum thread <a href=\"https:\/\/answers.microsoft.com\/en-us\/windows\/forum\/windows_10-performance-winpc\/the-stub-received-bad-data\/f4829753-484e-4cf8-b123-6caf2422d17b\" target=\"_blank\" rel=\"noopener\">here<\/a> has been published in 2015 and has now 10 pages and received nearly 700 user marks 'I have the same question'.<\/p>\n<h2>Some background<\/h2>\n<p>The error code 0x800706F7 (RPC_X_BAD_STUB_DATA) and the text 'The stub received bad data.' isn't that helpful. The error says, that a remote procedure call failed, due to wrong data. An explanation may be found <a href=\"https:\/\/superuser.com\/questions\/1118297\/the-stub-received-bad-data-explanation\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p>Microsoft has already published kb article 975415 <a href=\"https:\/\/support.microsoft.com\/en-us\/help\/975415\/error-message-when-you-pass-a-variant-between-a-com-client-and-a-com-s\" target=\"_blank\" rel=\"noopener\">Error message when you pass a variant between a COM client and a COM server in Windows: \"0x800706F7 (The stub received bad data)\"<\/a> for Windows 7. The kb article refers specifically to an error in the file <em>Oleaut32.dll <\/em>that has been fixed with a hotfix. However, this does not help with Windows 10. In the Microsoft Answers fortum thread <a href=\"https:\/\/answers.microsoft.com\/en-us\/windows\/forum\/windows_10-performance-winpc\/the-stub-received-bad-data\/f4829753-484e-4cf8-b123-6caf2422d17b\" target=\"_blank\" rel=\"noopener\">here<\/a> from 2015, a user reported that some updates would have fixed the issue. Also in October 2016 such an error was fixed with update KB3193494.<\/p>\n<h2>Steps you can try to repair<\/h2>\n<p>At tenforums.com, <a href=\"https:\/\/web.archive.org\/web\/20161028105403\/http:\/\/www.tenforums.com:80\/general-support\/12590-stub-received-bad-data-what.html\" target=\"_blank\" rel=\"noopener\">this article<\/a> locates the whole thing as an upgrade error from Windows 7 to Windows 10 and provides for a new installation. However, this case is unlikely to occur any more, so it can be neglected.<\/p>\n<h3>Check Windows for corrupted files<\/h3>\n<p>One reason for the error message could be corrupted Windows 10 system files or a corrupted Component Store. It is therefore recommended to check the system using the commands scf \/scannow and dism as a precaution. I described the procedure within the blog post <a href=\"https:\/\/borncity.com\/win\/2016\/07\/08\/check-and-repair-windows-system-files-and-component-store\/\">Check and repair Windows system files and component store<\/a>.<\/p>\n<p>The commands also attempt to repair damaged components. If this fails, you need to re-install Windows. After a successful repair attempt check, whether the error has disappeared.<\/p>\n<h3>Test under a newly created user account<\/h3>\n<p>Broken registry entries could be the cause for the error message. If the error is user-specific, the error should not occur under another user account. I am sceptical whether this will help, but there are <a href=\"https:\/\/answers.microsoft.com\/en-us\/windows\/forum\/windows_10-performance-winpc\/the-stub-received-bad-data\/f4829753-484e-4cf8-b123-6caf2422d17b?page=9\" target=\"_blank\" rel=\"noopener\">indications<\/a> of this cause. So I would try to create a new user account and test if the error is gone.<\/p>\n<p>If the error is fixed, you can save the user files from the broken user account. Then the broken user account could be deleted under another administrator account and re-created again. This resets the user profile with all registration settings. The profile is then created again the next time the user logs on.<\/p>\n<h2>Cause: Too many or stopped services<\/h2>\n<p>Via a post in <a href=\"https:\/\/answers.microsoft.com\/en-us\/windows\/forum\/windows_10-performance-winpc\/the-stub-received-bad-data\/f4829753-484e-4cf8-b123-6caf2422d17b\" target=\"_blank\" rel=\"noopener\">this thread<\/a> I found an interesting cause for the error. Microsoft describes in KB article 2028588 <a href=\"https:\/\/support.microsoft.com\/en-us\/help\/2028588\/error-1783-the-stub-received-bad-data\" target=\"_blank\" rel=\"noopener\">Error 1783: The stub received bad data<\/a> a possible cause:<\/p>\n<blockquote><p>When you open Services.msc you may get the following error:<br \/>\nThe system encountered the following error while reading the list of services on:<\/p>\n<p>Error 1783: The stub received bad data<\/p>\n<p>Accessing Services remotely may yield the same error. You may be able to Start and Stop the services using sc start and sc stop commands.<\/p><\/blockquote>\n<p>The error only applies in a scenario, if <em>Services.msc <\/em>is used. In this case too many running services are the cause. The service buffer is limited to 256 KByte for data. The proposal from Microsoft is:<\/p>\n<ul>\n<li>Uninstall unnecessary software,<\/li>\n<li>and uninstall unnecessary services.<\/li>\n<\/ul>\n<p>The goal is to reduce the number of services &#8211; because I see this as a problem with Windows 10. Microsoft is introducing more and more services there, and every software package also means that it has to set up some services.<\/p>\n<p>I find <a href=\"https:\/\/web.archive.org\/web\/20181020085325\/http:\/\/www.tomshardware.co.uk:80\/forum\/id-3682080\/stub-received-bad-data-windows.html\" target=\"_blank\" rel=\"noopener\">this feedback on Tom's hardware interesting<\/a>. There, a user reports that he receive the message if they have manually stopped or deactivated services such as BITS.<\/p>\n<h2>Other things you can try<\/h2>\n<p>If the steps above don't help, see, if an update of the NVidia graphics driver is successful. But this seems to have only been a problem in 2016 (<a href=\"https:\/\/answers.microsoft.com\/en-us\/windows\/forum\/windows_10-performance-winpc\/error-the-stub-received-bad-data\/1f6ffa6c-3dc6-49b1-b84c-bb4fb0838d99\" target=\"_blank\" rel=\"noopener\">see<\/a>). Also the hotfix mentioned above is not available for Windows 10.<\/p>\n<h3>Make sure that updates are installed<\/h3>\n<p>It already mentioned in the above text: Microsoft may have released updates in the past to correct this error. Therefore you should make sure that all updates (also for graphics cards etc.) are installed. If necessary, download the updates and install them offline.<\/p>\n<h3>Reinstall Windows 10<\/h3>\n<p>If all attempts to repair fail, I think only the reinstallation of Windows 10 is left. If necessary, you can try a repair installation via inplace upgrade. To do this, run <em>setup.exe <\/em>from an installation medium while Windows 10 is running. Then upgrade to the Windows 10 version. This keeps the installed app and programs as well as existing files.<\/p>\n<p><strong>Similar articles::<\/strong><br \/>\n<a href=\"https:\/\/borncity.com\/win\/win10-wiki\/\">Windows 10 Wiki<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2016\/07\/08\/check-and-repair-windows-system-files-and-component-store\/\">Check and repair Windows system files and component store<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2016\/12\/10\/windows-10-file-system-error-1073741819-extended-attributes-are-in-consistent\/\">Windows 10: file system error (-1073741819) \u2013 'extended attributes are inconsistent'<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[German]Some users of Windows 10 suddenly receiving the error 0x800706F7 when starting programs and\/or the message 'The stub received bad data' is shown.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[463,2],"tags":[1606,4,76],"class_list":["post-6822","post","type-post","status-publish","format-standard","hentry","category-issue","category-windows","tag-0x800706f7","tag-error","tag-windows-10"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/6822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=6822"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/6822\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=6822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=6822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=6822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}