How To Register A Windows Server 2012 R2 After Key
question
windows server 2012R2 re-activation
Hi, Our company need to reformat our 2 servers with hyper Five, washed with the 1st server, how can we registered or activate it once again using our previous license key? I have the screenshot of reckoner properties it needed.
windows-server-2012
Since y'all're using volume license production keys y'all should have also used volume center download so the channels line up. Equally a work around yous tin can endeavour using kms keys every bit intermediate step.
https://docs.microsoft.com/en-us/windows-server/go-started/kmsclientkeys#windows-server-2012-r2
(below assumes 2012 R2 Standard)
Dism /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:D2N9P-3P6X9-2R39C-7RTCD-MDVJX
then after reboot
(below using your volume product key)
slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
slmgr /ato
--delight don't forget to Accept as respond if the reply is helpful--
Hi @lovelechiverri-7801
Seems you missed to pull the production key from machine 1 earlier rebuild...
From machine 2 :command prompt as administrator --- wmic path softwarelicensingservice get OA3xOriginalProductKey
slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
slmgr /ato
in a higher place commands should tell you original licenses /product keys
Frm machine 2 ---
Open Notepad.
Re-create and paste the following text into the notepad window
function Get-WindowsKey {
## role to retrieve the Windows Product Primal from any PC
## by Jakob Bindslet (jakob@bindslet.dk)
param ($targets = ".")
$hklm = 2147483650
$regPath = "Software\Microsoft\Windows NT\CurrentVersion"
$regValue = "DigitalProductId"
Foreach ($target in $targets) {
$productKey = $cypher
$win32os = $null
$wmi = [WMIClass]"\\$target\root\default:stdRegProv"
$information = $wmi.GetBinaryValue($hklm,$regPath,$regValue)
$binArray = ($data.uValue)[52..66]
$charsArray = "B","C","D","F","G","H","J","K","M","P","Q","R","T","V","West","X","Y","2","3","4","half-dozen","7","eight","9"
## decrypt base24 encoded binary data
For ($i = 24; $i -ge 0; $i--) {
$thou = 0
For ($j = 14; $j -ge 0; $j--) {
$chiliad = $k * 256 -bxor $binArray[$j]
$binArray[$j] = [math]::truncate($m / 24)
$m = $k % 24
}
$productKey = $charsArray[$k] + $productKey
If (($i % 5 -eq 0) -and ($i -ne 0)) {
$productKey = "-" + $productKey
}
}
$win32os = Get-WmiObject Win32_OperatingSystem -calculator $target
$obj = New-Object Object
$obj | Add-Fellow member Noteproperty Computer -value $target
$obj | Add-Member Noteproperty Explanation -value $win32os.Caption
$obj | Add-Member Noteproperty CSDVersion -value $win32os.CSDVersion
$obj | Add-Member Noteproperty OSArch -value $win32os.OSArchitecture
$obj | Add together-Member Noteproperty BuildNumber -value $win32os.BuildNumber
$obj | Add-Member Noteproperty RegisteredTo -value $win32os.RegisteredUser
$obj | Add-Fellow member Noteproperty ProductID -value $win32os.SerialNumber
$obj | Add-Fellow member Noteproperty ProductKey -value $productkey
$obj
}
}
Salve the text to a higher place into a file with the ".ps1" extension on the Desktop. Example primal.ps1
Open the Powershell console every bit administrator and type in Set up-ExecutionPolicy RemoteSigned
Side by side type in Import-Module C:\users\"username"\desktop*key.ps1*; Go-WindowsKey
=====
(If the reply was helpful please don't forget to upvote and/or accept as answer, Thanks)
Regards,
J.D.
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.
how-do-you-do @JoydeepDutt-2506, cheers for the reply, i though it tin can be activated buy just re-entering the previous license primal which was a VLS product, and now expired, so in my example, does it means i need to purchase a new license over again to accept it actuate?
i though it can be activated buy just re-entering the previous license key
What happens when you lot try?
hello @DSPatrick, it gives an fault, something like "non a valid license fundamental" I am trying to go in touch with microsoft support, notwithstanding waiting for their call though....
What is the source of installation media?
@DSPatrick downloaded from microsoft site, the 2012r2 standard 180 days evaluation ISO
@DSPatrick tried your suggestion, and gives an fault "invalid key", when i tried this control "slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx", I approximate in one case the VLS is expired, it wont work.
@lovelechiverri-7801
How-do-you-do,
You could try the post-obit steps:
ane. Observe the suitable generic key for your operating organization from the below link
https://technet.microsoft.com/en-u.s.a./library/jj612867.aspx
You could pick the windows server 2012 R2 KMS key from the above link
-
Use the primal in the post-obit command. Brand certain you are running the below command from elevated command prompt.
DISM /Online /Ready-Edition:ServerStandard /ProductKey:D2N9P-3P6X9-2R39C-7RTCD-MDVJX /AcceptEula
reboot the server when prompted -
In one case the server is rebooted, try the volume license fundamental from system properties or utilise SLUI 3 command
Hope above information can help y'all.
============================================
If the Answer is helpful, delight click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable email notifications if y'all desire to receive the related e-mail notification for this thread.
hi @JennyFeng-MSFT, i trying to execute this control, DISM /Online /set-ProductKey:W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9 /AcceptEula but it's giving an error "setting the product primal is non supported with online prototype", i guess i demand to reformat once again the server to run this control "DISM /Online /Prepare-Edition:ServerStandard /ProductKey:D2N9P-3P6X9-2R39C-7RTCD-MDVJX /AcceptEula"
thanks for all the assist im getting...
Hi,
Thank you for your respond.
If you have any questions, please feel free to contact u.s.a..
If the reply helped y'all, please think to mark it as an answer.
If no, please answer and tell us the current state of affairs in order to provide farther help.
0 Votes 0 ·
question details
Related Questions
How To Register A Windows Server 2012 R2 After Key,
Source: https://docs.microsoft.com/answers/questions/213314/windows-server-2012r2-re-activation.html
Posted by: beasleypecom1994.blogspot.com
Peradventure you installed DataCenter?
--delight don't forget to
Take every bit answer
if the reply is helpful--0 Votes 0 ·
Dism /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:D2N9P-3P6X9-2R39C-7RTCD-MDVJX when I run this, requite an error, and gives a hint to try get-targetedition, which i did, and instead of "Set-Edition:ServerStandard" change it to "Gear up-Edition:Serverdatacenter" just to execute the control, i guess i messed information technology upward, just got the datacenter edition, will try to reinstall again using this.
0 Votes 0 ·