[VBScript] Microsoft Windows 10 Operating System ID Script

Discussion in 'Scripting' started by 38956, Jan 20, 2018.

  1. 38956

    38956 MDL Member

    Jun 7, 2010
    128
    131
    10
    #1 38956, Jan 20, 2018
    Last edited: Jan 23, 2018
    Microsoft Windows 10 Operating System ID Script

    This VBScript will retrieve information about the Windows 10 Operating System (via WMI) so you can ID which release/version you have.


    The information will echo to screen then saved to a text file in the same directory as this script.​


    [> Requires Windows Version 10 <]
    [> This script has only been tested on Windows 10 1709 Redstone 3 Fall Creators Update <]


    This script uses the following via WMI
    • Win32_OperatingSystem
    • StdRegProv (System Registry Provider)

    [These are only used if sub procedures are enabled]

    SoftwareLicensingService [ Retrieve OA3 information ] > Untested <
    SoftwareLicensingProduct [ Retrieve Partial Product Key and License Channel (RETAIL, OEM-DM ect..) ] # NOTE: SLOWS DOWN SCRIPT
    Win32_ComputerSystem [ Retrieve Computer Identification information ]
    Win32_ComputerSystemProduct [ Retrieve Computer Identification information ]
    Win32_BaseBoard [ Retrieve Computer Identification information ]
    Win32_BIOS [ Retrieve as part of Computer Identification information ]

    To enable Sub Procedures edit the script and replace 0 with 1

    subOA3=0 [ Retrieve OA3 information ]
    subSLP=0 [ Retrieve Software Licensing Product information ] # SLOWS DOWN SCRIPT
    subComputerID=0 [ Retrieve Computer Identification information ]


    Download Link(s)

    • 18.01 #03A
      • Zippyshare : File Type: VBScript || File name: MSWin10OS-ID [18.01 #03A].vbs
        SHA-256: E3E67E1B8EE4E20AA5FB83CC441AEEDA580FC3CBAF3796A58EA5AB623981B36F
    • 18.01 #00A
      • datafilehost: [VBS: VBScript File]: MSWin10OS-ID [18.01 #00A].vbs
        SHA-256: 1841DD6A50467BBCD645226029439F291F1881D314D1BD76D68883F4DA91108E
     
  2. 38956

    38956 MDL Member

    Jun 7, 2010
    128
    131
    10
    18.01 #03A
    The information retrieved will echo to screen then saved to a text file in the same directory as this script.

    Note: Editing the script and replacing the "WorkingDir" with "Desktop" or "DesktopCU" will save the text file to the current users desktop.

    oFolderPath = "WorkingDir
    "
    >>> oFolderPath = "Desktop"
     
  3. blackdeathzc

    blackdeathzc MDL Novice

    Jul 21, 2009
    6
    1
    0
    can you check your link again please. getting empty page after clicking download. only the older script download worked.
    thx for the script
     
  4. 38956

    38956 MDL Member

    Jun 7, 2010
    128
    131
    10
    Thanks for letting me know about the download link not working.

    I've updated the Download link. (Zippyshare)