This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Updating old C:/Windows/System32/ucrtbased.dll
Type: behavior Stage: resolved
Components: Build, Documentation, Windows Versions: Python 3.6, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, paul.moore, python-dev, steve.dower, terry.reedy, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2016-08-07 21:02 by terry.reedy, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg272132 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2016-08-07 21:02
This is a continuation of msg269741 from #26624, summarizing how to resolve this message.

 C:\WINDOWS\SYSTEM32\ucrtbased.dll is version 10.0.10240.16384
 WARN: ucrtbased contains known issues. Please update Visual Studio or the Windows SDK.  See: http://bugs.python.org/issue26624

F:\Python\dev\36\PCbuild\python.vcxproj(91,5): warning MSB3073: The command ""F:\Python\dev\36\PCBuild\win32\python_d.exe" "F:\Python\dev\36\PC\validate_ucrtbase.py" ucrtbased" exited with code 1.

Merely updating Visual Studio is not enough.  One must update the Windows SDK either directly or while updating Visual Studio by making sure that the new SDK is requested under Features.

[X] Windows and Web Development
    [X] Universal Windows App Development Tools
        [X] Tools (1.4.1) and Windows 10 SDK (10.0.14393)

(Versions and even the menu may change in the future.)

The best way to update Visual Studio is probably to uninstall it first via  Control Panel / Programs and Features / Microsoft Visual Studio Community 2015 (or whichever version you have).

I did not.  After downloading the current installer
  vs_community__9c4d694197656e43997d069a0ead2003.exe
I just ran without uninstalling.  It automatically installs in the current vs2015 directory,  Instead of a clean install, it updated and ended with the same 'bad hash' message as reported in msg269741.

I then went to Programs and Features and chose 'Repair'.  The first time it failed because it did not like the existing 
  Microsoft Visual C++ 2015 Redistributable (x86 or x64)
files being present.  With those removed, and the SDK feature checked, Repair worked and Python builds without the warning.

The current SDK is not listed as 'Microsoft Windows SDK...' but as
  Windows Software Development Kit - Windows 10.0.14393

Steve: my suggestion is that "Please update Visual Studio or the Windows SDK." be changed to "Please update the Windows SDK, possibly by updating Visual Studio with the Windows SDK feature selected."  Also change the issue number from 26624 to whatever this one gets.
msg275527 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-09-10 01:25
New changeset 7f7a994bbfbc by Steve Dower in branch '3.5':
Issue #27705: Update message in validate_ucrtbase.py
https://hg.python.org/cpython/rev/7f7a994bbfbc

New changeset a791a54c0a1c by Steve Dower in branch 'default':
Issue #27705: Update message in validate_ucrtbase.py
https://hg.python.org/cpython/rev/a791a54c0a1c
msg275528 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2016-09-10 01:27
The message now calls out the Windows 10 SDK specifically, and includes the (current) link to the download.
msg275561 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2016-09-10 04:09
Thanks, looks good to me.
History
Date User Action Args
2022-04-11 14:58:34adminsetgithub: 71892
2016-09-10 04:09:46terry.reedysetstatus: open -> closed
resolution: fixed
messages: + msg275561

stage: needs patch -> resolved
2016-09-10 01:27:46steve.dowersetmessages: + msg275528
2016-09-10 01:25:42python-devsetnosy: + python-dev
messages: + msg275527
2016-08-07 21:02:29terry.reedycreate