Several ways to rename a computer in Windows

1 min read · Updated 2 November 2022

Did this guide help you? You can support me by subscribing to the channel, sharing it, disabling your ad blocker or making a donation. Thank you!

Hello,

A video showing several methods of renaming a computer in Windows.

The computer name must comply with the following constraints:
- No special characters 
- Not all numbers.
- Between 1 and 15 characters.

The name is not case-sensitive.

Video - Renaming a computer in Windows

Renaming a computer in PowerShell

# Renaming a computer
Rename-Computer -NewName new-name
# Rename a computer and reboot
Rename-Computer -NewName new-name -Restart
# Rename a computer by specifying other identifiers
Rename-Computer -NewName new-name -Credential (Get-Credential)

Video : Several ways to rename a computer in Windows

Play

Related links