On August 17, 2019 Microsoft released a few Windows Security Updates for several versions of Windows. These Windows Updates helped resolve the "Runtime Error 5: Invalid Procedure Call Error" that was introduced by the Windows Update which was released on August 13, 2019. Below is a list of the Windows Updates that were released for each version of Windows.
If you want to verify what version of Windows you are using, please launch the Command Prompt and type in "winver" (without quotes) and this should give you the exact version. To apply the latest Windows Update, please use the "Check for Updates" option on the Settings page of your Windows operating system. You can also use the Microsoft Update Catalog to search for the Windows Update for your version of Windows. The Microsoft Update Catalog can be found here.
Here's the list of Windows Update KB numbers per OS:
|1903||Windows 10, Windows Server version 1903||KB4512941|
|1809||Windows 10, Windows Server 2019||KB4512534|
|1709||Windows 10, Windows Server version 1709||KB4512494|
|1607||Windows 10, Windows Server 2016||KB4512495|
|N/A||Windows 8.1 and Windows Server 2012 R2||KB4517298|
|N/A||Windows Server 2012||KB4517302|
|N/A||Windows 7 and Windows Server 2012 R2 SP1||KB4517297|
|N/A||Windows Server 2008 SP2||KB4517301|