2020年03月25日

How to Change Computer Name in Windows 10

Recently, I wanted to convert my old PC to some media server to ensure that my family can access the media on their smartphones without actually downloading the information. While configuring the unit, I saw that Windows gave the machine a random name. Generally, this pretty good. However, when you have multiple PCs attached to the same network inside your home or office, it may be quite confusing to recognize a particular PC while using default names. Thankfully, Windows has multiple methods to alter the computer name. So, should you ever need, here's how you can change PC name in Windows 10.


Use Settings App to Change Windows 10 Computer Name


The brand new settings app in Windows 10 causes it to be really simple to change the pc name. All you have to do is find the appropriate option and enter a brand new name.


1. Open the Settings app by pressing the Win + I keyboard shortcut or by clicking on the "All Settings" button within the Notification Center.


2. In the Settings app, visit "System" after which to "About". This is when you will notice basic system details like your processor, Windows activation status, Windows 10 version, etc. Under the Device Specification section, click the "Rename this PC" button.


3. The above mentioned action will open a prompt. Here, enter in the new computer name and click on the "Next" button. With my case, the new computer name will be "MediaPC".


4. To make the changes work, you have to restart the body. So, click on the "Restart Now" button.


After restarting, go to the same settings page and you should begin to see the updated computer name alongside "Device name" under the Device Specifications section.


Control Panel Options to Modify Computer Name in Windows 10


If you are on older Windows version like 7 or 8 you'll be able to use the traditional user interface to change the computer name. Just follow the below steps out of the box and you'll be good.


1. To open the control panel, look for it within the start menu and then click it.


2. When the control panel continues to be opened, choose the "Large icons" option in the dropdown menu next to "View by".


3. Next, discover the "System" option and click on it.


4. Here in this window, you will find all the basic details like system configuration, Windows activation status, etc. Since you want to alter the computer name, click on the "Change settings" link.


5. The above action will open the machine properties window. Here, click the "Change" button.


6. Enter a new name underneath the Computer Name field and click on the "Ok" button.


7. You will notice an alert prompt stating that you have to restart the pc to make the changes take effect. Click the "Ok" button to continue.


8. Within this prompt, click on the "Restart" button to reboot the machine.


After rebooting, follow the first three steps and you should begin to see the new name near the "Computer Name" in the System window.


Command Prompt Command to Change Computer Name


If needed, you can use a single line command to change the computer name in Windows.


1. Look for "cmd" in the start menu, right-click and choose "Run as administrator".


2. Before you alter the system name, you should know its current name. To do that, execute the below command and the command prompt will spit out the current PC name.


hostname


3. Once you have the name, execute the below command while replacing CurrentPCName using the current name you've seen earlier and NewPCName using the actual new name. In my case, the brand new computer name is "MediaPC". When the command is successfully executed, you will notice the "Method Execution Successful" output.


WMIC computersystem where caption="CurrentPCName" rename "NewPCName"


4. Now, reboot the machine and execute the hostname command to determine the changed computer name.


That is all for that command prompt method.


PowerShell Command to Change Windows 10 Computer Name


Just like with the command prompt, you can also use PowerShell commands to quickly change the computer name in Windows 10. Actually, in comparison to the command prompt, PowerShell command looks easy to remember.


1. First, we have to open PowerShell with admin rights. So, look for PowerShell within the start menu, right-click on it and choose "Run as administrator". If you wish to, you can also click on the "Run as administrator" option appearing within the options panel within the start menu.


2. Within the PowerShell, execute the below command to find out the current computer name. Just like before, we're going the present name in the upcoming command.


HostName


3. Now, execute the below command while replacing CurrentComputerName using the actual current name and NewComputerName with the new name. In my case, the brand new computer name is "MediaPC".


Rename-Computer -ComputerName "CurrentComputerName" -NewName "NewComputerName"


4. Once you execute the command, the PowerShell window will show an alert suggesting that the computer name will be changed after restarting the machine


5. So, go ahead and restart the system. After restarting, execute the hostname command within the PowerShell window and you should begin to see the new computer name.


That's all. As you can see, changing the computer name in Windows 10 isn't very difficult using PowerShell or command prompt command or perhaps the traditional settings or control panel apps.

posted by vorry at 22:37| Comment(0) | 日記 | 更新情報をチェックする
この記事へのコメント
コメントを書く
コチラをクリックしてください