Sunday, December 17, 2023

Reset RDP Grace period

 

Steps to reset 120 Days RDS Grace Period

  1. Open "Regedit" and go to HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod
  2. Right Click and go to Permission – Advanced – Owner. Change the ownership from Network Service to Administrator Account
  3. Assign Full Control permission to Administrator
  4. Delete the item highlighted in RED.
  5. Reboot the server or restart the Terminal Service (Restart-Service TermService -force)
  6.  
  7. The Grace period of RDS server should be reset to default 120 Days now.
(Invoke-WmiMethod -PATH (gwmi -namespace root\cimv2\terminalservices -class win32_terminalservic
esetting).__PATH -name GetGracePeriodDays).daysleft
 

 

Password Recovery for Nexus Switches

  On a Windows PC, change the keyboard layout to   en-US Connect to the Nexus switch   directly   via serial console ( not   over ssh/telnet...