Прочитано: 1 510
Предположим, что на сервере стоит операционная система Windows Server 2008 /R2.
Я покажу как узнать серийный номер сервера, для этого мне понадобится утилита wmic:
Сперва запускаем окно командной строки cmd.exe с правами администратора:
1) Нажмите кнопку Пуск
2) Введите в строке поиска cmd
3) Щелкните правой кнопкой мыши ярлык командной строки и выберите пункт Запуск от имени администратора
C:\Documents and Settings\Administrator>wmic
wmic:root\cli>csproduct get IdentifyingNumber,Name
IdentifyingNumber Name
CZC7451NCH ProLiant DL380 G5
Достаточно часто администратору необходимо быстро узнать серийный номер или модель сервера (компьютера). Можно, конечно эту информацию получить, заглянув в серверную стойку или просто под стол, но эта процедура явно не доставит вам удовольствия. Я уже писал ранее о том, как можно узнать серийный номер сервера HP, в данной статье приведу более общую инструкцию.
На серверах/компьютерах под управлением ОС Windows информация о серийном номере, производителе и модели может быть получена из командной строки при помощи вызова функций Windows Management Instrumentation (WMI).
Серийный номер
wmic bios get serialnumber
Производитель
wmic csproduct get vendor
Модель
wmic csproduct get name
В системах семейства Linux, нам поможет утилита dmidecode. Просто наберите указанную команду с привилегиями суперпользователя и вы получите всю информацию о серийном номере и модели сервера:
dmidecode –t system
В системах Linux, основанных на Debian, например, Ubuntu, воспользуйтесь sudo dmidecode –t system
В RPM системах Linux, таких как RedHat или Fedora su dmidecode –t system
Утилита dmidecode по умолчанию доступна в большинстве дистрибутивов Linux, но в случае необходимости ее можно скачать и установить из репозитария.
Updated by
Cici on Jan 23, 2025
Finding your Windows server product key can be a daunting task for most users. Since the product key is embedded in the activation wizard of the software, it becomes difficult to retrieve the product key. However, various ways can help you find your Windows server product key. From third-party software to complex command lines, users get various methods to retrieve the product key. In this article, we will list six different methods that you can use without any external hassle. All the methods listed in the article will work on Windows servers, including Windows server 2022/2019/2016/2012, and more. Follow the article to the end for a detailed guide.
How Do I Find My Windows Server License Key
Workable Solutions | Step-by-step Troubleshooting |
---|---|
Check Server Product Key Box, Email |
If you have purchased a physical copy, the Windows server product key will be on a label…Full steps |
Check Microsoft Account | Log in to the Microsoft store using your official credentials…Full steps |
Use EaseUS Product Key Finder | Launch and run EaseUS Key Finder on the PC, and choose «Product Key» …Full steps |
Run CMD | Open the CMD and run it with administrator rights…Full steps |
Checking Windows Server Product Key Box, Email
One of the easiest methods to find the Windows server product key is searching the box windows came in. If you have purchased a physical copy, the Windows server product key will be on a label on the card inside the product box. This is one of the easiest methods that you can use to find your Windows server product key. However, if you have misplaced your product box, you can search your email for the official mail from Microsoft with Windows server product key details. If you have deleted the mail accidentally, you can check your junk mail folder or try other methods listed in the article below.
Check Microsoft Account or Contact Microsoft Support Team
You can find the Windows server product key from your official Microsoft account, no matter the Windows server. If you have purchased Windows from the Microsoft Store, the server product key will be stored digitally in your Microsoft account. To find the Windows server product key, follow the steps mentioned below:
- Log in to the Microsoft store using your official credentials.
- Under the downloads sections, navigate to the product key and click on Subscription.
- Under the Subscription menu, the server product key will be listed under the Digital Content section.
If you do not see your Windows server product key in your Microsoft account, it is advised that you must contact the Microsoft support team to assist you in finding the sever product key.
Click to Find Windows Server Product Key with EaseUS Product Key Finder
One of the easiest third-party software that allows you to find Windows server product keys is the EaseUS Key Finder. The software allows all Windows servers and Windows users to find product keys in simple clicks.
The EaseUS Key Finder’s interface is simple, and new users can follow the simple steps listed below to find the Windows server product key.
Step 1. Click «Windows» tab under the Registry Key.
Step 2. Check Windows product key on the right side. Click «Copy» to paste. Or select other two options:
«Save» — Save to local as a PDF file.
«Print» — Click to print key file.
Run CMD
If you want to find your Windows server product key, you can also use the command prompt. However, the command prompt will be only available for the OEM license. Before using the CMD method, it is advised that users must know the differences between different types of licenses. Once you are aware of the types of Windows licenses, follow the steps mentioned below.
- Open the CMD and run it with administrator rights.
- Once the tab is opening, copy and paste the command «wmic path softwarelicensingservice get OA3xOriginalProductKey».
- As soon as you enter the command mentioned above, the product key will appear.
Running CMD and typing complex commands can be difficult for most users. However, CMD shows the Windows server product key with specific commands.
Run Powershell Command
Similar to CMD, you can use the Powershell command to find the Windows server product key.
- Open Powershell and type the command listed below to find your server product key.
- powershell «(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey»
- Hit Enter, your Windows Server product key will show up in the PowerShell window.
How to Find Windows 11 Product Key Using CMD
Are you in need of your Windows 11 product key but can’t find it? Learn how to find the Windows 11 product key using CMD in this article. Besides, we will also introduce the best Windows Key Finder to solve your problem.
Use Registry
The final method that you can use to find the Window server product key is the Registry editor. The free solution to finding the product key must be used with precaution to avoid further complications. To use Registry Editor, follow the steps mentioned below:
- Navigate to the Windows icon and right-click on the icon
- Select search option and type regedit
- Once you type, the Registry Editor will open
- Navigate to the path and find the product code value: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
- Double click on the BackupProductKeyDefault to find the server key.
The methods mentioned above to find the Windows server product key can be used for both older and newer versions of Windows. The use of methods will depend upon the user. If none of the methods works for you, it is advised that you must contact the Microsoft support team to find your product key.
Find Windows Server 2019/2016 or Older Server Product Keys
Now that you know the six different methods of finding server keys, you can use the methods to find Windows sever 2019/2016 or even older server product keys.
Windows Server Product Key Box: When you’ll purchase the Windows server 2019/2016, the server product key is listed in the product box and sent to your official mail.
Reaching Out To Microsoft Support Team: One of the easiest methods to find the Windows server 2019/2016 product key. You can also check your Microsoft account for the server product key.
Using EaseUS Product Key Finder: With the help of EaseUS Todo PC Trans Software, you can find your Windows server 2019/2016 product key with one click.
Run CMD: By typing the command mentioned above in CMD, you can easily find your Windows server product key.
Using Powershell: Similar to CMD, you just have to copy the command and paste it in the Powershell window to find your Windows server 2019/2016 product key
Using Registry: You can also use the registry editor to find the Windows server 2019/2016 product key without any hassle.
Conclusion
If you want to find your Windows server product key without investing additional effort and time, you must check your product box or official mail to get the server product key shared by Microsoft.
However, if you cannot locate your server product key on a Microsoft account or mail, you can rely on EaseUS Key Finder. The third-party software is the easiest and straightforward way to find the server product key. While command-line and Powershell require complex commands, you can use the EaseUS Key Finder and find the Windows server product key in one click. However, if you are well-versed with the commands, you can also use Registry Editor and Powershell to find the Windows server product key.
If you are attempting to find out the serial number of manufacturer of a remote server you can do this via command line, using a WMIC (Windows Management Instrumentation Command-Line) cmdlet.
To find the Serial Number – wmic bios get serialnumber
To find the manufacturer – wmic computersystem get manufacturer
To Find the Model – wmic csproduct get name
Server product keys, like most other OS product keys can typically be found on a label affixed to the chassis of the device in question. Occasionally, we may need access to these product keys when physical access to the device is not practical. For example, I recently needed the product key for a server that I was accessing remotely. A quick Google search indicated several methods of obtaining the product key, primarily through a PowerShell command, a PowerShell script, or a command line command. Neither command options worked for me, and I did not really want to jump through hoops enabling PowerShell script execution on the server to run a foreign script of dubious origin. Product keys are often stored in plain text in the registry. A registry search for “productkey” quickly gave me what I was looking for. Open your registry editor (regedit) and navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
Open the BackupProductKeyDefault key and your product key is there in plain text for you to copy and paste. This appears to work for Windows Server 2019 and Windows 10 Professional.
Graphic courtesy of Joshua Woroniecki and PixaBay