netdom RENAMECOMPUTER <SOURCE_HOSTNAME> /newname:<TARGET_HOSTNAME> /userd:administrateur /passwordd:* /FORCE
Enable-PSRemoting -force
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f