Rearming Windows Server 2016 pass it's maximum rearm count period?

Discussion in 'Windows Server' started by riahc3, Jan 23, 2019.

  1. MS_User

    MS_User MDL Guru

    Nov 30, 2014
    4,617
    1,340
    150
    can anyone post the script...thanx
     
  2. 3zero3

    3zero3 MDL Senior Member

    Apr 26, 2012
    421
    685
    10
    Just look better and You will find script.
     
  3. MS_User

    MS_User MDL Guru

    Nov 30, 2014
    4,617
    1,340
    150
    I see it #13
     
  4. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,079
    481
    60
    Off topic but when is MS going to start IP with gui servers? Any news?
     
  5. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,316
    7,023
    210
    #25 Carlos Detweiller, Oct 6, 2019
    Last edited: Oct 13, 2019
    Probably shortly before the next LTSC server hits. 2021 or 2022.
     
  6. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    This Script Will Reset Rearm Count As Well In Windows Server 2016?:g:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    I send pm my buddy
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Zibri

    Zibri MDL Novice

    Sep 27, 2010
    13
    2
    0
    #28 Zibri, Jan 19, 2020
    Last edited: Jan 19, 2020
    confirmed working on windows 10 education 1909.
    it would be nice to be able to run it in windows preboot environment before windows starts
     
  9. deafsinger

    deafsinger MDL Junior Member

    Feb 19, 2016
    89
    26
    0
    slmgr -rearm
    How many times can you use it with newer Windows 10 versions and for how long in total?
     
  10. ch100

    ch100 MDL Addicted

    Sep 11, 2016
    829
    694
    30
    It should be 3 times.
    A little known fact is that after reaching the maximum count, a single KMS activation would allow another rearm.
    This is very useful when sysprepping images updated in place each time.
     
  11. deafsinger

    deafsinger MDL Junior Member

    Feb 19, 2016
    89
    26
    0
    And the script in post #13 for older versions.
    How many rearms?
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,318
    340
    #32 abbodi1406, May 31, 2021
    Last edited: Jun 2, 2021
    Windows 8 and 10 do not have Grace Period, you can rearm 100 time without any use

    the script in post #13 only reset the rearm count
     
  13. ch100

    ch100 MDL Addicted

    Sep 11, 2016
    829
    694
    30
    Does that apply only to Enterprise though? Windows 7 Enterprise would also work without activation, but with black desktop.
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,318
    340
    All Windows 7 editions has grace period
    the activation nag won't be just black desktop
     
  15. cipher77

    cipher77 MDL Novice

    Mar 8, 2016
    2
    0
    0
    Just tried running the script as an Administrator on a Windows Server 2019 Datacenter edition and I'm getting multiple "access denied" errors. It looks like this error is being raised during the following loop:

    for /f %%i in ('reg query HKLM\SYSTEM\WPA') do reg delete "%%i" /f

    If I try to manually delete the keys in "HKLM\SYSTEM\WPA" then I get a "Cannot delete...Error while deleting key" error message.

    Is this script not supported on Server 2019?
     
  16. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,316
    7,023
    210
    You might need Trusted Installer rights for that key. Check out the "RunAsTI" script from @AveYo.
     
  17. cipher77

    cipher77 MDL Novice

    Mar 8, 2016
    2
    0
    0
    Thanks, Carlos. I just installed the script from @AveYo and when I ran the command file as a Trusted Installer I received the same access denied errors as it attempted to delete those keys.

    Could this be some additional lockdown in Server 2019 for that "HKLM\SYSTEM\WPA" area?
     
  18. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,685
    60
    "HKLM\SYSTEM\WPA" is THE SINGLE MOST PROTECTED key in updated windows. It's locked early in the boot process and literally nothing can unlock it once done.
    But I guess you can still manipulate it offline. Or use outdated windows version ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,316
    7,023
    210
    Running WinPE, loading the Hive there, manipulating the key, and unloading the Hive again is the way to go in this case.

    It's the activation system. What did you expect? :rolleyes:
     
  20. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    3,645
    2,620
    120
    Perhaps kernel protected keys are not a novelty.

    Try to change online the "MediaCenterInstalled" key, if you can.