How to completely disable Wi-Fi connection via QR code: instructions for all routers

QR codes for Wi-Fi connections have become a popular way to simplify network access—scanning the code with your smartphone automatically connects your device without entering a password. However, this method creates significant security risks. security vulnerabilitiesAnyone who gains access to the QR code (for example, from a sticker on the router or a printout) will be able to connect to your network. This is especially dangerous for offices, guest networks, or homes with many visitors.

In this article we will look at how completely disable QR code connection on routers from different manufacturers - from budget ones TP-Link And D-Link to advanced ASUS And KeeneticWe'll also explain why hiding the SSID or changing the password doesn't solve the problem, and what alternative security methods are worth using.

Why is a Wi-Fi QR code a risk?

The QR code contains encrypted network data: SSID, encryption type (WPA2/WPA3) and a password. If the code falls into the wrong hands, an attacker will be able to:

  • 🔍 Connect to the network without your knowledge and use it for illegal activities (torrents, hacker attacks).
  • 📡 Intercept traffic other devices if the network is not secure WPA3 or VPN.
  • 🔄 Distribute malware over a local network (for example, through vulnerabilities in DLNA or SMB).
  • 📱 Attack connected devices (smartphones, smart speakers, cameras) through exploits.

Many users mistakenly think that it is enough remove the QR code sticker on the router. However, the code can be regenerated through the router settings or special applications (for example, WiFi QR Generator). The only reliable way is disable the function at the firmware level.

📊 Have you ever used a QR code to connect to Wi-Fi?
Yes, often
Yes, but rarely
No, never.
I don't know what this is

Method 1: Disabling the QR code in the router's web interface

Most modern routers allow you to disable QR code generation through the admin panel. The instructions vary by model, but the general procedure is as follows:

  1. Connect to the router via cable or Wi-Fi (use a device that is already on the network).
  2. Open your browser and enter the router's IP address (usually 192.168.0.1, 192.168.1.1 or 192.168.8.1).
  3. Enter your login and password (by default it is often admin/admin or indicated on the sticker).
  4. Go to the section Wireless network (or Wi-Fi, Wireless).

Further steps depend on the firmware:

Router brand Path to setup Option to disable
TP-Link (Archer, Deco) Advanced settings → Wireless mode → QR code Disable Enable QR code for connection
ASUS (RT-AX, GT-AX) Wireless Network → General → QR Code Flip the switch Enable QR Code in position Off
Keenetic Wi-Fi → Hotspot → QR code Uncheck the box Allow connection via QR code
D-Link (DIR, COVR) Wi-Fi → Basic Settings → QR Code Choose Disable in the section QR Code Authentication
Xiaomi/Mi Settings → Wi-Fi → Advanced Disable Quick connection via QR code

If your model doesn't have an explicit option to disable the QR code, try update firmware — This feature often appears in new versions. You can download the latest firmware from the manufacturer's official website (section Support or Downloads).

Back up your router settings|Check your current firmware version|Connect via cable (in case you lose Wi-Fi)|Write down your current Wi-Fi settings (SSID, password)-->

Method 2: Blocking via Telnet/SSH (for advanced users)

Some routers (eg. ASUS with firmware Merlin or OpenWRT) allow you to disable the QR code via the command line. This method is suitable if the required option is not available in the web interface.

To begin with enable SSH/Telnet access:

  1. In the admin panel, find the section Administration or System tools.
  2. Activate Remote control or SSH (default port is 22).
  3. Connect to the router via PuTTY (Windows) or Terminal (macOS/Linux) with the command:
    ssh admin@192.168.1.1

    (replace admin to your login and current IP).

Next, run the commands depending on your firmware:

  • 🐧 For OpenWRT:
    uci set wireless.@wifi-iface[0].qrcode='0'
    

    uci commit

    /etc/init.d/network restart

  • 🔧 For ASUS Merlin:
    nvram set qrcode_enable=0
    

    nvram commit

    service restart_wireless

Attention! Incorrect commands can disrupt the router's operation. If unsure, use method 1 or 3.

What should I do if Wi-Fi disappears after the commands?

If the access point stops working after executing the commands, connect to the router via cable and reset the settings using the button Reset (Hold for 10 seconds). Then configure Wi-Fi again through the web interface.

Method 3: Change the security standard to WPA3

QR codes for Wi-Fi only work with networks that use WPA2-PSK (the most common standard). If you switch to WPA3-PSK, most devices will not be able to generate a working QR code—the encryption format will change, and old generation algorithms will become incompatible.

How to enable WPA3:

  1. In the router admin panel, go to Wireless Network → Security Settings.
  2. In the field Network authentication (or Security Mode) select WPA3-Personal.
  3. Set a new password (at least 8 characters, with numbers and special characters).
  4. Save the settings and reconnect all devices.

Important: WPA3 is not supported by devices older than 2018 (e.g., smartphones running Android 9 and below, older printers, or smart TVs). Check compatibility with your devices before switching.

Method 4: Disabling WPS (indirect QR lock)

Function WPS (Wi-Fi Protected Setup) is closely related to QR codes—many routers use it to generate codes. Disabling WPS can automatically block QR connections.

How to disable WPS:

  1. In the router's web interface, find the section WPS (usually in Wireless network or Security).
  2. Move the switch to the position Disable or uncheck the box Enable WPS.
  3. Save the settings and reboot the router.

After disconnection WPS Check if the QR code generation option has disappeared in your Wi-Fi settings. If not, use Method 1 or 2.

⚠️ Attention: On some routers (for example, Zyxel Keenetic) shutdown WPS may reset your guest network settings. Before changing any settings, write down your current settings.

Method 5: Physical blocking (for corporate networks)

If the router is used in an office or public place where access to the admin panel is limited, you can use physical measures:

  • 🔒 Paste the sticker with the QR code with opaque tape or remove it completely (on some models it is removable).
  • 📋 Disable the generation of new codes via group policy (for routers with support Radius servers or Active Directory).
  • 🔌 Disconnect the USB port (if the router supports connecting a printer or storage device for printing QR codes).
  • 📡 Use a separate router for the guest network with the QR code disabled and limited access to the main network.

To be completely sure, combine physical and software methods. For example, apply a sticker. And Disable QR code in settings.

What if the QR code still works?

If after all manipulations connection via QR code is still possible, check:

  1. Router firmware: some older versions (for example, for TP-Link TL-WR841N) don't support disabling QR codes. Update your firmware or replace your router.
  2. Mobile applications: producers (for example, Xiaomi or Huawei) can generate codes through their applications (Mi WiFi, HiLink). Remove them or revoke permissions.
  3. Guest network: Sometimes the QR code only works for guest Wi-Fi. Disable it or configure it separately.

If the problem persists, contact the manufacturer's support and check whether your model supports QR code blocking. As a last resort, consider purchasing a router with open firmware (For example, GL.iNet or Ubiquiti), where all functions are configured manually.

FAQ: Frequently asked questions about blocking QR codes

Is it possible to disable the QR code only for the guest network, while leaving it for the main one?

Yes, on most routers, QR code settings are tied to a specific access point. In the admin panel, find the section Guest network and disable the code generation option for it only. The main network will remain unchanged.

Will Wi-Fi Direct or Miracast work after disabling QR?

Yes, these technologies use different authentication protocols (Wi-Fi Direct WPS-PBC, A Miracast - on Wi-Fi Display). Disabling the QR code does not affect their operation.

How can I check if the QR code is really disabled?

Generate a new QR code through your router settings (if available) and try connecting from another device. If the connection fails, the feature is blocked. You can also use apps like QR & Barcode Scanner (Android) or QR Reader (iOS) to check the code content - it should not contain your network data.

Is it possible to return the QR code back if needed?

Yes, all changes are reversible. Simply re-enable the option in the router settings or restore the previous firmware (if you updated it). We recommend backing up your configuration using the [Restore] section before disabling. System Tools → Backup.

Why do manufacturers add QR codes if they are unsafe?

QR codes simplify connection for inexperienced users (such as the elderly or guests). Manufacturers believe that in home settings, the risk is minimal, and the convenience outweighs the potential risks. However, for offices or networks with sensitive data, this feature is truly dangerous.