The slmgr script is a command-line utility used to activate Windows either against Microsoft’s activation servers or an internal Key Management Services server.