Anzeige
Anzeige
Für Links auf dieser Seite erhält GIGA ggf. eine Provision vom Händler, z.B. für mit oder blauer Unterstreichung gekennzeichnete. Mehr Infos.
  1. GIGA
  2. Tech
  3. Apps & Downloads
  4. Hardware-News, Deals, Tests & Tipps auf GIGA
  5. Slmgr: rearm, vbs, ipk, ato, upk – Alle Befehle einfach erklärt

Slmgr: rearm, vbs, ipk, ato, upk – Alle Befehle einfach erklärt


Slmgr ist ein Skript von Microsoft, mit dem ihr per Eingabeaufforderung den Windows-Key ändern, deaktivieren oder installieren könnt. Wir zeigen euch, was die einzelnen Befehle „rearm“, „ipk“, „ato“ und „upk“ bedeuten und wie ihr Slmgr nutzen könnt.

 
Windows 10
Facts 

Video | 5 Tipps für Windows 10

Fünf Tipps für Windows 10
Fünf Tipps für Windows 10 Abonniere uns
auf YouTube

Slmgr vbs – Syntax

Slmgr.vbs ist ein Skript in Windows das sich in erster Linie an Unternehmen mit Volumenaktivierung richtet. Ihr könnt es über die Eingabeaufforderung öffnen und Aktionen mit dem Windows-Key durchführen. Wie zeigen euch, wie das geht anhand der folgenden Parameter.

Anzeige

Die Syntax des Befehls sieht dabei so aus:

  • slmgr (MachineName (Username Password)) (Option)
Anzeige

Ihr könnt mit dem Skript Slmgr also auch Remote-Computer verwalten, die sich im Netzwerk befinden.

Slmgr rearm

Standardmäßig lässt sich Windows 7 beziehungsweise Windows 8 ganze 30 Tage ohne Aktivierung nutzen. Ihr könnt den Zeitraum aber hinauszögern mit dem Befehl Slmgr rearm. So geht's:

  1. Öffnet eine Eingabeaufforderung mit Administratorrechten: Windows 10: Eingabeaufforderung öffnen und nutzen - So geht's.
  2. Tippt den Befehl ein und bestätigt mit  der Eingabetaste: slmgr -rearm
    "Slmgr -rearm" setzt die Aktivierungsfrist in Windows zurück.
    „Slmgr -rearm“ setzt die Aktivierungsfrist in Windows zurück.
  3. Startet Windows danach neu.
  4. Der Aktivierungs-Countdown wurde nun erneut auf 30 Tage gesetzt.

Hinweis: Ihr könnt den Befehl nach Ablauf der ursprünglichen Aktivierungsfrist maximal 3 mal ausführen. Dadurch ergibt sich eine Windows-Nutzung ohne Aktivierung von insgesamt 120 Tagen.

Anzeige

Slmgr ipk

Wenn ihr einen Windows-Key installieren wollt, könnt ihr das über den Befehl Slmgr ipk tun. Ipk steht dabei für Install Product Key. So geht's:

  1. Öffnet die Eingabeaufforderung mit Administratorrechten, wie oben beschrieben.
  2. Tippt danach den Befehl ein: slmgr -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    Hinweis: Statt der X-Reihe gebt ihr den Product Key ein.

Slmgr upk

Ihr könnt über das Skript Slmgr.vbs auch Windows-Keys deinstallieren. Das ist etwa sinnvoll, wenn ihr den Key von einem PC auf einem anderen übertragen wollt. Dadurch ist Windows auf PC Nr. 1 nicht mehr aktiviert, dafür aber auf PC Nr. 2:

  1. Öffnet die Eingabeaufforderung mit Admin-Rechten und tippt den folgenden Befehl ein: slmgr -upk
  2. Upk bedeutet Uninstall Product Key.

Danach ist Windows nicht mehr aktiviert und ihr könnt den Key auf einem anderen Rechner verwenden. Eine genaue Anleitung findet ihr hier: Windows 10 deaktivieren – So geht's.

Anzeige

Slmgr ato

Mit dem Befehl Slmgr ato könnt ihr Windows online aktivieren. Dabei kommuniziert Windows dann mit dem entsprechenden Microsoft-Server. Sofern ein KMS-Server eingerichtet ist, wird Windows diesen stattdessen verwenden. Der Befehl ist hilfreich, wenn Windows sich wegen eines Verbindungsfehlers nicht aktiviert hat.

  • slmgr -ato

Slmgr dti

Windows lässt sich auch offline ohne Internet-Verbindung aktivieren. Gebt dazu den Befehl in der Eingabeaufforderung mit Administratorrechten ein:

  1. slmgr -dti
  2. Euch wird dann eine ID angezeigt, mit der ihr Windows per Telefon aktivieren könnt.
    Der Befehl "slmgr dti" gibt eine Aktivierungs-ID aus.
    Der Befehl „slmgr dti“ gibt eine Installations-ID aus.
  3. Ruft dann beim Microsoft Product Activation Center an und gebt die ID per Telefontasten durch.
  4. Ihr erhaltet dann eine Bestätigungs-ID.
  5. Tippt diese mit dem folgenden Befehl in die Eingabeaufforderung ein: slmgr -atp BESTÄTIGUNGS-ID

Slmgr dlv

Der Befehl prüft, ob eure Windows-Lizenz aktiviert ist. Ist das der Fall, zeigt das sich öffnende Fenster bei Lizenzstatus den Eintrag Lizenziert an.

Der Befehl "slmgr dlv" zeigt an, ob WIndows lizenziert ist.
Der Befehl „slmgr dlv“ zeigt an, ob WIndows lizenziert ist.

Slmgr: Alle Befehle in der Übersicht

Alle Slmgr-Befehle zeigen wir hier nochmal in der Übersicht an:

slmgrErklärung
-atoActivate Windows license and product key against Microsoft's server.
-atp Confirmation_IDActivate Windows with user-provided Confirmation ID.
-ckmsClear the name of KMS server used to default and port to default.
-cpkyClear product key from the registry (prevents disclosure attacks).
-dliDisplay the current license information with activation status and partial product key.
-dlvVerbose, similar to -dli but with more information.
-dtiDisplay Installation ID for offline activation.
-ipk KeyEnter a new product key supplied as xxxxx-xxxxx-xxxxx-xxxxx-xxxxx.
-ilc License_fileInstall license.
-rilcRe-install system license files.
-rearmReset the evaluation period/licensing status and activation state of the machine.
-skms activationservername:portSet the Volume Licensing KMS server and/or the port used for KMS activation (where supported by your Windows edition).
-skhcEnable KMS host caching (default), this blocks the use of DNS priority and weight after the initial discovery of a working KMS host.
-ckhcDisable KMS host caching. This setting instructs the client to use DNS auto-discovery each time it attempts KMS activation (recommended when using priority and weight).
-sai intervaSets the interval in minutes for unactivated clients to attempt KMS connection. The activation interval must be between 15 minutes and 30 days, although the default (2 hours) is recommended. The KMS client initially picks up this interval from the registry but switches to the KMS setting after the first KMS response has been received.
-sri intervalSets the renewal interval in minutes for activated clients to attempt KMS connection. The renewal interval must be between 15 minutes and 30 days. This option is set initially on both the KMS server and client sides. The default is 10080 minutes (7 days).
-spriSet the KMS priority to normal (default)
-cpriSet the KMS priority to low.
-sprt portSets the port on which the KMS host listens for client activation requests. The default TCP port is 1688.
-sdnsEnable DNS publishing by the KMS host (default).
-cdnsDisable DNS publishing by the KMS host.
-upkUninstall current installed product key and return license status back to trial state.
-xprShow the expiry date of current license (if not permanently activated).
Token-based activation:
-lilList the installed token-based activation issuance licenses.
-ril ILID ILvIDRemove an installed token-based activation issuance license.
-staoSet the Token-based Activation Only flag, disabling automatic KMS activation.
-ctaoClear the Token-based Activation Only flag (default), enabling automatic KMS activation.
-ltcList valid token-based activation certificates that can activate installed software
-ftaCertificate Thumbprint . Force token-based activation using the identified certificate. The optional personal identification number (PIN) is provided to unlock the private key without a PIN prompt when using certificates that are protected by hardware (for example, smart cards).
Anzeige

Hat dir der Beitrag gefallen? Folge uns auf WhatsApp und Google News und verpasse keine Neuigkeit rund um Technik, Games und Entertainment.

Anzeige