For Windows open the Start menu, go to Computer Management → Local Users and Groups, right-click the root account, and change the user password. For Linux connect to the server via SSH, run the passwd command, and enter a new password.