Hi nguyen ductoan,
Regarding your query about how to remove license windows server, Windows Server licensing cannot be “removed” in the sense of stripping the OS of its activation state. Once a product key is applied and the system is activated, it becomes part of the OS configuration. What you can do is reset the license state or uninstall the current product key. The supported way is to run slmgr.vbs /upk from an elevated command prompt, which uninstalls the current product key. If you also want to clear the key from the registry, you can follow with slmgr.vbs /cpky. This will not revert the server to an evaluation edition, but it will leave the system unlicensed until a new key is installed.
Be aware that removing the license will put the server into an unactivated state, which will trigger activation warnings and may eventually limit functionality. There is no supported method to fully “remove” licensing other than reinstalling with evaluation media. If your goal is to change or reassign the license, the correct approach is to uninstall the current key as above and then apply the new one with slmgr.vbs /ipk <newkey>.