mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 14:53:59 +02:00
slmgr, slmgr.vbs: add page (#8201)
* slmgr, slmgr.vbs: add page * slmgr.vbs: fix formatting * windows/slmgr: make mnemonic tags case-sensitive + imperative mood * windows/slmgr, windows/slmgr.vbs: swap alias pages * Apply suggestions from code review Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com> Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> --------- Co-authored-by: Axel Navarro <navarroaxel@gmail.com> Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com> Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
This commit is contained in:
parent
80147cbd87
commit
5b418a7964
2 changed files with 45 additions and 0 deletions
8
pages/windows/slmgr.md
Normal file
8
pages/windows/slmgr.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# slmgr
|
||||
|
||||
> This command is an alias of `slmgr.vbs`.
|
||||
> More information: <https://docs.microsoft.com/windows-server/get-started/activation-slmgr-vbs-options>.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr slmgr.vbs`
|
37
pages/windows/slmgr.vbs.md
Normal file
37
pages/windows/slmgr.vbs.md
Normal file
|
@ -0,0 +1,37 @@
|
|||
# slmgr.vbs
|
||||
|
||||
> Install, activate, and manage Windows licenses.
|
||||
> This command may override, deactivate, and/or remove your current Windows license. Please proceed with caution.
|
||||
> More information: <https://docs.microsoft.com/windows-server/get-started/activation-slmgr-vbs-options>.
|
||||
|
||||
- [d]isplay the current Windows [l]icense [i]nformation:
|
||||
|
||||
`slmgr /dli`
|
||||
|
||||
- [d]isplay the ins[t]allation [i]D for the current device. Useful for offline license activation:
|
||||
|
||||
`slmgr /dti`
|
||||
|
||||
- Display the current license's e[xp]i[r]ation date and time:
|
||||
|
||||
`slmgr /xpr`
|
||||
|
||||
- [i]nstall a new Windows license [p]roduct [k]ey. Requires Administrator privileges and will override the existing license:
|
||||
|
||||
`slmgr /ipk {{product_key}}`
|
||||
|
||||
- [a]c[t]ivate the Windows product license [o]nline. Requires Administrator privileges to do so:
|
||||
|
||||
`slmgr /ato`
|
||||
|
||||
- [a]c[t]ivate the Windows [p]roduct license offline. Requires Administrator privileges and an Confirmation ID provided by Microsoft Product Activation Center:
|
||||
|
||||
`slmgr /atp {{confirmation_id}}`
|
||||
|
||||
- [c]lear the current license's [p]roduct [k]e[y] from the Windows Registry. This will not deactivate or uninstall the current license, but prevents the key from being stolen by malicious programs in the future:
|
||||
|
||||
`slmgr /cpky`
|
||||
|
||||
- [u]ninstall the current license (by its [p]roduct [k]ey):
|
||||
|
||||
`slmgr /upk`
|
Loading…
Add table
Reference in a new issue