You can complete this task four different ways. Choose the one you prefer.
Right-click on the Start button.
The About section will open and you will see the current PC name next to the Device name.
Click on “Rename this PC.”
There will now be a pop-up with the field for the new PC name. Enter the new name according to your preferences.
Click the “Next” button. You will see a pop-up with an error message if the name contains a certain unallowed character(s).
In case the name contains only the allowed characters, you will see a pop-up with the “Restart now” and “Restart later” buttons.
Pick the option you prefer, but remember that a reboot is needed to take effect.
You’ll see the change after the reboot.
Open the System Properties window.
The “Computer Name/Domain Changes” pop-up window will appear after clicking the “Change” button.
In the “Computer name” field you will find the current computer name.
Please enter the new name in this field.
Click the “OK” button. You will see a pop-up with an error message if the name contains a certain unallowed character(s).
A pop-up appears informing you that a restart is needed to apply the changes if the name contains only allowed characters.
Tap OK on that pop-up and then close “System Properties.”
A pop-up will appear with the options to restart now and later. Choose the one you’d like.
The new PC name will appear after the reboot.
Enter the following command – hostname.
Press the Enter key. Now you can see the current name of your computer.
Enter the following command and then press the Enter key: WMIC computersystem where caption=’currentpcname’ rename newpcname
Replace currentpcname with your current PC name, and newpcname with the name you want to give your computer.
That’s it. Restart your PC.
Enter the following command and then press Enter: Rename-Computer -NewName “newpcname”
Replace newpcname with the name you would like to give your computer in the command above.
That’s it. Reboot your PC.