How to Change Your Device Name for Nearby Sharing in Windows 11
Do you use Nearby Sharing to send files to other people? It is a great way to move photos or documents quickly using Bluetooth or Wi-Fi. By default, your computer shows its boring, technical name to others. Now, you can give it a friendly nickname.
Why do this? Using a custom name makes it much easier to spot your computer when you are trying to send a file to your own device or a friend’s device.
What happens when done? Your computer will broadcast your chosen nickname instead of its system name whenever you use the Nearby sharing feature or connect to a network.
Computer Name vs. Device Manager Names
It is important to know that your “Computer Name” (or hostname) is different from the hardware names found in Device Manager. The computer name is what other devices see on your network. Device Manager names refer to specific hardware drivers, like your graphics card or network adapter. Changing your computer name will not change your hardware driver names.
Change Your Device Name via System Settings
This is the easiest way to rename your PC for network discovery and Nearby Sharing.
- Open the Settings app by pressing Windows key + I.
- Go to System and select About at the bottom of the list.
- Click the Rename this PC button.
- Enter your new name and click Next.
- Restart your computer to apply the changes.
Note: This method requires admin privileges.
Rename Using PowerShell
Advanced users can use the Rename-Computer cmdlet to change the name quickly.
- Right-click the Start button and select Terminal (Admin).
- Type the following command and press Enter:
Rename-Computer -NewName "New-Friendly-Name" - Restart your computer to finish.
Note: This method requires admin privileges.
Advanced Registry Method
If you only want to change the name for Nearby Sharing without changing your system hostname, you can edit the registry.
Warning: This method requires admin privileges. Be careful, as changing registry settings can affect your system.
- Open the Registry Editor by searching for regedit in the Start menu.
- Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters - Right-click in the empty space, select New, then String Value.
- Name it
ShareFriendlyDeviceName. - Double-click it and enter your preferred name.

Summary
Renaming your PC makes it easier to identify your device on a network and when using Nearby Sharing. You can change your system name through the About settings page, use the Rename-Computer PowerShell command, or modify the ShareFriendlyDeviceName registry key for specific sharing preferences. For more details, visit the official Microsoft Support page.”
}
Does changing my device name affect my Microsoft Account?
No, changing your local device name does not affect your Microsoft Account. Your account settings, cloud storage, and linked services remain tied to your email address, not the name of the physical hardware you are using to access them.
Why does my device name have a number appended to it?
Windows often appends a number to your device name if it detects a conflict on your local network. This ensures that every device has a unique identifier so that network discovery and file sharing protocols do not get confused by duplicate names.
Was this guide helpful?
Leave a Reply Cancel reply