Windows 11 pick a side: underscores or hyphens


Today, while setting up my home network, I noticed something strange with my device names. My PC is named YARASLAU-PC, while my laptop is YARASLAU_MS.

I tried renaming my PC to match the style of my laptop, but I ran into a problem: Windows 11 doesn’t let me use '_' in the PC name. On the other hand, I can’t use '-' on my laptop.

Both devices are using the ENG-US layout, so I'm definitely typing the correct characters. I'm not sure if this is a bug or intended behavior…

Both devices are running Windows 11 25H2 – 26200.7171

Leave a Reply