Welcome to the Free Computer Help and Technical Support Forum.
Your Ad Here
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Administrator
    Join Date
    May 2007
    Location
    NYC
    Posts
    653

    Default How to Get Serial Number for PC Remotely

    How to get PC Serial Number remotely or via a Command Line

    Here is a very simple script to return model and serial number information for your computer.

    To retrieve serial number of the computer run the following command from command line

    wmic /node:"<computer name>" bios get serialnumber


    To retrieve model name of the computer run the following command from command line

    wmic /node:"<computer name>" csproduct get name


    This code doesn’t return information for all computers, but I’ve found it very usefull where its available.
    Last edited by TECH; 06-23-2011 at 08:24 AM.
    Support Desk Manager / Programmer / Software Developer

    Follow Techie-Gurus on Facebook, http://www.facebook.com/techiegurus

  2. #2
    Administrator
    Join Date
    May 2007
    Location
    NYC
    Posts
    653

    Default Retrieve Serial Number via VB Script

    Open Notepad, copy and paste the below,

    On Error Resume Next
    Dim System
    if Wscript.Arguments.Count >0 then
    sSystem=Wscript.Arguments(0)
    end if
    ComputerName = InputBox("Enter the name of the computer you wish to query")
    winmgmt1 = "winmgmts:{impersonationLevel=impersonate}!//"& ComputerName &""
    Set SNSet = GetObject( winmgmt1 ).InstancesOf ("Win32_BIOS")
    for each SN in SNSet
    MsgBox "The serial number for the specified computer is: " & SN.SerialNumber
    Next
    Support Desk Manager / Programmer / Software Developer

    Follow Techie-Gurus on Facebook, http://www.facebook.com/techiegurus


 

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Back to top
Windows 7 Support || Windows Vista Support || Windows XP Support || Windows Server Support || Blackberry Support || Virus Removal || Malware Removal