Find Windows 10 Version Number  

Page 3 of 3 FirstFirst 123

  1. Posts : 14,020
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #20

    One more thing, just today as a test I copied that .bat file to a USB Thumb drive, it ran from that drive, didn't have to reside on the boot drive.
      My Computers


  2. Posts : 16,949
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #21

    Try3 said:
    If you want to obtain OS Edition, Type [x64/x86], Version, Build using a batch file then you could use this one -
    I've updated the batch file to cope with changes brought about by Version 20H2. The revised batch file is in
    ReportOSVersion.bat post - TenForums

    I use this batch file to set variables for use by other scripts [I use this batch file as a subroutine].

    It still produces the same data.
    Find Windows 10 Version Number-screenshot-13-.png

    Denis
      My Computer


  3. Posts : 128
    Win10
       #22

    Unfortunately the batch script does not work for detecting the info INSIDE an ISO

    Any extension available to cope with this case too?
      My Computer


  4. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #23

    Does this provide the required information ?

    Copy & Paste the following command into a CMD Prompt and press Enter.

    Code:
    
    @echo off & echo. & for /f "usebackq delims=" %i in (`ver`) do (echo  %i:) & echo. & PowerShell Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' ^| Format-List ^
         @{L=' Current Major Version Number';E={;if([string]::IsNullOrWhiteSpace($_.CurrentMajorVersionNumber)) {'N/A'} else {$_.CurrentMajorVersionNumber}}}, ^
         @{L=' Current Minor Version Number';E={;if([string]::IsNullOrWhiteSpace($_.CurrentMinorVersionNumber)) {'N/A'} else {$_.CurrentMinorVersionNumber}}}, ^
         @{L=' Current Build'               ;E={;if([string]::IsNullOrWhiteSpace($_.CurrentBuild))              {'N/A'} else {$_.CurrentBuild}}}, ^
         @{L=' Current Build Number'        ;E={;if([string]::IsNullOrWhiteSpace($_.CurrentBuildNumber))        {'N/A'} else {$_.CurrentBuildNumber}}}, ^
         @{L=' UBR [Update Build Revision]' ;E={;if([string]::IsNullOrWhiteSpace($_.UBR))                       {'N/A'} else {$_.UBR}}}, ^
         @{L=' Base Build Revision Number'  ;E={;if([string]::IsNullOrWhiteSpace($_.BaseBuildRevisionNumber))   {'N/A'} else {$_.BaseBuildRevisionNumber}}}, ^
         @{L=' Build Branch'                ;E={;if([string]::IsNullOrWhiteSpace($_.BuildBranch))               {'N/A'} else {$_.BuildBranch}}}, ^
         @{L=' Build Lab'                   ;E={;if([string]::IsNullOrWhiteSpace($_.BuildLab))                  {'N/A'} else {$_.BuildLab}}}, ^
         @{L=' Build Lab Version [Extended]';E={;if([string]::IsNullOrWhiteSpace($_.BuildLabEx))                {'N/A'} else {$_.BuildLabEx}}}, ^
         @{L=' Build GUID'                  ;E={;if([string]::IsNullOrWhiteSpace($_.BuildGUID))                 {'N/A'} else {$_.BuildGUID}}} ^| ^
    Out-String -Width 1000 -Stream ^| Where {$_.Trim().Length -gt 0} & echo. & pause & Exit
    
    
    

    I hope this helps.
      My Computer


  5. Posts : 16,949
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #24

    pstein said:
    Unfortunately the batch script does not work for detecting the info INSIDE an ISO
    It is not designed to do so.
    It makes no claim to be able to do anything other than what I explained that it could do.

    pstein said:
    Any extension available to cope with this case too?
    It's not an extension, it's a completely different method. Well, several methods.
    Consolidated post - Get Version of ISO, USB, disk, networked computer - post #10 - TenForums

    I had already said all this in a post in your own thread. Yesterday.

    Denis
      My Computer


 

Tutorial Categories

Find Windows 10 Version Number Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:30.
Find Us




Windows 10 Forums