How to Change the Computer Name for a Local or Remote PC

Copy title

The computer name is often evaluated for the purpose of identifying who uses the computer or the location of the computer. One can use the name

Laptop

to distinguish between one another on the so-called

desktop

. Similarly, if an entire family or company uses the same network, it is common practice to use their name or department.

We will look at two ways to change the computer name of the local computer and also how to make the change remotely, in the local network, if you are a system administrator who wants to change the computer name without needing to do so. must gain physical access.

Cool Tip: Here’s how to find the current computer name with nothing but the command prompt.

Change the computer name for the local computer

We will look at two ways to change the computer name for a local computer. The first is the usual way and the second involves using the command prompt.

1. Using system properties

From the start menu, right click Computer and choose Property.

Image22

The current computer name is displayed in Computer name, domain and workgroup settings part. Click Change settings to change the computer name.

Untitled 1 Copy1

Under Computer name tab, select Change at the bottom to rename the computer.

Untitled 2 Copies1

Change the name and save all open windows by pressing ALRIGHT. Now a reboot is required and the following screen will indicate so.

See more:  How to Transfer Playlists from Spotify to Apple Music

Image23

Note: Spaces are not allowed for computer names, so dashes are the usual replacement.

As also pointed out by System propertieschanges will occur after restarting the computer.

Untitled 3 Copies1

2. Using the Command Prompt

Open Command prompt from the start menu. The following command needs to be executed:

WMIC computer system where caption=’CURRENT’ renamed NEW

However, please replace the words in bold with the actual values. Here is an example:

WMIC computer system where caption=’Jon-Desktop’ changed Jon’s name

Pictures24

The result will be simply changing the computer name from Jon-Desktop ARRIVE Jon. You will know the command completed successfully if Return value equal zero.

A reboot is required for the changes to take effect.

Change the computer name for the remote computer

If you are a domain administrator and want to change a computer on the same network to a new name, use the following format:

WMIC /node:”CURRENT” computer system call rename “NEW”

For example:

WMIC /node:”Jon-Laptop” calls the computer system to rename “LaptopPC”

The following value /knot: indicates the name of the remote computer in the LAN. You need to have administrative rights on the remote computer, otherwise the following error will appear, saying Access is denied:

Image25

If the user you are currently logged in with does not have administrative access to the networked computer, you can explicitly specify the login information using the following format:

WMIC /node:”CURRENT” /user:USERNAME /password:PASSWORD renamed computer system name “NEW”

For example:

WMIC /node:”Jon-Laptop” /user:Admin /password:password123 calls the computer system to rename “LaptopPC“

Image26

Conclusion

Changing the computer name is essential if you have two identical names on the network. Otherwise, it’s just an easy way to identify a user or location (like Upstairs-PC or Laptop). Use the methods above when you want to do it. If you know easier methods, the comment section will wait for you to understand better.

See more:  How to Use Google Docs Offline on Desktop and Mobile

Categories: How to
Source: thpttranhungdao.edu.vn/en/

Rate this post

Leave a Comment