Once the windows trial license is expired, you must use 2 commands to renew the license.
1) Open windows CMD as administrator.
2) Execute the following command:
slmgr – dlv
(When you enter it, boxes will appear where you only have to accept them and not close them)
3) Execute the command:
slmgr -rearm
(When you enter it, boxes will appear where you only have to accept ALL of them and not close them)
4) done