- Windows help & learning
- What’s new in Windows 10?
- Explore Windows
- How to find computer serial number
- Author:
- COMMUNITY SOLUTIONS CONTENT DISCLAIMER
- SUMMARY
- Resetting computer accounts in Windows
- Summary
- More Information
- Netdom.exe
- Nltest.exe
- Active Directory Users and Computers (DSA)
- Microsoft Visual Basic script
- Sample 1
- Sample 2
- How to find your PC’s model number on Windows 10
- How to check PC model with System Information
- How to check PC model with PowerShell
- How to check PC model with Command Prompt
- More Windows 10 resources
- The Dell XPS 15 is our choice for best 15-inch laptop
- Halo: MCC’s live service elements make it better, not worse
- Microsoft’s Surface Duo is not ‘failing up’
- These are the best PC sticks when you’re on the move
Windows help & learning
What’s new in Windows 10?
Find out what’s been added to recent Windows updates and learn how to get the Windows 10 October 2020 Update.
Explore Windows
Find out how to use Windows Update to keep your PC up to date, on your terms.
Learn how to free up drive space on your PC.
We have some suggestions to help make your Windows 10 PC run better.
Windows Security provides the latest antivirus protection for your PC, and we’ll show you how to use it.
Get the best display on your monitor
Windows looks at your monitor and determines the best display settings.
Learn how to update Windows 8 to Windows 8.1, if you can’t upgrade to Windows 10.
Find PC settings
Install devices, personalize your PC, and choose how Windows is configured in Settings.
Make your PC easier to use
Change accessibility settings to make your PC look, sound, and react the way you prefer.
Windows 7 support ended
Support for Windows 7 ended on January 14, 2020. Get the details and learn what it means for you.
Get ready for the big move
Moving to a Windows 10 PC? We’re happy to hear it and we’ve got the info you need to make a smooth transition.
Take your files with you
Learn how to move files off a Windows 7 PC with an external storage device.
How to find computer serial number
Author:
Yuval Sinay MVP
COMMUNITY SOLUTIONS CONTENT DISCLAIMER
MICROSOFT CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION AND RELATED GRAPHICS ARE PROVIDED «AS IS» WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE AND NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO EVENT SHALL MICROSOFT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY TO USE THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF MICROSOFT OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.
SUMMARY
The following article will help you to find the computer serial number
Please use one the method bellow to retrieve the computer serial number:
1. Using the buid in » wmic» command:
» wmic bios get serialnumber«
Tip: You can use the command » wmic csproduct get name» to retrieve the local computer model.
Resetting computer accounts in Windows
Summary
For each Windows 2000 or Windows XP workstation or server that is a member of a domain, there is a discrete communication channel, known as the security channel, with a domain controller.
The security channel’s password is stored along with the computer account on all domain controllers. For Windows 2000 or Windows XP, the default computer account password change period is every 30 days. If, for some reason, the computer account’s password and the LSA secret are not synchronized, the Netlogon service logs one or both of the following error messages:
NETLOGON Event ID 5723:
The session setup from the computer DOMAINMEMBER failed to authenticate. The name of the account referenced in the security database is DOMAINMEMBER$.
The following error occurred:
Access is denied.
NETLOGON Event ID 3210:
Failed to authenticate with \\DOMAINDC, a Windows NT domain controller for domain DOMAIN.
The Netlogon service on the domain controller logs the following error message when the password is not synchronized:
NETLOGON Event ID 5722:
The session setup from the computer ComputerName failed to authenticate. The name of the account referenced in the security database is AccountName$.
The following error occurred:
Access is denied.
This article describes four ways of resetting computer accounts in Windows 2000 or Windows XP. These methods are as follows:
Using the Netdom.exe command-line tool
Using the Nltest.exe command-line tool
Note The Netdom.exe and Nltest.exe tools are located on the Windows Server CD-ROM in the Support\Tools folder. To install these tools, run Setup.exe or extract the files from the Support.cab file.
Using the Active Directory Users and Computers Microsoft Management Console (MMC)
Using a Microsoft Visual Basic script
These tools allow for remote and non-remote administration. Netdom.exe and Nltest.exe are command-line tools that reset a successfully established security channel. You cannot use these tools when the security channel is broken, and communication is not working correctly.
More Information
Netdom.exe
For each member, there is a discrete communication channel (the security channel) with a domain controller. The security channel is used by the Netlogon service on the member and on the domain controller to communicate. Netdom makes it possible to reset the security channel of the member. You can reset the member security channel by using the following command:
netdom reset ‘machinename’ /domain:’domainname
where ‘machinename’ = the local computer name and ‘domainname’ = the domain where the computer/machine account is stored.
Suppose you have a domain member named DOMAINMEMBER in a domain called MYDOMAIN. You can reset the member security channel by using the following command:
netdom reset domainmember /domain:mydomain
You can run this command on the member DOMAINMEMBER or on any other member or domain controller of the domain, provided that you are logged on with an account that has administrator access to DOMAINMEMBER.
Nltest.exe
Nltest.exe can be used to test the trust relationship between a computer running Windows 2000 or Windows XP that is a member of a domain and a domain controller on which its machine account resides.
Usage: nltest [/OPTIONS]
/SC_QUERY: DomainName — Query security channel for domain on ServerName
/SC_VERIFY: DomainName — Verifies the security channel in the specified domain for a local or remote workstation, server, or domain controller.
Flags: 30 HAS_IP HAS_TIMESERV
Trusted DC Name \\server.windows2000.com
Trusted DC Connection Status Status = 0 0x0 NERR_Success
The command completed successfully
Active Directory Users and Computers (DSA)
With Windows 2000 or Windows XP, you can also reset the machine account from within the graphical user interface (GUI). In the Active Directory Users and Computers MMC (DSA), you can right-click the computer object in the Computers or appropriate container and then click Reset Account. This resets the machine account. Resetting the password for domain controllers using this method is not allowed. Resetting a computer account breaks that computer’s connection to the domain and requires it to rejoin the domain.
Note This will prevent an established computer from connecting to the domain and should only be used for a computer that has just been rebuilt.
Microsoft Visual Basic script
You can use a script to reset the machine account. You need to connect to the computer account using the IADsUser interface. You can then use the SetPassword method to set the password to an initial value. The initial password of a computer is always «computername$».
The following sample scripts may not work in all environments and should be tested before implementation. The first example is for Windows NT 4.0 computer accounts and the second is for Windows 2000 or Windows XP computer accounts.
Sample 1
Sample 2
For more information about how to determine whether the date and the time of event 5722 match the decoded date and time, click the following article numbers to view the articles in the Microsoft Knowledge Base:
175024 Resetting Domain Member Secure Channel
810977 Event ID 5722 is logged on your Windows 2000 Server-based domain controller
How to find your PC’s model number on Windows 10
Source: Windows Central
On Windows 10, knowing the model number of your computer can be useful in many scenarios. For instance, when you have to upgrade a component (such as memory, hard drive, display, and power supply), the model number can simplify the search to obtain a compatible replacement. If you have to troubleshoot a problem, and you need to contact technical support. Or it can also come in handy to properly inventory the device.
Although a lot of manufactures usually affix a sticker and provide tools to find this information on your laptop or desktop, Windows 10 includes at least three ways to find the model number as well as serial number (also known as «service tag») of your computer using System Information, PowerShell, and Command Prompt.
In this Windows 10 guide, we will walk you through the steps to find out the model number of your device, whether it’s from Dell, HP, Acer, Lenovo, or from another brand.
How to check PC model with System Information
To find the computer model number with System Information, use these steps:
- Open Start.
- Search for System Information and click the top result to open the app.
- Click on System Summary.
Confirm the model number of your device under the «System Model» field.
Source: Windows Central
Once you complete the steps, you will have a clear understanding of the device model you use.
How to check PC model with PowerShell
To determine your laptop or desktop model number with PowerShell, use these steps:
- Open Start.
- Search for PowerShell and click the top result to open the console.
Type the following command to check the device model and the serial number and press Enter:
Get-CimInstance -ClassName Win32_ComputerSystem
Source: Windows Central
(Optional) Type the following command to check the model and serial number and press Enter:
Get-CimInstance -ClassName Win32_bios
Source: Windows Central
After you complete the steps, the PowerShell commands will reveal the model number and the device’s serial number.
How to check PC model with Command Prompt
To figure out your computer model number with Command Prompt, use these steps:
- Open Start.
- Search for Command Prompt and click the top result to open the console.
Type the following command to get the desktop or laptop model and press Enter:
wmic csproduct get name
Source: Windows Central
(Optional) Type the following command to view the model and serial number and press Enter:
wmic csproduct get name, identifyingnumber
Source: Windows Central
Once you complete the steps, the commands will display the model number and the serial number of your desktop, laptop, or tablet running Windows 10.
We are focusing these instructions on Windows 10, but you can also use these steps on Windows 8.1. On Windows 7, only the System Information and Command Prompts steps will work.
More Windows 10 resources
For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:
The Dell XPS 15 is our choice for best 15-inch laptop
For a lot of people, a 15-inch laptop is a perfect size that offers enough screen for multitasking, and in a lot of cases, some extra performance from powerful hardware. We’ve rounded up the best of the best at this size.
Halo: MCC’s live service elements make it better, not worse
Halo: The Master Chief Collection is more popular than ever, but some fans don’t agree with the live service approach 343 Industries has taken with it. Here’s why those elements are, at the end of the day, great for the game and for Halo overall.
Microsoft’s Surface Duo is not ‘failing up’
Microsoft announced this week that it was expanding Surface Duo availability to nine new commercial markets. While Surface Duo is undoubtedly a work in progress, this is not a sign of a disaster. It’s also doesn’t mean that Surface Duo is selling a ton either. Instead, the reason for the expansion is a lot more straightforward.
These are the best PC sticks when you’re on the move
Instant computer — just add a screen. That’s the general idea behind the ultra-portable PC, but it can be hard to know which one you want. Relax, we have you covered!