Post by THi All,
From the command line, is there a was to tell if I am
running Home or Pro?
Many thanks,
-T
My latest:
batch: Home or Pro?
Reference:
https://serverfault.com/questions/132963/windows-redirect-stdout-and-stderror-to-nothing
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
"ProductName"="Windows 10 Pro"
Post by Treg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v
ProductName
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
ProductName REG_SZ Windows 10 Pro
ProductName REG_SZ Windows 7 Professional
Post by Treg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v
ProductName
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
ProductName REG_SZ Windows 10 Home
Host Name: DESKTOP-E17O2NL
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19041 N/A Build 19041
Host Name: NEWSERVER
OS Name: Microsoft Windows 10 Home
OS Version: 10.0.18362 N/A Build 18362
Pro:
where msg.exe
C:\Windows\System32\msg.exe
where bozo.exe
INFO: Could not find files for the given pattern(s).
INFO: Could not find files for the given pattern(s).
INFO: Could not find files for the given pattern(s).
For Release and build:
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v BuildLabEx
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
BuildLabEx REG_SZ 19041.1.amd64fre.vb_release.191206-1406
BuildLabEx REG_SZ 7601.18247.amd64fre.win7sp1_gdr.130828-1532
Seems now that this is the only way to get it:
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ReleaseID
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
ReleaseID REG_SZ 2004
<no equivalent in Windows 7>