2022-12-23, 16:35
(2022-12-23, 00:15)bart330 Wrote: Hi
Since the last Windows update I get the following error message:
Warning: This variable has not been assigned a value.
Specifically: OSVersion (a global variable)
Line#
116: if (OSVersion > = 6.2)
For more details, read the documentation for #Warn.
Windows 10 22H2, unfortunately a reinstallation does not bring success.
I had this problem a while back. There were also some other strange issues with my set up. I discovered that an upgrade had corrupted my windows set up, probably due to my power supply being interrupted during the upgrade.
Anyway, I followed the instructions at "https://support.microsoft.com/en-us/windows/reinstall-windows-d8369486-3e33-7d9c-dccc-859e2b022fc7#bkmk_reinstall_windows_10_using_installation_media&WindowsVersion=Windows_10" and took the option to Reinstall Windows 10 using installation media and "Keep Everything".
This solved the problem for me.