slmgr.vbs -rearm

Reboot

https://www.techielass.com/windows-server-extend-expired-evaluation-period/