How to update version of command processor (cmd.exe)? - windows

How to update version of command processor (cmd.exe)?
I've searched but I can only find stuff about updating Windows from command prompt and nowhere how to update command processor (cmd.exe).

Upgrade to Windows 10.
Versions of CMD are shipped as part of Windows. To update CMD, you must update Windows.
Very occasionally, a change is pushed out to CMD via Windows Update, usually as a security or compatibility patch, but usually the only way to get a new version is to get a new version of Windows.
For example, my version of cmd is:
D:\>cmd /ver
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
Version 6.3.9600 is also the Windows version number for Windows 8.1, which is my OS.

You don't. If Microsoft pushes out an update for CMD.exe then you will
get a new version of it. – Squashman 1 min ago

Related

Running Git-2.38.0-64-bit.exe gives "This program requires Windows service pack 1 or later"

I am trying to install Git-2.38.0-64-bit.exe on my Windows 10 Laptop. It immediately shows the error message "This program requires Windows service pack 1 or later."
I am running Windows 10 v. 21H1 Build 19043.2130. I am running Windows updates all the time, so this should be a quite current version. And I thought service packs were a thing of Windows 7.
So what should I do to be able to install that Git?
Your Windows 10 is officially supported by Git For Windows
Try and:
uncompress the portable archive PortableGit-2.38.0-64-bit.7z.exe in C:\Git
set a simplified path in a CMD:
set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\
set "GH=C:\Git"
set "PATH=%GH%\bin;%GH%\cmd;%GH%\usr\bin;%GH%\mingw64\bin;%GH%\mingw64\libexec\git-core;%PATH%"
Check that Git is working in that CMD session, starting with git version.

'Certificate' Option missing from Windows 10 Enterprise VPN connection properties

When trying to connect to an Azure VPN, I noticed that the 'Certificate' option is missing from my version of Windows 10 when I try to edit the VPN connection properties. The only options listed are 'Username and password', 'Smart card' and 'One-time password'.
How would I go about getting the certificate option added?
Windows version:
Microsoft Windows 10 Enterprise 2015 LTSB
Version 10.0.10240 Build 10240
So it looks like this particular version of Windows 10 doesn't have that option. I got around this by upgrading to the 2016 LTSB version and the Certificate option appeared.
My solution was to download and install the latest Windows updates in my case this was:
Windows 10 version 1809 - Windows 10 May 2019 Update
This espesially important in your in place upgrade or new install was from a local media and you did not select download latest updates during the Windows 10 installation process.

CygWin mintty.exe (x64) ends immediately on WIndows 7 (64)

After some M$ Windows updates Cygwin mintty (desktop shortcut installed by setup-x86_64.exe) starts but ends immediatelly. I tried to install all missing DLL's which can be observed with dependency walker. I installed 2012 and 2008 Microsoft Redistributable packages which were missed on My Windows 7. I installed both builds (x86 and x64). But it didn't help me to get my CygWin back, because as far as I can see from mintty's logs there is a security issue. I've got a log with the only row:
This account is currently not available.
I tried to create passwd file with CygWin's mkpasswd and with this command:
getent passwd %USERNAME%
It didn't help also and I don't have any ideas what to do next.
Now I've got a CygWin installation (Cygwin DLL 2.9.0) with mintty ends immediatelly. I can run Cygwin.bat and use the most of CygWin's functionality, but mintty is more comfortable than M$ Connhost and I want it back.
Something have happened, but today, after an ordinary reboot, mintty begun working.
P.S. It has begun after "Definition Update for Windows Defender - KB915597 (Definition 1.253.822.0)" and ended after "Definition Update for Windows Defender - KB915597 (Definition 1.253.973.0)".

How can I find out whether Win10 was newly installed or upgraded from Win7?

I want to find out whether my windows 10 is newly installed or it is upgraded from win7. Is there any mechanism or any way to find out this problem? If it has a solution please let me know.
Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\Setup
If you see an Upgrade key/folder under this location, then the system
underwent an upgrade from an older version of Windows
To see the old Windows build number, look at the value of
DownlevelBuildNumber. A value of 6.1.7601 means the system upgraded
from Windows 7 (a value of 10.0.##### means it upgraded from some
build of Windows 10)
If the Upgrade key/folder does not exist, then the system has a clean
Windows installation
Well. Its a bit tricky to find out.
You can find the installation date of your Windows 10 using the below command,
systeminfo | find /i "install date"
However, if you had upgraded your Windows from a lower to a higher version, you'll only see the date when the earlier version was installed and not when the latest version was installed or upgraded.
Hope this helps!

Can't install Python 3 on Windows XP

Does Python 3 support Win XP? Because I'm switching from Python 2 to 3, but I cannot install it. I've downloaded Python 3.3.2 Windows x86 MSI Installer, I open it and it says "Preparing to install...", later I select "Install just for me (not available on Vista)", click "Next" and the installer suddenly closes (also if I select "Install for all users"). When closed, a message appears saying "Send report errors? - Don't send". I'm running Windows XP SP 3 32 bits. I have also installed Python 2.7, that's a problem?
Thanks in advance.
I think, the best is to uninstall python 2.7 before and after try again.
I finally solved it by extracting the .msi file with this tool and moving the files manually to C:\Python33.
Thanks.
I use this version: http://www.activestate.com/activepython. It's work.
Looks like the last release supporting Windows XP was
Python 3.4.3 - Feb. 25, 2015
After that you see the note at the end of the download sections for each version
Note that Python 3.5.0 cannot be used on Windows XP or earlier.
https://www.python.org/downloads/windows/

Resources