Default computer name windows

После установки Windows Server или дестопной Windows 10/11, вам нужно изменить имя компьютера, заданное по-умолчанию. Чаще всего в имени компьютер рекомендуется указывать его местоположение или роль, например:
msk-dc01
,
wks-mskIT12
,
MRKTG021
и т.д. Можно использовать серийный или инвентарный номер устройства в качестве имени компьютера.

Содержание:

  • Переименовать компьютер из графического интерфейса Windows
  • Изменить имя компьютера с помощью PowerShell

При установке Windows сама генерирует имя компьютера формата, например,
DESKTOP-P2FHTKQ
. Имя содержит 15 символов, первые семь берутся из имени организации, остальные символы генерируются случайным образом. Для домашнего компьютера имя обычно не имеет особого значение, но если ваш компьютер находится в организации и работает в составе рабочей группы или домена AD, желательно задать осмысленное имя компьютера. В этой статье мы покажем, как переименовать компьютер Windows.

Имя компьютера должно соответствовать следующим требованиям:

  • Длина не более 15 символов
  • Не должно содержать специальных символов (< > ; : » * + = \ | ? ,)
  • Можно использовать тире и нижнее подчеркивание
  • Не должно состоять только из цифр
  • Имя компьютера регистр независимо
  • Если компьютер будет добавлен в домен Active Directory, имя компьютера должно быть уникальным в пределах домена.

Переименовать компьютер из графического интерфейса Windows

В современных версиях Windows 10 и 11 вы можете переименовать компьютер с помощью панели Settings.

  1. Нажмите
    Win+I
    и перейдите в раздел System -> About (можно использовать URI команду
    ms-settings:about
    для быстрого доступа к разделу Settings);

    переименовать компьютер в Windows

  2. Нажмите на кнопку Rename this PC;
  3. Укажите новое имя компьютера и нажмите Next;
    задать новый hostname в Windows 10

  4. Перезагрузите компьютер, чтобы применить изменения.

Также вы можете изменить имя компьютера из классического интерфейса System Properties в Windows:

  1. Нажмите
    Win+R
    на клавиатуре и выполните команду
    sysdm.cpl
    или
    systempropertiescomputername
    ;
  2. Здесь отображается текущее имя компьютер и имя вашего домена или рабочей группы;
  3. Нажмите на кнопку Change, укажите новое имя компьютера и сохраните изменения.
  4. Перезагруите Windows

В Windows Server вы можете изменить имя компьютера через Server Manager. Выберите раздел Local Server и нажмите по имени в поле Computer Name.

сменить имя хоста в Windows Server

Изменить имя компьютера с помощью PowerShell

Вы можете переименовать компьютер из командной строки с помощью PowerShell командлета Rename-Computer.

Откройте консоль PowerShell с правами администратора. Чтобы узнать текущее имя компьютера, выполните команду:

$env:computername

Или:

Hostname

Если вам нужно получить FQDN компьютера:

$env:computername.$env:userdnsdomain

Узнать имя компьютер $env:computername

Чтобы изменить имя компьютера, выполните:

Rename-Computer -NewName "WKS-MSKO12S3"

Теперь можно перезагрузить компьютер с помощью команды Restart-Computer (или можно добавить опцию перезагрузки прямо в команду смены имени хоста):

Rename-Computer -NewName "WKS-MSKO12S3" –Restart -Force

Rename-Computer - переименовать компьютер с помощью PowerShell

После перезагрузки проверьте, что имя компьютера сменилось успешно.

Если этот компьютер был добавлен в домен AD перед сменой имени и находился в определенной OU (Organization Unit), его учетная запись но уже с новым именем по прежнему будет находится в том же самом контейнере. Можете проверить это с помощью консоли ADUC. Для переименования компьютера в AD вашей учетной записи должны быть делегированы разрешения на создание и удаление объектов Computers в этой OU.

Переименовать компьютер в домене Active Directory

Командлет Rename-Computer позволяет сменить имя удаленного компьютера. Используйте команды:

Rename-Computer -ComputerName "msk-test" -NewName "msk-preprod02" -DomainCredential Contoso\Admin01 –Force

Для подключения к удаленному компьютеру используется WMI, поэтому если он отключен на удаленном хосте или сетевые порты заблокированы, появится ошибка:

Rename-Computer : Cannot establish the WMI connection to the computer ‘priorauthdes’ with the following error message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).

Можно использовать командлеты PowerShell Remoting для подключения к удаленному компьютеру. Если вы включили на удаленном компьютере WinRM вручную или настроили его с помощью GPO, можно использовать командлет Invoke-Command для запуска команды на удаленном компьютере. Чтобы переименовать удаленный компьютер, выполните:

Invoke-Command -ComputerName msk-test -ScriptBlock { Rename-Computer -NewName msk-preprod02 –Restart -Force}

Также для переименования компьютера ранее использовалась утилита netdom:

  • Переименовать локальный компьютер:
    netdom renamecomputer localhost /newname msk-preprod02 /reboot
  • Сменить имя удаленного компьютера:
    netdom renamecomputer msk-test /newname:msk-preprod02 /userd:CONTOSO\Admin01 /password:*

В Windows Serve Core можно использовать встроенную псевдографическую команду sconfig для переименования компьютера.

Если вы устанавливаете ваш эталонный образ Windows на компьютеры с помощью автоматизированных средств установки (WDS, SCCM или по сети с помощью PXE), вы можете добавить в них небольшой скрипт для автоматического переименования компьютера в соответствии с политиками именования вашей организации.

Windows 10 Click on the Start button. In the search box, type Computer. Right click on This PC within the search results and select Properties. Under Computer name, domain, and workgroup settings you will find the computer name listed.

What is the default computer name Windows 10?

You may notice that your Windows 10 system has a computer name “Desktop-XXXXXX” on both desktop and portable systems.

How do I find my host name Windows 10?

Locating Your Computer’s Hostname on a PC (Windows 10) In the window the window that appears on the bottom-left hand corner of your screen, type in cmd and click OK. The command prompt window will appear. In this window, type hostname and press Enter. The name of your computer will be displayed.

Click on the Start button. In the search box, type Computer. Right click on This PC within the search results and select Properties. Under Computer name, domain, and workgroup settings you will find the computer name listed.

How do I find the original name of my computer?

Click Start, right-click Computer, and then click Properties. The computer name appears under Computer name, domain, and workgroup settings.

Is computer name and hostname the same?

Is a computer name and hostname the same? – Quora. A computer has one hostname, which is usually also one of the computer names. Computer names are used by the network or domain name system to refer to a particular network address, or an alias to associate a name with a function.

How do I find out the name of my computer Windows 10 without logging in?

Press and hold the Windows key, then press the Pause/Break key. Your computer name can be found under the “Computer name, domain, and workgroup settings” section of the window that appears. This window will look almost identical regardless of which operating system you’re running.

What is a default name?

The name initially assigned to a folder or any other resource that comes with or is created in the computer. For example, when you create a new folder in most computers, its default name is “New Folder.” Default names can be changed by the user.

How do I change the administrator name on Windows 10?

How to Change Administrator Name on Windows 10 via Control Panel Type Control Panel into the Windows Search Bar. Then click Open. Click on Change account type under Use Accounts. Select a user account you would like to rename. Click on Change the account name. Type the new user account name in the box.

How do I find the computer name in the registry?

Computername registry key Open registry editor with the command regedit. Navigate to the node HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName. On the right side pane, look for the value ComputerName . This would show you the computer name.

How do I find computer name using CMD?

From the desktop Open start menu. Type into the search bar cmd /k hostname. Your computer name will be displayed in the first line of a command prompt window.

How do I find computer name from IP address?

Querying DNS Click the Windows Start button, then “All Programs” and “Accessories.” Right-click on “Command Prompt” and choose “Run as Administrator.” Type “nslookup %ipaddress%” in the black box that appears on the screen, substituting %ipaddress% with the IP address for which you want to find the hostname.

What are the default skins names?

From left to right, Females first. Ramirez. Banshee. Wildcat. Headhunter.

What is the default name of the worksheet?

By default, Excel names worksheets Sheet1, Sheet2, Sheet3 and so on, but you can easily rename them.

What is the default name of a workbook in MS Excel?

In Microsoft Excel, workbooks are saved as Excel Workbooks (. xlsx) by default.

How do I change the administrator name?

How to change your Microsoft account administrator name In the search box on the taskbar, type Computer Management and select it from the list. Select the arrow next to Local Users and Groups to expand it. Select Users. Right-click Administrator and select Rename. Type a new name.

How do I change my computer’s name?

Here’s how to change your display name if you’re signed in to your Microsoft account: Sign in to the Your info page on the Microsoft account website. Under your name, select Edit name. If there’s no name listed yet, select Add name. Enter the name you want, then type the CAPTCHA and select Save.

How do I find the hostname of my C drive?

Wunders Copy the file: \Windows\System32\config\system from the subject drive onto your local hard drive. Start up Regedit (Start -> Run -> “regedit”) Single-click on “HKEY_LOCAL_MACHINE” to select it. Do: File -> Load Hive. When asked for a Key name, enter any name — I’ll Use “EXT” for this example.

Where is hostname stored in Windows?

ARCHIVED: In Windows, how do I find my computer’s hostname? In Windows 7, from the Start menu, right-click Computer. Select Properties. In the window that appears, your computer name will be displayed under “Computer name, domain, and workgroup settings” (Windows 7 and Vista) or next to “Full computer name:” (XP).

What do you know about minicomputers?

minicomputer, computer that was smaller, less expensive, and less powerful than a mainframe or supercomputer but more expensive and more powerful than a personal computer. Minicomputers were used for scientific and engineering computations, business transaction processing, file handling, and database management.

How do I find the hostname of an IP address in Windows?

In an open command line, type ping followed by the hostname (for example, ping dotcom-monitor.com). and press Enter. The command line will show the IP address of the requested web resource in the response. An alternative way to call Command Prompt is the keyboard shortcut Win + R.

How do I find the fully qualified domain name from an IP address?

Type “ipconfig” and press “Enter.” This displays the IP address for your Windows server. Use this IP address to view the fully qualified domain name of the server.

How do I see all the computers on my network?

To find computers connected to your PC through a network, click the Navigation Pane’s Network category. Clicking Network lists every PC that’s connected to your own PC in a traditional network. Clicking Homegroup in the Navigation Pane lists Windows PCs in your Homegroup, a simpler way to share files.

Are there new default skins?

There are 10 new default skins coming to Fortnite in the near future. They’ll never replace the original default skins and they probably won’t be used by professionals to troll unsuspecting players, either.

Is Triple Threat rare?

Triple Threat is a Rare Outfit in Fortnite: Battle Royale that can be purchased in the Item Shop for 1,200 V-Bucks. She was introduced in Season 4.

What skin in Fortnite is the rarest?

As of November 2021, the rarest skin in Fortnite is undoubtedly the Aerial Assault Trooper skin. Having made its last (and only) appearance during the first-ever Season of Fortnite, it’s one that only the most dedicated, long-term players of the game are likely to possess.

When you install Windows and set up a computer for the first time, the operating system asks you to assign it a name that should be no longer than 15 characters. Since we all have names, our pets have names, and some enthusiasts even name their cars, why not name our computers too? However, you might ask yourself: What is the purpose of a computer name? Can you see it later on? Yes, you do, and here’s how:

What is a computer name, PC name, or device name?

In Windows, a computer name is also called a PC name or device name. They all represent the name given by the operating system, the PC manufacturer, or the user to distinguish that computer from others in a network. It does not matter what the name is, just that there is one. This is why Windows offers you a default name when you install it. An example of a device name is DESKTOP-3Q67JPL, a random string of letters and special characters.

The computer name or device name is visible in many parts of the Windows operating system. For example, when you open the Settings in Windows 11, you see the computer name on the top, next to the thumbnail for your desktop wallpaper. In the screenshot below, you can see that my laptop’s name is SpectreX360. This is the name I’ve given it. Under it, you see what Microsoft considers as the System Product Name, a name given by the manufacturer of your PC, which the user or Windows cannot change. In my case, the System Product Name is HP Spectre x360 Convertible 15-eb1xxx. Yours is probably something completely different. If you’re using a desktop computer you assembled yourself and not one made by a PC manufacturer, the System Product Name is missing.

The computer name displayed by Windows 11

The computer name displayed by Windows 11

But let’s get back to the computer name: it must be unique when your device is part of a network. Otherwise, you can get communication issues and conflicts between two or more computers with the same name. When that happens, others cannot access them or their shared resources correctly.

The computer name or device name can be anything you want. Still, there are some restrictions: a Windows computer name can have up to 63 characters. For the best compatibility, however, you shouldn’t use more than 15 characters. The name can contain letters, hyphens, and numbers. However, you cannot use blank spaces and special characters like: ` ~ @ # $ % ^ & ( ) = + [ ] { } | ; : , ‘ » . / ?.

How to view the device name/computer name in Windows 10 from Settings

One way to see the Device name in Windows 10 is to open Settings (Windows + I), and click or tap System, followed by About. You then see the Device name field in the Device specifications section highlighted below.

In the Windows 10 Settings, go to System data-lazy-src=

In the Windows 10 Settings, go to System > About > Device name

You can also use the search bar in Windows 10. Click or tap in the search field and look for “pc name.” Then, open the “View your PC name” result.

Search for pc name

Search for pc name

This action takes you to the same About page from Settings, where you see the Device name.

TIP: If you don’t like your computer’s name and you want to change it, here’s how to change the computer name in Windows.

How to view the device name/computer name in Windows 11 from Settings

In Windows 11, you can see the computer name in more places than in Windows 10. First, open Settings (Windows + I). You immediately see the System page and the Device name displayed at the top, next to the thumbnail with your desktop wallpaper.

See the computer name at the top of the Windows 11 Settings

See the computer name at the top of the Windows 11 Settings

You can also scroll down the System settings page and click or tap About.

In the Windows 11 Settings, go to System data-lazy-src=

In the Windows 11 Settings, go to System > About

You see information about your PC, starting with the computer name at the top. Under it, there’s also a Device name field with the same information.

See the Device name

See the Device name

You can also use search to get to the Settings page seen above. Click or tap the Search icon on the taskbar, look for “pc name,” and access “View your PC name.”

Search for pc name

Search for pc name

TIP: Read this guide to learn more on how to use Search in Windows 11.

How to view the computer name using the Command Prompt, Powershell, or Windows Terminal

If you prefer command-line environments, you can open CMD, start PowerShell, or launch Windows Terminal, depending on the one you prefer. Then, type this command and press Enter on your keyboard:

hostname

The computer name is shown just under the command, as seen in the screenshot below.

hostname

hostname

You can also run this lengthier command:

wmic computersystem get name

wmic computersystem get name

wmic computersystem get name

Or this one:

net config workstation | findstr /C:»Full Computer name»

The Full Computer name returns the information you need, as shown in the screenshot below.

net config workstation | findstr /C:"Full Computer name"

net config workstation | findstr /C:»Full Computer name»

TIP: If you want to know the workgroup of your Windows computer and how to change it, read: The Windows workgroup and how to change it.

What is your computer name?

Some of the names given by Windows or the manufacturers of our computers can also be funny, not just boring. Therefore, if you happen to come across a fun device name, don’t hesitate to share it with us in a comment below. We’d like to build a collection of funny computer names. Does anyone have a computer named a WhizbangPC or DESKTOP-PR1M3?

Sign in to your How-To Geek account

Change Your Computer Name in Windows 7, 8, or 10

If you’ve ever bought a new computer with Windows already installed, you might be annoyed by the default name of your PC. Or maybe you’re just ready for a change. Here’s how to rename your PC to whatever you like.

Changing your PC’s name involves paying a visit to the «System Properties» window. Starting with Windows 7, it’s a little harder to get to, but here are several routes you can take:

  • Type «sysdm.cpl» into the Start menu search box or the Run box.
  • Head to Control Panel > System and Security > System, and then click the «Advanced system settings» link.
  • In Windows 7, right-click on the «Computer» option on the Start menu, and then click the «Advanced system settings» link.

We’re going to go with the easiest way. Hit Start, type «sysdm.cpl,» and then click the «sysdm.cpl» entry.

In the «System Properties» window, on the «Computer Name» tab, click the «Change» button.

ccn_2

In the «Computer Name/Domain Changes» window, type the new name for your PC into the «Computer name» box. Optionally, if you’ve got several Windows PCs on your local network, you may want to change the workgroup name while you’re here. When you’re done, click the «OK» button.

Windows will now need to restart, so save any files you have open, and then click «OK.»

And once Windows restarts, your PC will have its new name.

By default computer names in Windows 10 tend to be quite plain. By default, they tend to be ‘WIN’ or ‘Desktop’, followed by a string of random letters and numbers. This can make them quite difficult to identify, which leaves many wondering how to change their computer name in Windows 10.

The good news is that to rename a computer in Windows 10 is incredibly easy and there are multiple ways to do it. Doing so shouldn’t have any negative effect on your system or network and is easily reversible.

Today we’re going to show you how to change your computer name in Windows 10 via the settings menu, Control Panel, Command Prompt, and PowerShell. You can return your PC back to default by noting down its name and following the steps again. Let’s get started:

How to Change Computer Name via Settings

Unsurprisingly, the simplest way to change PC name in Windows 10 is via the Settings interface.

  1. Open Settings

    Press the “Start” button, then the settings cog to open Settings.

    Windows 10 - Open Settings

  2. Click the “System” icon

    Windows 10 - Settings - Open System

  3. Rename your computer in Windows 10 Settings

    Click “About” in the sidebar, then scroll down until you see “Rename this PC”. Click the button.

    Windows 10 - Settings - System - About - Rename this PC

  4. Set your Computer name

    Type the new name into the dialog box and click “Yes”. Bear in mind that you won’t be able to use symbols other than a hyphen.

    Windows 10 - Settings - System - About - Rename this PC - Your PC

  5. Restart your PC

    Microsoft will prompt you to restart your PC. You can do this now or later, but it’s best to do it immediately so you can make sure the change has stuck.

    Windows 10 - Settings - System - About - Rename this PC - Your PC Restart Now

How to Change Computer Name in Windows 10 via Control Panel

If you prefer Windows 10’s legacy interface, you can also rename your PC via the Control Panel.

  1. Open Control Panel

    Press “Start” and type “Control Panel”, then click the top result.

    Windows 10 - Open Control Panel

  2. Switch to the small icon view

    Next to the “View by:” heading in Control Panel, click the “Category” dropdown and change it to “Small icons”.

    Windows 10 - Control Panel - Small Icons Category

  3. Open System settings

    Click the “System” heading.

    Windows 10 - Control Panel - All Control Panel Items - Open System

  4. Click “Change Settings”

    Under “Computer name, domain, and workgroup settings”, click “Change settings”.

    Windows 10 - Control Panel - All Control Panel Items - System - Open Change Items

  5. Change PC name in Windows 10 Control Panel

    In the “Computer Name” tab, click “Change…”.

    Windows 10 - Control Panel - System - Change Computer Name - Ok

  6. Enter your new computer name

    Type the new label in the “Computer name” field and press “OK”.

    Windows 10 - Control Panel - System - Change Computer Name - Ok

  7. Press “OK”

    Windows 10 - Control Panel - System - Change Computer Name - Restart to Apply

  8. Click “Close”

    Windows 10 - Control Panel - System - Change Computer Name - Restart to Apply - System Properties

  9. Choose “Restart Now”

    You’ll see your new name once your PC reboots.

    Windows 10 - Control Panel - System - Change Computer Name - Restart to Apply - System Properties - Restart Now

How to Change Computer Name via CMD

If you’d prefer to change computer name via the command-line, Command Prompt is also an option. This tends to be quicker and is helpful if you don’t have access to a GUI, on a Windows Server install for example.

  1. Open CMD

    Press “Start” and type “cmd”, then click “Run as administrator” next to the “Command Prompt” entry.

    Windows 10 - Open An Elevated Command Prompt

  2. Enter the change computer name CMD command

    In Command Prompt, type the following and press “Enter”:

    wmic computersystem where name="%computername%" call rename="YOUR-NEW-NAME"

    Naturally, you should change Your-New-Name for your PC name of choice. You’ll likely have to restart your PC for these changes to take effect.

    Windows 10 - Elevated Command Prompt - Copy and Paste the Command

How to Change Computer Name in PowerShell

Alternatively, you can use a PowerShell command to change computer name if you’re more comfortable with the tool.

  1. Open PowerShell

    Press “Windows + X” to open the Start menu flyout, then click “Windows PowerShell (Admin)”.

    Windows 10 - Open PowerShell as Admin

  2. Type the PowerShell change computer name command

    Enter the following in PowerShell and press “Enter”, substituting ‘Winbuzzer-Desktop’ with your preferred name.

    Rename-Computer -NewName "WINBUZZER-DESKTOP"

    Restart your PC for the changes to take effect.

    Windows 10 - Elevated PowerShell - Copy and Paste the Command

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Сколько процессоров поддерживает windows 10 pro
  • Не удаляется nvidia geforce experience windows 10
  • Наушники показывает как динамики windows 10
  • Как поменять дату в биосе windows
  • C image controls windows system