كل الأدلة
مرجع 4 د· آخر تحديث 2026-10-16

أوامر slmgr الأساسية التي يستخدمها كل مسؤول Windows

مرجع أوامر الترخيص — تثبيت المفاتيح، فحص الحالة، تمديد الفترة التجريبية، وفرض التفعيل.

slmgr.vbs is built into every Windows since Vista and controls the entire licensing layer. Open Command Prompt as Administrator and use these:

CommandWhat it does
slmgr /ipk <key>Install (or replace) the product key
slmgr /atoActivate online now
slmgr /xprShow expiration — confirms permanent activation
slmgr /dliDisplay license info (edition + channel)
slmgr /dlvVerbose license info — everything incl. activation ID
slmgr /upkUninstall the current product key
slmgr /cpkyClear the key from registry (do before reselling a PC)
slmgr /rearmReset the evaluation timer
slui 3GUI: enter a product key
slui 4GUI: phone activation

Typical workflows

Replace a key and activate:

slmgr /upk
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /ato
slmgr /xpr

Check what channel your license is (Retail / OEM / Volume):

slmgr /dli
:: look for "Description: ... VOLUME_MAK channel" or "RETAIL channel"

Pro tip

Before deploying a purchased key, run /dli on a test machine after activation — the Description field confirms you got the license channel you paid for.

افحص مفتاحًا أو اعثر على ترخيصك

أدوات مجانية — بدون حساب.