Windows client name is derived from config file name when importing to WireGuard and it only accepts names satisfying /^[a-zA-Z0-9_=+.-]{1,32}$/. For more information look at af60ab2299/conf/name.go (L24).
af60ab2299/conf/name.go (L24)