Yuav Paub
- Qhib Command Prompt thiab nkag mus rau qhov xav tau slmgr hais kom ua.
- Xaiv qhov xwm txheej: nkag mus slmgr /xpr. Saib daim ntawv tso cai cov ntaub ntawv: nkag mus slmgr /dlv. Pib dua timers, nkag mus slmgr /rearm.
- Siv hom ntawv zoo sib xws rau lwm cov lus txib.
Kab lus no piav qhia yuav ua li cas nkag mus rau slmgr cov lus txib hauv Windows kom qhib cov haujlwm ua haujlwm siab Windows.
Qhov twg nkag rau Slmgr Commands
Thaum Slmgr.vbs khaws cia hauv System32 thiab SysWOW64 folders, cov lus txib uas cuam tshuam nrog cov ntaub ntawv yuav tsum tau nkag mus rau hauv Command Prompt.
Slmgr Command Piv txwv
Tom qab qhib Command Prompt, nkag mus rau qhov xav tau slmgr hais kom ua zoo li koj pom hauv cov piv txwv no:
Xaiv qhov xwm txheej
slmgr /xpr
Siv cov lus txib slmgr no kom pom tias Windows tau qhib. Koj yuav pom cov lus uas hais tias Windows tau qhib ua haujlwm yog tias nws yog, lossis tau muab hnub yog tias nws tsis tau qhib mus tas li, lossis pom qhov yuam kev yog tias tsis muaj cov khoom lag luam tau muab.
Ib qho kev hais kom ua tsis tu ncua tuaj yeem ua haujlwm rau qee yam ntawm cov haujlwm no tab sis lwm tus-cov uas koom nrog cov ntaub ntawv hloov pauv thiab tsis yog tsuas yog tso tawm nws-yuav tsum tau hais kom nce siab.
Saib daim ntawv tso cai tam sim no
slmgr /dli
Nrog cov lus txib slmgr no, koj yuav pom ib feem ntawm cov khoom tseem ceeb uas tau siv hauv koj lub computer thiab qhia seb daim ntawv tso cai puas siv tau. Lwm cov ntsiab lus muaj nyob ntawm no, ib yam nkaus, xws li KMS tshuab IP chaw nyob, ua kom rov ua dua lub sijhawm, thiab lwm yam Kev Tswj Xyuas Tseem Ceeb (KMS) cov ntaub ntawv.
Saib daim ntawv tso cai nthuav dav
slmgr /dlv
Qhov lus txib no rau slmgr.vbs nthuav tawm ntau cov ntaub ntawv ntau ntxiv txog koj lub computer. Nws pib tawm nrog lub Windows version naj npawb thiab ua raws li tus lej ua kom tiav, txuas ntxiv PID, teeb tsa ID, seem Windows rearm thiab SKU suav, thiab ob peb lwm cov ntsiab lus nyob rau sab saum toj ntawm qhov kev xaiv /dli qhia.
Reset Activation Timers
slmgr /rearm
Cov lus txib nram qab rov pib ua kom lub sijhawm ua haujlwm, uas tseem ceeb cia koj siv Windows yam tsis tas ua kom nws los ntawm kev txuas ntxiv mus. Piv txwv li, yog tias koj siv Windows ntawm 30-hnub mus sib hais, qhov kev txwv ib hlis no tuaj yeem rov qab mus rau qhov pib tom qab nkag mus rau cov lus txib slmgr.
Yuav tsum rov pib dua koj lub computer kom ua tiav cov lus txib no.
Nws muaj kev txwv rau pes tsawg zaus koj tuaj yeem rov qab cov ntaub ntawv ua kom Windows. Tshawb xyuas lub rearm suav nrog /dlv cov lus txib saum toj no kom pom tias muaj pes tsawg lub voj voog sab laug.
Tshem tawm Windows Cov Khoom Tseem Ceeb
slmgr /cpky
Siv cov lus txib slmgr no kom tshem tawm cov khoom lag luam ntawm Windows Registry. Ua li no yuav tsis rho tus yuam sij los ntawm koj lub computer lossis un-activate Windows, tab sis nws yuav tiv thaiv cov khoos phis tawj nrhiav qhov tseem ceeb thiab cov cuab yeej tsis zoo los ntawm kev tuaj yeem rov qab tus yuam sij.
Ua kom Windows Online
slmgr /ato
Qhov lus txib slmgr no yuam Windows sim ua kom online, uas muaj txiaj ntsig yog tias koj sim ua kom cov kauj ruam ib txwm ua (tsis siv Slmgr.vbs) tab sis tau txais cov teeb meem kev sib txuas lossis qhov yuam kev zoo sib xws.
Change Windows Product Key
slmgr /ipk 12345-12345-12345-12345-12345
Hloov lub Windows cov khoom tseem ceeb nrog cov lus txib slmgr no. Hloov cov lej nrog cov khoom tseem ceeb, tab sis nco ntsoov suav nrog cov dashes. Rov pib lub computer kom siv tus yuam sij tshiab tag nrho.
Yog tus yuam sij tsis raug, koj yuav pom cov lus uas Lub Chaw Pabcuam Kev Tso Cai Software tau tshaj tawm tias tus yuam sij khoom siv tsis raug.
Hloov cov khoom lag luam tej thaj chaw deb
slmgr /ipk mattpc Matt P@ssw0rd 12345-12345-12345-12345-12345
Cov lus txib no yog tib yam li cov lus txib slmgr / ipk qhia saum toj no tab sis tsis yog ua raws li kev hloov pauv cov khoom tseem ceeb ntawm lub khoos phis tawj hauv zos, nws tau ua tiav ntawm lub tshuab hu ua mattpc nrog Matt admin cov neeg siv cov ntawv pov thawj nkag.
Deactivate Windows
slmgr /upk
Ib qho piv txwv kawg haum rau slmgr hais kom ua hauv Windows yog qhov no, uas yuav tshem tawm cov khoom tseem ceeb ntawm lub computer hauv zos. Tsuas yog reboot koj lub computer tom qab koj pom cov khoom tseem ceeb Uninstalled tiav lus.
Slmgr Commands
Cov piv txwv saum toj no yog qhov yooj yim thiab yuav tsum yog tib qho tib neeg feem coob xav siv. Txawm li cas los xij, yog tias koj xav tau kev xaiv ntau dua, saib ntawm slmgr cov lus txib syntax thiab lwm txoj kev txhawb nqa:
slmgr [MachineName [username [password] [option
Slmgr Command Options | |
---|---|
piav qhia | |
MachineName | Lub tshuab ua haujlwm. Defaults rau lub tshuab hauv zos yog tias tshem tawm. |
username | Tus neeg siv lub npe ntawm tus thawj tswj hwm tus account ntawm lub tshuab chaw taws teeb. |
password | Tus password rau tus neeg siv lub npe. |
Ua kom Windows daim ntawv tso cai thiab cov khoom lag luam tawm tsam Microsoft lub server. | |
/atp Confirmation_ID | Ua kom cov khoom lag luam nrog tus neeg siv kev lees paub_ID. |
/cdns | Disable DNS tshaj tawm los ntawm KMS tus tswv. |
/ckhc | Disable KMS host caching. |
/ckms | Ntawm lub npe ntawm KMS server siv rau lub neej ntawd thiab chaw nres nkoj rau default. |
/cpky | Delete the Windows product key from Windows Registry. |
/cpri | Tsim KMS qhov tseem ceeb rau qis. |
/dli | Qhia cov ntaub ntawv tso cai tam sim no nrog cov xwm txheej ua kom ua haujlwm thiab cov khoom lag luam ib nrab. |
/dlv | Qhia cov ntaub ntawv tso cai ntxiv. Zoo ib yam li /dli tab sis ntxaws ntxiv. |
/dti | Display Installation ID rau kev ua kom offline. |
/ipk tus tseem ceeb | Hloov lub Windows khoom tus yuam sij. Hloov cov khoom tseem ceeb tam sim no yog tias muaj. |
/ilc file | Nruab daim ntawv tso cai. |
/rilc | Reinstall system daim ntawv tso cai cov ntaub ntawv. |
Reset lub sij hawm ntsuam xyuas / daim ntawv tso cai raws li txoj cai thiab ua kom lub xeev ntawm lub computer. Siv /rearm-app txhawm rau qhia ib qho app, lossis /rearm-sku rau ib qho tshwj xeeb. | |
/skms | Tsim qhov Volume Licensing KMS server thiab/lossis qhov chaw nres nkoj siv rau KMS ua kom. |
/skc | Enable KMS host caching (enabled by default). Qhov no thaiv kev siv DNS qhov tseem ceeb thiab qhov hnyav tom qab kev tshawb pom thawj zaug ntawm tus tswv haujlwm KMS ua haujlwm. |
/sai interval | Teem lub ncua sij hawm hauv feeb rau cov neeg siv tsis tau siv los sim KMS kev sib txuas. |
/spri | Tsim KMS qhov tseem ceeb rau qhov qub (default). |
/sprt port | Tsim qhov chaw nres nkoj uas KMS tus tswv mloog rau cov neeg thov kev thov kom ua haujlwm (lub neej ntawd TCP chaw nres nkoj yog 1688). |
/sdns | Qhib DNS tshaj tawm los ntawm KMS tus tswv tsev (default). |
/upk | Uninstall qhov tam sim no ntsia Windows cov khoom tseem ceeb thiab xa cov ntawv tso cai rov qab mus rau lub xeev sim. |
/xpr | Qhia hnub tas sij hawm ntawm daim ntawv tso cai tam sim no lossis qhia seb qhov kev ua kom muaj kev ruaj ntseg. |
Kev xaiv MachineName tsis tuaj yeem siv thoob plaws lub platform. Piv txwv li, koj tsis tuaj yeem tswj hwm qhov kev ua kom Windows ntawm lub khoos phis tawj Windows 7 los ntawm lub khoos phis tawj Windows Vista.
Slmgr Siv
Software Licensing Management Tool (slmgr) yog ib cov ntaub ntawv VBS hauv Windows tiv thaiv uas koj tuaj yeem khiav cov lus txib kom ua tiav cov khoom lag luam ua kom tiav Windows.
Slmgr.vbs tsuas yog siv rau lub Windows operating system xwb. Ospp.vbs tswj cov ntawv tso cai ntim rau Microsoft Office cov khoom.
FAQ
Kuv yuav qhib qhov kev hais kom ua li cas?
Txhawm rau qhib cov lus txib hauv Windows 11 lossis 10, mus rau Start, ntaus cmd, thiab xaiv Command Prompt los ntawm cov npe.
Kuv yuav ua li cas thiaj li khiav cov lus txib ua tus tswj hwm?
mus rau Start thiab ntaus cmd. Right-click Command Prompt > Run as administrator. Yog tias koj pom lub qhov rais User Account Control, xaiv Yes kom tso cai txuas ntxiv.
Kuv yuav ua li cas thiaj tshem tau cov lus txib?
Txhawm rau tshem lub Windows hais kom ua qhov screen, ntaus CLS > nias Enter. Qhov no yuav tshem tag nrho daim ntawv thov screen. Koj tseem tuaj yeem kaw thiab rov qhib cov lus txib kom tshem nws.