{"id":10934,"date":"2019-08-30T00:08:00","date_gmt":"2019-08-29T22:08:00","guid":{"rendered":"http:\/\/159.69.82.204\/win\/?p=10934"},"modified":"2021-01-23T01:42:35","modified_gmt":"2021-01-23T00:42:35","slug":"windows-10-v1903-update-kb4512941-workaround-for-the-cortana-high-cpu-load-issue","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2019\/08\/30\/windows-10-v1903-update-kb4512941-workaround-for-the-cortana-high-cpu-load-issue\/","title":{"rendered":"Windows 10 V1903 Update KB4512941: Workaround for the Cortana high CPU load issue"},"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\/2019\/08\/29\/windows-10-v1903-lsung-fr-das-cortana-problem-mit-update-kb4512941\/\" target=\"_blank\" rel=\"noopener noreferrer\">German<\/a>]Since August 21, 2019, Microsoft has been testing the KB4512941 cumulative update for Windows 10 Version 1903 with insiders. However, the update causes a high CPU load on a core on some systems.<\/p>\n<p><!--more--><\/p>\n<h2>Update KB4512941: What's the problem?<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vg08.met.vgwort.de\/na\/0b885d311bcb4d42a9f74f5fb2ede569\" alt=\"\" width=\"1\" height=\"1\" \/>Cumulative update KB4512941 is intended to fix some issues in Windows 10, version 1903. Among other things, it is planned that this update will finally fix the issue of the broken sandbox (see my blog post <a href=\"https:\/\/borncity.com\/win\/2019\/05\/28\/windows-10-v1903-update-kb4497936-breaks-sandbox\/\">Windows 10 V1903: Update KB4497936 breaks Sandbox<\/a>).<\/p>\n<p>Microsoft is currently testing this update with Windows insiders only &#8211; the first version was released on August 21, 2019. Users who installed the update reported that the search did not work anymore. In addition, Cortana causes a high load on a CPU kernel for some people. I had also reported about this issue within my blog post <a href=\"https:\/\/borncity.com\/win\/2019\/08\/22\/windows-10-v1903-updates-kb4512941-and-kb4515530\/\">Windows 10 V1903: Updates KB4512941 and KB4515530<\/a>. Within this blog post I sketched a workaround (a .reg file to enable Bing search and disable Cortana) that has reduced some people's core load.<\/p>\n<h2>Cause found: Scripts and Cortana Cache<\/h2>\n<p>German blog reader Werner B. contacted me 2 days ago by mail and gave me some interesting hints (thanks for that). Werner wrote:<\/p>\n<blockquote><p>I am a reader of the Windows blog and would like to share some information about a workaround to 100% Cortana CPU load on Windows 1903 KB4512941.<\/p><\/blockquote>\n<p>Werner refers to my above mentioned blog post <a href=\"https:\/\/borncity.com\/win\/2019\/08\/22\/windows-10-v1903-updates-kb4512941-and-kb4515530\/\">Windows 10 V1903: Updates KB4512941 and KB4515530<\/a> where I discussed the high CPU load. During his research, Werner came across a <a href=\"https:\/\/www.tenforums.com\/windows-10-news\/139263-cumulative-update-kb4512941-windows-10-v1903-build-18362-327-aug-26-a-4.html#post1703784\" target=\"_blank\" rel=\"noopener noreferrer\">post in the Tenforum<\/a> that picks up the problem or the cause for the high CPU load. There it says:<\/p>\n<blockquote><p>Kek. I found what causing problem to Cortana by myself.<br \/>\nThe problem is somewhere inside<\/p>\n<p>c:\\Windows\\SystemApps\\Microsoft.Windows.Cortana_cw5n1h2txyewy\\cache\\<\/p>\n<p>Some scripts cause loop and Cortana is stuck on initialization as I see through Proccess Monitor logs.<\/p><\/blockquote>\n<p>The issue seems to be connected to the cache folder used by Cortana, which causes the high cpu load.<\/p>\n<h2>Another workaround<\/h2>\n<p>With the above knowledge one could now simply say: Ok, I clear the cache and it's fixed. Unfortunately this won't help, because the cache will not be rebuilt if it is deleted or a new cache is created. But there is a workaround that the user has outlined in his comment:<\/p>\n<blockquote><p>Inserting the folder from prev.version works fine insead of black search window<\/p>\n<p>Btw, looking of meaning \"cache\", the folder is not recreated \/ regenerated by itself after delete<\/p>\n<p>Folder saved from backup of 362.295 build (as I remember): cache.rar &#8211; Google Drive<\/p><\/blockquote>\n<p>German blog reader Werner confirmed to me that this workaround had helped him:<\/p>\n<blockquote><p>In a local fresh test installation of 1903 in VMWare the CPU load goes to 100% after installation of KB4512941.<\/p>\n<p>If the cache folder is backed up before installing KB4512941 and the folders are copied back after the update, the CPU load of Cortana (immediately without reboot) goes to 0%.<\/p><\/blockquote>\n<p>Werner suggests the following steps to fix the high CPU load issue with update KB4512941:<\/p>\n<p>1. Before installing the KB4512941 update, back up the following cache folder to a local directory (e.g. D:\\Backup):<br \/>\nc:\\Windows\\SystemApps\\Microsoft.Windows.Cortana_cw5n1h2txyewy\\cache<\/p>\n<p>2. Then install the cumulative update KB4512941 and the SSU.<\/p>\n<p>3. After the update installation, open the cmd.exe command prompt by <em>Run as administrator<\/em> and execute the following command.<\/p>\n<p>cd c:\\Windows\\SystemApps\\Microsoft.Windows.Cortana_cw5n1h2txyewy\\cache<br \/>\nxcopy \/o \/x \/e \/h \/k D:\\backup\\cache\\*<\/p>\n<p>Here I assume that the path to the backed up cache folder is cleanly adjusted with the second command. The xcopy query j\/n\/ must be confirmed with 'a' (for all). Maybe the workaround is helpful for you and Werner asks if someone can confirm the workaround.<\/p>\n<h2>Additional details<\/h2>\n<p>Werner sent me the following additional information in the aftermath of the article.<\/p>\n<blockquote><p>The workaround works with the affected Windows country setting \"de-de\", regardless of whether Cortana \/ Bing search was activated or deactivated by OO Shutup10.<\/p><\/blockquote>\n<blockquote><p>A limitation of the manual overwriting of files in 'SystemApps' is that \"sfc \/scannow\" detects and resets the change, whereupon the Cortana bug with high CPU load occurs again.<\/p><\/blockquote>\n<blockquote><p>The cache files of Cortana themselves should not be the sole cause of the error. There is no high CPU load at build 18362.327 if the KB4512941 is directly integrated into an April ISO with 18362.30 using DSIM.<\/p>\n<p>A new installation with such an ISO works without problems. One of the benefits of build 18362.327 is that programs compiled with VisualBasic 6 will work again.<\/p><\/blockquote>\n<p>Then there was a hint from Werner about installations where the 'cache' folder workaround is active:<\/p>\n<blockquote><p>Installing install.wim from an ISO with integrated KB451294 (which works for new installations) does not fix the cause of the Cortana bug.<br \/>\n( DISM \/Online \/Cleanup-Image \/RestoreHealth \/Source:WIM:D:\\sources\\install.wim \/LimitAccess).<\/p><\/blockquote>\n<blockquote><p>With 'sfc \/scannow', the cache data that works on freshly installed systems, but which have been updated step by step through the monthly updates, will become active again and lead to the Cortana bug..<\/p><\/blockquote>\n<p>Werner concludes: \"There may be a way to bring existing systems up to build 18362.327 without a workaround. Thanks for the addition.<\/p>\n<p><strong>Note:<\/strong> Read also my article <a href=\"https:\/\/borncity.com\/win\/2019\/08\/31\/windows-10-v1903-high-cpu-load-from-cortana-search-broken-blame-august-2019-updates\/\">Windows 10 V1903: High CPU load from Cortana, Search broken, blame August 2019 Updates<\/a> dealing with the final version of this update.<\/p>\n<p><strong>Addendum 2:<\/strong> I've written a brush up with findings reported from my blog readers &#8211; and an addendum from Werner &#8211; at <a href=\"https:\/\/borncity.com\/win\/2019\/09\/03\/windows-10-v1903-ms-investigating-the-search-cortana-issue-09-03-2019\/\" rel=\"bookmark\">Windows 10 V1903: MS investigating the Search\/Cortana issue (09\/03\/2019)<\/a>. There you will find also a confirmation, that Microsoft is investigating the issue and plan a fix in upcoming releases.<\/p>\n<p><strong>Similar issues:<\/strong><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2019\/05\/28\/windows-10-v1903-update-kb4497936-breaks-sandbox\/\">Windows 10 V1903: Update KB4497936 breaks Sandbox<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2019\/08\/22\/windows-10-v1903-updates-kb4512941-and-kb4515530\/\">Windows 10 V1903: Updates KB4512941 and KB4515530<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2019\/08\/30\/windows-10-v1903-update-kb4512941-workaround-for-the-cortana-high-cpu-load-issue\/\">Windows 10 V1903 Update KB4512941: Workaround for the Cortana high CPU load issue<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2019\/08\/31\/windows-10-v1903-high-cpu-load-from-cortana-search-broken-blame-august-2019-updates\/\">Windows 10 V1903: High CPU load from Cortana, Search broken, blame August 2019 Updates<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[German]Since August 21, 2019, Microsoft has been testing the KB4512941 cumulative update for Windows 10 Version 1903 with insiders. However, the update causes a high CPU load on a core on some systems.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[463,22,2],"tags":[330,2080,2088,466,195],"class_list":["post-10934","post","type-post","status-publish","format-standard","hentry","category-issue","category-update","category-windows","tag-cortana","tag-kb4512941","tag-ndows-10-v1903","tag-problem","tag-update"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/10934","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=10934"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/10934\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=10934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=10934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=10934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}