Rearm windows 10 что это

Общие сведения

SLMGR – это сценарий VBS для управления лицензированием программного обеспечения Windows, а команда, запускаемая через консоль, предназначена для локального или удаленного компьютера. Сам сценарий хранится по следующему адресу: %SystemRoot\system32\slmgr\ в файле «slmgr.ini».

С помощью данного средства управления можно вводить и удалять лицензионные ключи, активировать систему, сбросить счетчик активации и выполнять другие действия, которые связаны с лицензированием.

Синтаксис команды slmgr довольно обширный – существует огромное количество комбинаций, которые могут потребоваться в той или иной ситуации. Разберем наиболее часто используемые:

  • slmgr /xpr – команда предназначена для просмотра активации Windows 10, в том числе и даты окончания лицензии, если используется не постоянная;
  • slmgr /dli – просмотр текущей информации о лицензии продукта;
  • slmgr /dlv – данный запрос позволяет узнать намного больше информации о лицензии, чем предыдущие две: номер версии, идентификатор активации, расширенный идентификатор PID и другие параметры;
  • slmgr /rearm – сброс таймеров активации, который позволяет повторно активировать Windows 10, например после истечения 30-дневного пробного периода;
  • slmgr /cpky – удаление ключа из системного реестра операционки, то есть выполнение данной команды не деактивирует Windows, а не позволит получить ключ программам для поиска ключей и различным вредоносным утилитам;
  • slmgr /ato – активация онлайн, которая сможет пригодиться, если со стандартной активацией возникли проблемы;
  • slmgr /ipk 12345-12345-12345-12345-12345 – изменение ключа путем ввода реальной комбинации после запроса «ipk», но важно, чтобы она прописывалась через тире, а после нужна перезагрузка компьютера;
  • slmgr /upk – удаление ключа продукта, то есть деактивация лицензии – новые параметры вступят в силу после перезапуска Windows (отобразится соответствующее уведомление об успешном удалении).

Существуют и другие параметры, предназначенные для корпоративного лицензирования (активация на основе токенов), управления лицензированием для определенных приложений, установленных на компьютер, но они чаще всего используются опытными пользователями. На официальном сайте Microsoft об этом есть более детальная информация, а мы разберем активацию Windows 10 с применением средства SLMGR ниже.

Применение на практике

Чтобы применить активацию SLMGR, потребуется использовать встроенную консоль – «Командную строку». Для просмотра сведений и различной информации о лицензии достаточно запустить ее в обычном режиме. В случае если придется вносить различные изменения на системном уровне, в том числе при выполнении активации продукта, открывать «Командную строку» нужно с расширенными правами.

  1. Запустите консоль от имени администратора. В этом может помочь строка системного поиска – введите соответствующий запрос, затем выберите соответствующий запуск.
    slmgr активация windows 10-01

    Также у нас на сайте есть дополнительные методы запуска консоли с расширенными правами.

    Подробнее: Открытие командной строки в Windows 10

  2. Для активации продукта сначала введите команду slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX, где под символами «X» подразумевается ключ продукта. Чтобы ее выполнить, нажмите клавишу «Enter». Эти действия установят ключ в операционную систему.
  3. slmgr активация windows 10-02

  4. Далее потребуется выполнить еще одну команду, которая непосредственно активирует систему, — slmgr.vbs /ato. По итогу должно появиться системное окно с информацией о выполнении операции.
  5. slmgr активация windows 10-03

  6. После этого перезагрузите компьютер, чтобы настройки были применены. Также в этом случае можно использовать еще одну команду — slmgr.vbs /dli в «Командной строке». Она позволит узнать базовую информацию о лицензии.
  7. slmgr активация windows 10-04

При необходимости можете использовать и другие параметры, чтобы посмотреть текущее состояния активации продукта. Например, slmgr.vbs /dlv – для отображения более подробных сведений.

Наша группа в TelegramПолезные советы и помощь

Установить Windows можно самостоятельно, скачав дистрибутив с официального сайта. Однако через некоторое время после установки на экране у пользователя появится надпись «Активация Windows». Рассказываем, что это означает, как и по какой причине появляется оповещение и можно ли убрать надпись «Активация Windows» с рабочего стола.

По какой причине появляется водяной знак «Активация Windows»

Водяной знак активации Windows — это небольшая надпись или логотип, который появляется на рабочем столе компьютера. Она находится в правом нижнем углу недалеко от системного трея (области уведомлений). Никакого особого функционала надпись не имеет, просто оповещает о том, что версию операционной системы нужно активировать. Давайте разберемся, по каким причинам он может появляться на компьютере пользователя:

  1. Неактивированная копия Windows. Когда вы устанавливаете Windows на свой компьютер, вам необходимо активировать ее с помощью лицензионного ключа или цифровой лицензии. Иногда это происходит автоматически, если система считывает ключ из UEFI. Если вы не активируете Windows или используете неправильный ключ, операционная система будет считаться нелицензионной, и на рабочем столе появится водяной знак активации.
  2. Истекший срок пробного периода. Windows предлагает пробный период, в течение которого вы можете использовать систему без активации. Однако после истечения этого периода, если вы не активируете Windows, на рабочем столе появится водяной знак, напоминающий, что пора приобрести программный продукт.
  3. Пиратская копия Windows. Некоторые пользователи могут использовать пиратские копии Windows, чтобы избежать покупки лицензии. Такие копии похожи на оригинал и долгое время могут не выводить сообщение о лицензии. Однако Microsoft активно борется с пиратством и вводит меры защиты, чтобы обнаружить и заблокировать нелицензионные копии. Если ваша копия Windows является пиратской и оказалась заблокирована, водяной знак активации будет виден на рабочем столе.
  4. Проблемы с активацией. Иногда при попытке активировать Windows могут возникнуть технические проблемы или ошибки. Когда активация не проходит успешно или «слетает» по какой-то причине, на рабочем столе появляется водяной знак. Подобное может произойти, если вы внесли серьезные изменения в «начинку» своего компьютера или по причине системной ошибки.

В зависимости от того, по какой причине появилась надпись «Активация Windows», нужно искать метод как ее отключить. Некоторые пользователи вообще не задумываются об этом, потому что Windows 10 без активации работает бессрочно и не требует никаких особых действий. Небольшие неудобства вроде отсутствия настроек персонализации им не мешают. Можно ли использовать ОС без оплаты — вопрос юридический и этический. Каждый человек сам для себя его решает.


Важно! Помните, что ОС Windows является коммерческой платной операционной системой. Попытка использовать различные активаторы и другое ПО, предлагающее бесплатную активацию, это пиратство.

Как избавиться от надписи «Активация Windows» — все легальные методы

Некоторые пользователи не обращают внимания на оповещение об активации. Других же оно нервирует, поэтому они хотят от него избавится. Приведем несколько способов, как убрать надпись «Активация Windows» или решить проблему иным способом.

Кардинальное решение — смените операционную систему

Обычному пользователю сегодня нет большой разницы, какая ОС стоит у него на компьютере. Переход на Linux возможен практически для всех. Исключение — люди, которые используют специализированное программное обеспечение, для которого нет версии под дистрибутивы Linux. В основном это игры и нишевые продукты.

Смена ОС на компьютерах в организации, даже если это маленький бизнес, заодно защитит вас от возможных штрафов. Лицензионное соглашение Windows довольно запутанное, даже если операционная система у вас работает, это не гарантия, что вы можете использовать ее в организации. Популярные дистрибутивы Linux распространяются свободно и не требуют ни платы за лицензию, ни активации.

Правильное решение — активируйте Windows

Появление надписи возможно, если у вас был триальный период или если активация слетела. В первом случае требуется покупка лицензии, во втором — ее восстановление. Прежде всего проверьте статус лицензии. Для этого откройте в параметрах компьютера раздел «Обновления и безопасность» и там — вкладку «Активация».

На вкладке активации в верхней части экрана будет информация о системе. У нее может быть несколько состояний:

  • система активирована. Активация могла быть проведена с помощью цифровой лицензии или специального ключа продукта. Если использовалась цифровая лицензия, об этом стоит пометка;
  • система активирована и привязана к учетной записи Microsoft. Привязка к учетной записи важна, так как позволяет повторно активировать ОС, если вы серьезно изменили оборудование на компьютере;
  • система не активирована. Если произошел сбой, то информация о нем будет тут же на странице.

Если у вас ошибка активации, необходимо разбираться, что произошло. Возможно, придется обращаться в техподдержку или использовать средство неполадок активации. Если же вы поставили триальную (временную, пробную) версию операционной системы, необходимо приобрести ключ активации.

Скриншот страницы активации, где должны быть данные о Windows

Скриншот страницы активации триальной версии Windows

Ввести ключ можно на этой же странице параметров: просто нажмите на ссылку «Изменить ключ продукта» и добавьте ключ в систему. Если вы не уверены, какой у вас ключ, изучите документы, которые вы получили при покупке своего компьютера. Если у вас есть, например, ключ для Windows 7, он автоматически превращается в ключ для Windows 10.


Совет! Когда восстановите активацию, обязательно разберитесь, как привязать активированную Windows к учетной записи Microsoft и сохраните все данные для входа в личный кабинет. В будущем вы сможете использовать эту учетную запись для восстановления активации и установки Windows на новых компьютерах.

Спорное решение — продление триала операционной системы

В некоторых случаях удалить надпись «Активация Windows» помогает такое решение как продление триала. Для этого используется команда rearm. Всего ее можно использовать четыре раза, она продлевает срок тестового периода. Срок тестового периода зависит от продукта, у некоторых версий Windows он 30 дней, у других 180. Опишем, как применить эту команду.

В первую очередь запустите командную строку от имени администратора. Про командную строку мы подробно писали в отдельной статье, если вы не знаете, что это такое, рекомендуем ознакомиться с этим текстом.

Один из способов запуска командной строки от имени администратора

Один из способов запуска командной строки от имени администратора

В командной строке введите команду slmgr /rearm.

Командная строка с введенной командой

Командная строка с введенной командой

Больше ничего делать не нужно, просто перезапустите компьютер.

Оповещение о необходимости перезагрузить компьютер

>Оповещение о необходимости перезагрузить компьютер

Обратите внимание, что использование команды slmgr /rearm, как правило, нарушает лицензию операционной системы Windows. Если вы хотите применить этот способ в организации, не стоит, при проверке можно получить штрафы. Единственный правильный метод, если вы не хотите платить за ОС, — перейти на Linux.

Условное решение — уберите надпись с помощью редактора реестра

Просто так убрать с экрана надпись «Активация Windows» нельзя, так как у нее нет никаких настроек. Но можно воспользоваться редактором реестра, который позволит скрыть лишний текст с рабочего стола. Однако, несмотря на то, что это — встроенная возможность, вы все равно продолжаете использовать неактивированную копию операционной системы и можете таким образом нарушать лицензионное соглашение.

Для использования этого решения в первую очередь запустите редактор реестра. Для этого используйте сочетание клавиш Win+R, чтобы вызвать окно «Выполнить» и в этом окне напишите команду вызова редактора — regedit. Далее нажмите Enter или кнопку «ОК». При запуске разрешите приложению вносить изменения на вашем устройстве.

Окно выполнения команды с введенной командой вызова редактора

Окно выполнения команды с введенной командой вызова редактора

В левом столбце окна редактора реестра найдите раздел HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Activation.

В правом столбце найдите параметры. Вам нужно изменить следующие строки:

  • Manual выставить на значение 1;
  • NotificationDisabled выставить на 1.

Раздел в реестре с уже выставленными изменениями

Раздел в реестре с уже выставленными изменениями

Далее необходимо сделать так, чтобы система не исправляла внесенные вами изменения обратно. Для этого снова обратите внимание на левую колонку редактора реестра. Там есть папка Activation. Нажмите на нее правой кнопкой мыши. В появившемся меню выберите пункт «Разрешения».

Всплывающее меню рядом с разделом Activation

Всплывающее меню рядом с разделом Activation

После выбора пункта вы увидите всплывающее окно, где есть группы и пользователи. Последовательно выберите пункты «Система» и «TrustedInstaller» и ниже в списке разрешений отметьте галочкой пункт «Запретить». Далее нажмите «Применить» и кнопку «Дополнительно».

Окно разрешений для группы Activation

Окно разрешений для группы Activation

Когда вы нажмете кнопку «Дополнительно», появится еще одно окно. Здесь нужно выбрать пункт «Отключить наследования», а после — пункт «Преобразовать унаследованные разрешения в явные разрешения этого объекта». После этого удалите пункты TrustedInstaller и Система, где в колонке «Тип» указано «Разрешить». Одна такая строка выделена синим на скриншоте выше.

Дополнительные настройки разрешений для группы Activation

Дополнительные настройки разрешений для группы Activation

После проделанных действий останется только нажать везде «ОК» и перезагрузить компьютер. Если вы все сделали верно, то надпись исчезнет и не появится некоторое время. Если вы увидите ее повторно, возможно, система обновилась. Просто повторите действия сначала.

Еще одно решение — скройте фоновые изображения на экране вовсе

В центре специальных возможностей есть настройка, позволяющая скрыть фоновые изображения экрана. Когда их нет, исчезает и надпись. Для применения этой настройки в первую очередь вызовите контрольную панель. Для этого нажмите Win+R и введите в поле надпись control.

Окно запуска с введенной командой

Окно запуска с введенной командой

В контрольной панели найдите раздел «Специальные возможности» и под ним ссылку — «Оптимизация изображения на экране». Нажав на нее, вы увидите окно с настройками.

Панель управления с доступом к разделу оптимизации

Панель управления с доступом к разделу оптимизации

Прокрутите окно вниз, пока не увидите раздел «Удалить фоновые изображения (по возможности)». Установите напротив этой функции флажок. Перезагрузка компьютера не требуется.

Флажок напротив нужного пункта

Флажок напротив нужного пункта

Способов, как скрыть надпись «Активация Windows» довольно много, есть и стороннее программное обеспечение, которое мы не будем рекомендовать из этических соображений. Однако рекомендуем использовать два правильных метода: либо приобрести лицензионный ключ и активировать Windows, чтобы пользоваться легальной операционной системой, либо перейти на свободное ПО и установить на компьютер Linux.

Если вы — владелец бизнеса, то компания «Роксис» предлагает помощь в активации Windows, включая Windows Server разных лет, или в переходе на свободное программное обеспечение. Обращайтесь к нам за услугой ИТ-аудита, и мы подберем для вас оптимальные по бюджету и функциональности решения.

When traditional means of activating Windows aren’t working, you can use the slmgr activate and slmgr rearm command. Using this command you will activate Windows with the Command Prompt.

What is Software Licensing Management Tool (slmgr )

Software Licensing Management Tool (slmgr) is a VBS file in Windows against which you can run slmgr commands to perform advanced Windows activation tasks. Slmgr.vbs is stored in the System32 and SysWOW64 folders. You will use Command Prompt in order to enter the slmgr commands or slmgr switches

Below we will explain some of the slmgr commands slmgr switches or in detail.

Slmgr Commands: Slmgr activate & Slmgr rearm

Slmgr activate Command Example 1  – View Activation, License, and Expiration Date Information

To use this tool, you’ll want to launch a Command Prompt with Administrator access.

  1. Right-click the Start button or press Windows+X.
  2. Click the “Command Prompt (Admin)” option in the menu that appears.
  3. On Windows 7, search the Start menu for “Command Prompt,” right-click it, and select “Run as Administrator.”

Command Prompt

Command Prompt

To display very basic license and activation information about the current system, run the following command. Use this slmgr command to see if Windows is activated. You’ll see a message that says Windows is activated if it is, or be given date if it’s not permanently activated, or see an error if no product key has been provided. Use the following command:

slmgr.vbs /dli

slmgr.vbs dli

slmgr.vbs dli

To display more detailed license information–including the activation ID, installation ID, and other details–run the following command:

slmgr.vbs /dlv

Slmgr activate Command Example 2 – View the License Expiration Date

With this slmgr command, you’ll see part of the product key being used on your computer and an indication of whether the license is active. This is only useful for the Windows system activated from an organization’s KMS server. Retail licenses and multiple activation keys result in a perpetual license that won’t expire. Other details are included here, too, like the KMS machine  IP address, activation renewal interval, and other Key Management Services (KMS) information. If you haven’t provided a product key at all, it’ll give you an error message. Use the following command:

slmgr.vbs /xpr

slmgr.vbs xpr

slmgr.vbs xpr

Slmgr activate Command Example 3 – Delete or Uninstall Windows Product Key

If you installed Windows from a retail license and would like to use that license on another computer, this allows you to remove the license. It could also be useful if you’re giving that computer away to someone else.

Use this slmgr command to remove the product key from Windows Registry. Doing this will not delete the key from your computer or un-activated Windows, but it will prevent key finder programs and malicious tools from being able to retrieve the key.

To remove uninstall the current product key, run the following command, and then restart your computer:

slmgr.vbs /upk

slmgr.vbs upk

Running this command alone won’t uninstall your product key. It’ll remove it from the registry so programs can’t access it from there, but your Windows system will remain licensed unless you run the above command to actually uninstall the product key. This option is really designed to prevent the key from being stolen by malware if malware running on the current system gains access to the registry.

slmgr.vbs /cpky 

slmgr.vbs cpky

slmgr.vbs cpky

Slmgr activate Command Examples 4 – Set or Change the Product Key

You can use slmgr.vbs /ipk command to enter a new product key. If the Windows system already has a product key, using the below command will silently replace the old product key with the one you provide. Microsoft advises you to restart the computer after running this command in order to fully apply the new key. If the key isn’t correct, you’ll see a message that The Software Licensing Service reported that the product key is invalid.

slmgr.vbs /ipk #####-#####-#####-#####-#####

slmgr.vbs ipk

Slmgr activate Command Examples 5 – Activate Windows Online

If you’re using a retail edition of Windows, this slmgr activate command forces Windows to try online activation, which is useful if you attempted normal activation steps (not using Slmgr.vbs) but received a connection problem or similar error. Slmgr activate command will force Windows to attempt online activation with Microsoft’s servers. If the system is set up to use a KMS activation server, it will instead attempt activation with the KMS server on the local network. This command can be useful if Windows didn’t activate due to a connection or server problem and you want to force it to retry:

 slmgr.vbs /ato 

""

Slmgr activate Command Examples 6 – Activate Windows Offline

Slmgr also allows you to perform an offline activation. To get an installation ID for offline activation, run the following command:

slmgr.vbs /dti

You’ll now need to get a confirmation ID you can use to activate the system over the phone. Call the Microsoft Product Activation Center, provide the installation ID you received above, and you’ll be given an activation ID if everything checks out. This allows you to activate Windows systems without Internet connections.

To enter the confirmation ID you’ve received for offline activation, run the following command. Replace “ACTIVATIONID” with the activation ID you’ve received.

slmgr.vbs /atp ACTIVATIONID

Once you’re done, you can use the slmgr.vbs /dli or slmgr.vbs /dlv commands to confirm you’re activated.

This can generally be done from the Activation screen in the Settings app if your PC isn’t activated–you don’t have to use the command if you’d rather use the graphical interface.

slmgr.vbs dti

Slmgr -rearm command

What is slmgr -rearm command?

Slmgr-rarm is a command used to reset or restore the windows system’s activation registry. Windows has a 30 day free trial period for every product, post which users need to activate the product by submitting a license key obtained after the product is purchased. Slmgr rearm command resets this countdown timer to zero and thus the user gets an extension of 30 days for activating the product. Although it may seem that 30 days is a period not enough, the same command can be used upto3 three times to reset the clocks. Hence, you effectively get 90 days of extended lifetime period plus 30 days initial grace period making a total of 120 days! However, after four attempts, the clock can’t be reset using this command alone.

How does slmgr rearm work?

Windows has a Windows Software Licensing Rearm program which is tasked to manage all the activation related data. The slmgr -rearm command simply reactivates the windows evaluation license. Reactivation using this registry can reset the activation timer values to zero resetting the system to its default state as if it is new. Rearming the system, restores it to its initial status, thereby resetting all grace period timers, too. SkipRearm is the original registry entry accessed via using the command slmgr rearm.

How to use slmgr rearm?

Slmgr rearm can be implemented using the following steps:

  • Start a command prompt in administrator mode –
  • Start > All Programs > Accessories
  • Right-click on command-prompt > select ‘Run as administrator’ option
  • Allow user control permission
  • Type ‘slmgr -rearm’ at the command prompt.
  • Wait for a minute until the prompt inquiries to restart the computer.
  • Grant permissions.
  • After the restart, you will have increased the activation grace period by 30 days. This can be verified by checking system properties. OR you can enter ‘slmgr /xpr’ at the command prompt to check the status.
slmgr.vbs /rearm 

slmgr rearm command

slmgr rearm command

Note: You can’t extend the trial indefinitely so this command can be used several times.  The command below can help you understand how many times you can use the extended trial which depends on the “rearm count,”. It seems different on different versions of Windows–it was three times on Windows 7, and it seems to be five times on Windows Server 2008 R2. This no longer seems to work on Windows 10, which is very lenient if you don’t provide it a product key anyway. This option still works on older versions of Windows and may continue to work on other editions of Windows, such as Windows Server, in the future.

 slmgr.vbs /dlv command

Slmgr rearm not working error

Sometimes after entering the slmgr -rearm command, an error is displayed stating that the command is not working. There may be various reasons leading to this error and hence the user should not expect to use one trick and get the issue resolved. Some of the possible reasons are discussed below along with their solutions. If you are familiar with the reason use a specific solution, otherwise use the tricks in the order specified. The order is designed on basis of pure conjecture and is not to be considered arbitrary.

Case 1: Multiple attempts

The simplest reason for all these problems is multiple attempts of the deactivation command. As explained above, this command is subjected to 3 uses; this statistic for windows 7. It is possible that it might facilitate lesser attempts on other versions. In case, the user has used the command to its maximum allotted iterations, windows would definitely prompt the error.

In such a scenario, the following steps would increase your maximum attempt limit:

  • Open registry editor
  • Start > search > Regedit
  • Go to SOFTWARE\ Microsoft\ Windows NT\ Currentversion\ SL

In case the SL folder is not present on your computer, try searching for a folder named ‘Software Protection Platform’.

  • Right-click on the SkipRearm registry and set its value to 1.
  • Restart the system and follow the regular method of entering slmgr -rearm command.

The above-explained command increases the number of attempts to 8. Hence the user avails a registration extension of 240 days. Coupled with the initial 3 attempts (120 days) of slmgr, the user has effectively 360 days of extension in the windows activation.

Case 2: Visual Basic Library missing

Windows Server License Manager Script is a tool based on visual basic library and sometimes the slmgr rearm command may not work due to lack of presence of this library. This is a problem most users need a solution to if the command is not working in the first-ever attempt on a system. The solution to this problem can be implemented by following these steps:

  • Open C drive
  • Go to Windows Folder and then enter the system 32 folder available within.
  • Search for ‘slmgr.vbs’
  • You might get search results such as ‘slmgr.vbs.REMOVEWAT’ or some other extension in place.REMOVEWAT
  • Rename the file by replacing the name with ‘slmgr.vbs’
  • Restart the computer and try entering slmgr -rearm in command prompt again.

Case 3: Altering Command

Some windows version may not recognize the command ‘slmgr -rearm’ and reject it altogether. Check out for the correct input. Sometimes users miss the blank space between slmgr and -rearm while some do not use the hyphen. Also, the command prompt processes slmgr -rearm only if it is running in administrator mode.

If the command is perfect and still windows are displaying an error, try using ‘slmgr /rearm’ instead of the regular command with a hyphen. Remember, there is also a blank space in this command. Generally, Windows 8.1

Conclusion: Slmgr rearm not working

While using slmgr -rearm, the user may not know the exact cause of the error and hence it is advised to use the given solutions for problem diagnosis in descending order i.e. using situation 3 and then situation 2 and finally situation 1. The reason for stating them in the given sequence in the first place is the nature of problems observed. The probability of users attempting multiple executions on the same system is very high and hence the situation is stated first. If you have got a pre-owned system, that is the most relevant cause. Slmgr may or may not work with your system but it definitely has not reported any corruption problems to the system.

  • Home
  • News
  • How to Use Slmgr to Install, Activate, or Extend Windows License

By Nan |
Last Updated

Do you know what Slmgr is and what the purpose of it is? In this guide on MiniTool, we will explore how you can use Slmgr to install, activate, or extend Windows license. Let’s see more details.

The Slmgr command (Software Licensing Management Tool) is a powerful and indispensable utility in Windows that is used to manage the licensing and activation of the operating system. Whether you want to activate Windows, change product keys, or check the activation status, Slmgr provides the tools you need to complete these tasks.

How to Use the Slmgr command in Windows 10/11?

As we mentioned before, Slmgr is a tool related to Windows license management. That way, we can use it to manage Windows activation. Next, we you show you how to use Slmgr to install, activate, or extend Windows license.

Run Command Prompt as an Administrator

First, to access this tool, you need to open Command Prompt and run it as administrator since its location is in the System32 folder. Below are the steps.

Step 1: Type cmd in Windows search box, right-click the result, and choose Run as administrator.

Step 2: When the UAC window appears, click Yes to open the administrator Command Prompt window.

located in the System32 folder

Use the Slmgr Command in Command Prompt

The following is a detailed description of how to use Slmgr in Windows.

1. Check Your Windows License Status

Run the following command and you can see some basic information about your operating system.

Type the slmgr.vbs /dli command into the Command Prompt window and hit Enter. Then it will display the basic Windows license and activation information, your Windows editions, and part of your product key. You can also check if the current system is activated.

run slmgr.vbs /dli

Input the slmgr.vbs /dlv command. You can view more detailed license information such as installation ID, activation ID, extended PID, and other details.

Run the slmgr.vbs /xpr command to view the expiration date of the current license.

Note:

The third command only applies to Windows activated from an organization’s KMS server. Thus, if you have a retail license and multiple activation keys, then you have a permanent license that will not expire. In either case, if you have not provided a product key, you will receive an error message.

2. Install and Uninstall Windows Product Key

If you want to add a new license in Windows, then you have to uninstall your current product key.

Step 1: Use the slmgr /upk command to uninstall the old product key.

Step 2: Then run the slmgr /cpky command to remove the related registry entry.

Step 3: Finally, use the slmgr.vbs /ipk ####### command to activate your system and install your new license with the command given earlier.

Tips:

Replace ####### with the new product key.

Also read: Complete Guide: How to Find Windows 10 Product Key

3. Activate or Deactivate Windows License

Here’s how to activate the Windows system using the Slmgr tool.

Running the slmgr /ato command can activate Windows 11 online and the slmgr /dti one is for offline activation.

Then you need to activate the system by an activation ID. Simply call the Microsoft Product Activation Center and provide the installation ID you received above, and they will provide you with an activation ID. This way, you can run slmgr /atp Activation ID to activate the Windows system without an internet connection.

Typically, online activation is recommended if you face some troubles when activating the operating system from Windows Settings.

You can also run slmgr /upk to deactivate your Windows licese.

4. Extend Windows License

The Slmgr utility can also help you extend your Windows License.

Run the following commands in turn to extend the license.

slmgr -rearm

slmgr -dlv

slmgr -ato

Tips:

If you use Windows 10 or 11, you are not able to use an extended license since they can be used without the product key.

Bottom Line

In this article, we present the details that how to use Slmgr to install, activate, or extend Windows license.

Just in case, you may want to protect your important data. And the best way to that is to back up them. Here we recommend choosing MiniTool ShadowMaker which is a reliable backup software.

About The Author

Position: Columnist

Nan is always interested in writing and exploring new things. Her enthusiasm for writing leads her to become an English editor. She likes to share helpful information about kinds of Android issues with readers and focuses on PC backup and restore. She also loves to read books and watch documentaries in her spare time.

Slmgr Command

Slmgr, which stands for Software Licensing Manager, is a Windows command-line tool used to manage Windows activation and licensing tasks. You can use the slmgr command to check license status, activate Windows, and install or uninstall license keys.

  • Command Options.
  • View Your Windows License Information.
  • Check Your Windows License Expiration Date.
  • Extend the Evaluation Period for Windows.
  • Manually Activate Windows with /ato.
  • Adding and Removing Windows Keys.
  • Managing KMS Activation.

Command Options

/dli Display the information on the current license with activation status.
/dlv Work like /dli but provide more information about the license.
/rearm Extends the trial period of Windows.
/xpr Display the expiration date of the Windows license.
/ato Attempts to activate the Windows using the product key that is currently installed on the system.
/ipk <product_key> Installs a new product key.
/upk Uninstall the product key.
/cpky Removes the product key from the Windows registry.
/skms <ServerName> Specifies the KMS server that your computer will contact for activation.
/skmsport <PortNumber> Specifies the port number that your computer will use to connect to the KMS server. The default port is 1688.
/ckms Removes details of the previously configured KMS Server and sets the port to default.

When you run the slmgr command without any parameters, it displays the command syntax and available options.

Examples

This section provides examples of the slmgr commands. Open a Command Prompt or PowerShell with administrative privileges and then run the commands according to your requirements. Improper use of these commands can lead to licensing problems.

How to View Your Windows License Information

You can use the following command to display the current license information, including activation status and a partial product key:

slmgr /dli

Your Windows license information will be displayed through a dedicated window.

How to View Windows License status using the slmgr command

Windows License status

Enter the following command to display more detailed information about the current license:

slmgr /dlv

How to Use slmgr to Check Windows License Expiration

You can find the expiration date of your current Windows license by entering the following command:

slmgr /xpr

Running the command on my Windows 10 PC resulted in the following message, indicating that Windows is permanently activated.

Windows License Expiration on Windows 10

Windows 10

The expiration date was displayed on a Windows Server 2022 machine using an evaluation license.

Windows License Expiration on Windows Server 2022

Windows Server 2022

Extend the Evaluation Period for Windows

If your Windows trial period ends, you can use the /rearm command to extend the trial:

slmgr /rearm

Normally, the Windows Server trial period lasts 180 days for Standard and Datacenter editions. Rearming it for the first time adds another 180 days. Subsequent rearms add 90 days each, allowing for a total trial period of up to 540 days (this may vary depending on the Windows version).

Extend the Evaluation Period for Windows

Rearm

Manually Activate Windows with /ato

If your product key is not activated, you can run the following command to activate it:

slmgr /ato

Windows usually activates automatically during installation or when a valid product key is entered. However, if activation fails for some reason, you can use the /ato command to manually attempt activation with the current product key.

Adding and Removing Windows License Keys

Use the /ipk option to enter a new product key or update the existing one. In the following example, ABCDEF-12345-ABCDEF-12345-ABCDEF is the product key being entered:

slmgr /ipk ABCDEF-12345-ABCDEF-12345-ABCDEF

To remove a product key, run the following two commands:

slmgr /upk
slmgr /cpky

The first command uninstalls the product key, while the second command clears the registry of any remaining key information.

Managing KMS Activation with slmgr Commands

By default, Windows clients automatically attempt to discover KMS servers on a Windows network. However, using the /skms option overrides this behavior and forces the client to connect to a specific KMS host.

The following example sets the KMS host server to kms.example.local and specifies the port as 1688 (the port number is optional, with 1688 being the default port):

slmgr /skms kms.example.local:1688

To clear the configured KMS server and port settings, enter the following command:

slmgr /ckms

That brings us to the end of this article on using the slmgr command to manage Windows licensing and activation. We’ve covered everything from viewing license information to installing keys using various command options.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Acpi atk0100 driver windows 7
  • Как пользоваться удаленным помощником windows
  • Командная строка windows текущий пользователь
  • Как ускорить оперативную память на ноутбуке windows 10
  • Ошибка 813 при подключении к интернету на windows 10 как исправить