Skip to content
Windows 🟡 Intermediate

How to Change Workgroup on Windows 11

Richard
Written by
Richard
Updated 6 min read
How to Change Workgroup on Windows 11
How to Change Workgroup on Windows 11
Before you start
  • 14 steps
  • Needs administrator rights
  • Includes a restart or sign-out

A workgroup is a shared label that helps computers find each other on a local network to exchange files and printers. Windows computers use the default name WORKGROUP. You can replace it with a name of your choosing, such as one for the office and another for a home lab.

Computers with the same workgroup name appear together when you browse the network. Every PC you want in the group must use exactly the same name.

Learn more about turning file and printer sharing on or off in Windows 11.

⚡ Quick Answer

To change your workgroup name in Windows 11, open Settings, select System About, then choose Domain or workgroup (or Advanced system settings), select the Computer Name tab, and select Change. Choose Workgroup, enter the new name of 15 characters or fewer with no spaces, select OK, and restart your PC.

Advertisement

How to Change Your Workgroup Using Windows Settings

Settings is the easiest method. It works the same on Home and Pro editions of a currently supported Windows 11 version (25H2 or 26H2). Sign in with an administrator account, or have an administrator’s password ready.

  1. Open Settings. Select Start, then Settings, or press Win+I.
    Windows 11 Start menu search panel for opening OpenSSH Client settings
    Windows 11 Start menu search panel for opening OpenSSH Client settings
  2. Select System on the left side.
    Settings › System
    Settings › System
  3. Scroll down on the right and select About. This page shows your device name, processor, RAM and Windows edition.
    Settings › System › About
    Settings › System › About
  4. Under Related links near the top of the page, select Advanced system settings. A permission prompt may appear. If you are signed in as a standard user, Windows asks for an administrator’s password instead.
    windows about advanced system settings
    windows about advanced system settings
Advertisement

The System Properties window opens, usually on the Advanced tab. The Related links area on the About page also has a Domain or workgroup link. It opens the same window directly on the Computer Name tab and saves you a click. Before you change anything, note your current workgroup name, which appears on the Computer Name tab. With the old name written down, you can switch back later.

  1. Select the Computer Name tab. It shows the computer description, full computer name and current workgroup.
  2. Select Change. This opens a window for renaming the computer or changing its membership.
    System Properties Computer Name tab
    windows system properties computer name tab
  3. Choose Workgroup and enter the new name. If Workgroup is already selected, replace the text in the box.
    ⚠️WarningThis window controls whether the PC belongs to a domain or a workgroup. If the PC is joined to a work or school domain, the Domain option is selected. Do not change it on a managed PC without asking your IT department. For a home or small-office PC, you want the Workgroup option.
  4. Select OK. Windows usually shows a welcome message for the new workgroup, then prompts you to restart.
    Computer Name and Domain Changes window
    windows computer name and domain change window

Check the name before you select OK, because Windows rejects names it does not accept. Keep the name to 15 characters or fewer.

Advertisement
📝ImportantWorkgroup names cannot contain spaces or specific restricted characters:` ~ @ # $ % ^ & ( ) = + [ ] { } | ; : , ' " . < > / ?

Restart your computer to apply the new name. Close your open work first, then select Start, the power button, and Restart.

Advertisement
Workgroup name changed successfully
windows change workgroup name complete

After the restart, repeat steps 1 to 5 and check the Workgroup line on the Computer Name tab. It shows your new name. To undo the change, follow the same steps and enter the old name.

If other PCs still do not show up on the network, check that they use exactly the same workgroup name. Also check that the network profile is set to Private and that network discovery and file sharing are turned on under the advanced sharing settings.

Change Workgroup Using Command Prompt

Command Prompt changes the workgroup name with a single command. It needs administrator rights, and a restart finishes the change.

  1. Open Command Prompt as an administrator. Type cmd in the Start menu, right-click Command Prompt, and select Run as administrator. Select Yes if the User Account Control prompt (the permission check Windows shows for admin tasks) appears. %📂%FLAG_ADMIN%% The window title reads Administrator: Command Prompt.
  2. Run this command to set the new name. Replace YourWorkgroupName with the name you want:
    ⬛Command Prompt
    wmic computersystem where name="%computername%" call joindomainorworkgroup name="YourWorkgroupName"

    Use a name with no spaces and no restricted characters, the same rules as the Settings method. If you get an error, check that the window title says Administrator. If it still fails, use the Settings or PowerShell method instead.

    This example switches to a workgroup named GEEKREWIND:

    ⬛Command Prompt
    wmic computersystem where name="%computername%" call joindomainorworkgroup name="GEEKREWIND"
  3. Restart your PC. The new name does not appear in System Properties until you do.
Advertisement

Change Workgroup Using Windows PowerShell

Windows PowerShell (a command-line shell with its own command set) is another way to make the same change. It also needs administrator rights.

  1. Open PowerShell as an administrator. Type powershell in the Start menu, right-click Windows PowerShell, and select Run as administrator. %📂%FLAG_ADMIN%%
  2. Run this command to set the new name. Replace YourWorkgroupName with the name you want:
    ⬛PowerShell
    Add-Computer -WorkGroupName "YourWorkgroupName"

    This example changes the workgroup to GEEKREWIND:

    ⬛PowerShell
    Add-Computer -WorkGroupName "GEEKREWIND"
  3. Restart your computer. Then open System Properties and confirm the name on the Computer Name tab.

Summary

After the restart, the Computer Name tab in System Properties shows your new workgroup, and PCs with the same name appear together under Network. To go back, repeat any of the three methods with your old workgroup name. If a PC is missing from the list, check its workgroup name first, since a one-character difference keeps it out of the group.

Frequently asked questions

How to remove workgroup in 🪟 Windows 11?

You cannot delete a workgroup in Windows 11, because every PC belongs to one. To leave the current one, give the computer a different workgroup name. Open Settings, select System, then About, then Advanced system settings. On the Computer Name tab, select Change, choose Workgroup, enter a new name, select OK, and restart.

How to remove workgroup in 🪟 Windows 11 in CMD?

Windows has no command that deletes a workgroup. Instead, run a command that sets a new name. Open Command Prompt as an administrator and type wmic computersystem where name="📂%computername%" call joindomainorworkgroup name="WORKGROUP", using the name you want in place of WORKGROUP. Restart your PC afterward.

How to change workgroup in win11?

Open Settings, select System, then About, and select Advanced system settings under Related links. On the Computer Name tab, select Change, choose Workgroup, type the new name, and select OK. Restart your PC to apply it. The name can be up to 15 characters with no spaces.

What is the default workgroup in 🪟 Windows 11?

The default workgroup name in Windows 11 is WORKGROUP. Every Windows PC uses it until you change it. You can replace it with any name of 15 characters or fewer, such as one for your office or home lab. Every PC you want in the group must use the exact same name.

Why should you change the standard workgroup name secuirty?

Changing the workgroup name does not protect your PC. It only groups computers so they appear together when you browse the network and share files and printers. Changing it is useful for organizing, such as keeping an office group separate from a home lab. For protection, rely on passwords and your sharing settings instead.

How to check which workgroup network 🪟 Windows 11?

Open Settings, select System, then About, and select Advanced system settings under Related links. Select the Computer Name tab. The Workgroup line shows the workgroup your PC currently uses. You can also select Domain or workgroup in the About page's Related links to open this tab directly.

Still have a question?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *