How to permanently disable advertising on Xiaomi Redmi Note 7: system and in applications

Xiaomi Redmi Note 7 is one of the most popular laptops in the budget segment, but many users are annoyed by built-in advertising in MIUI (if it is a version on Android) or preinstalled advertising services in the Windows version of the device. Unlike smartphones, where advertising can be disabled through hidden settings, on laptops the algorithm of actions is different – and often requires intervention in system files or the installation of additional software.

In this article, we'll look at all the current ways to remove ads, from basic settings to deep cleaning. It's important to understand that some methods may require administrator rights or even a rollback to factory firmware. If you're not sure about yourself, start with the simplest steps and move to radical ones only when necessary.

Note: The instructions below are suitable for Xiaomi Redmi Note 7 Windows-based 10/11 (RedmiBook models 14/16) and for rare versions of MIUI For PC (if your laptop is running on the computer) Android-x86). Check your firmware in the menu settings β†’ System system β†’ About the system.

1. Disable ads in MIUI (if the laptop is on Android)

If your Redmi Note 7 runs on MIUI for PC (e.g. MIUI 12/13 firmware for x86), the ad removal algorithm is similar to smartphones. The main sources of advertising here are system applications (Mi Browser, Mi Video, GetApps) and push notifications.

The first step is to disable personalized ads in Xiaomi account settings:

  1. Open your Settings β†’ Xiaomi Account β†’ Mi Account.
  2. Go to Account Management β†’ Advertising settings.
  3. Turn off the sliders: πŸ”˜ Personalized recommendations πŸ”˜ Interest-based advertising πŸ”˜ Push notifications from Xiaomi

Next, remove unnecessary system applications (root rights required):

adb shell pm uninstall --user 0 com.miui.systemAdSolution


adb shell pm uninstall --user 0 com.xiaomi.midrop

⚠️ Attention: Removal of system APK It can lead to unstable work. MIUI. Before that, create a backup copy through Settings. β†’ Additionally. β†’ Backup.

πŸ’‘

If after removing the applications, the laptop began to slow down, return them with the command adb shell cmd package install-existing <name packet>.

2. Removal of preinstalled software in Windows

In the Windows version of Redmi Note 7 (RedmiBook models), ads are most often coming from pre-installed programs like McAfee Trial, Xiaomi Services or Mi PC Suite, which not only show banners, but also collect data about your activity.

To remove them:

  1. Press Win + R, enter appwiz.cpl and press Enter.
  2. Find it on the list: πŸ—‘οΈ McAfee Security Scan Plus πŸ—‘οΈ Xiaomi PC Manager πŸ—‘οΈ Mi Service Framework πŸ—‘οΈ Kingsoft Office (if not used)

Delete

For complete residue cleaning, use CCleaner or manually check folders:

  • πŸ“ C:\Program Files (x86)\Xiaomi
  • πŸ“ C:\Users\<Your name.>\AppData\Local\Xiaomi

Delete programs through Control Panel | Clear temporary files CCleaner | Check Xiaomi folders in Program Files | Disable background processes in Task Manager-->

3. Blocking ads through hosts file

One of the most effective ways is to edit the hosts file, which will block access to Xiaomi ad servers and third-party applications, and works on both Windows and MIUI for PCs.

Instructions for Windows:

  1. Open Notepad on behalf of the administrator (right click β†’ Launch on behalf of the administrator).
  2. From the notebook menu, select File β†’ Open and follow the path C:\Windows\System32\drivers\etc\hosts.
  3. Add the following lines at the end of the file: 127.0.0.1 ad.xiaomi.com 127.0.0.1 sdkconfig.ad.xiaomi.com 127.0.0.1 tracking.miui.com 127.0.0.1 data.mistat.xiaomi.com 127.0.0.1 o2o.api.xiaomi.com
  4. Save the file (maybe you need to confirm the administrator rights).

For MIUI on PC, the path to the hosts file is /system/etc/hosts. You can only change it with root rights through a Root Explorer file manager.

⚠️ Attention: Incorrect editing of hosts can lead to loss of Internet access.Before changes, back up the file.

System banners in MIUI|Advertising in pre-installed applications|Push notifications|Browser advertising-->

4. Set up Windows Firewall to block ads

If editing hosts seems complicated, you can use a Windows firewall to block suspicious connections. This method does not require administrator rights (standard user rights are enough).

Steps:

  1. Open Control Panel β†’ Windows Firewall β†’ Additional settings.
  2. In the left menu, select the Rules for Outbound Connection β†’ Create a Rule.
  3. Specify the type of rule: Customizable β†’ Next.
  4. In the Program field, select All Programs.
  5. In the Protocols and Ports section, leave any protocol.
  6. To The Domain. β†’ Remotely IP-Add addresses: 🌐 ad.xiaomi.com 🌐 sdkconfig.ad.xiaomi.com 🌐 tracking.miui.com

Block the connection

Apply the rule to all profiles (domain, private, public).

Once you've applied the rules, restart your laptop. To check the effectiveness, open Command Prompt and do:

ping ad.xiaomi.com

If the answer is not available, the rule works.

What if the firewall does not block advertising?
If you still have ads after setting up the rules, check: 1. Antivirus – some (like Avast) intercept traffic and may ignore firewall rules. 2. VPN/Proxy – if you use, disable and check again. 3. Windows updates – sometimes reset your firewall settings. After the update, repeat the steps.

5. Use of third-party anti-advertising utilities

If manual methods don't work, you can use specialized programs.

  • πŸ›‘οΈ AdGuard – Blocks Advertising at Level DNS browser.
  • πŸ›‘οΈ uBlock Origin (browser extension).
  • πŸ›‘οΈ Simplewall – Free Firewall to block connections.

For MIUI on PC:

  • πŸ›‘οΈ Blokada (requires root).
  • πŸ›‘οΈ DNS66 β€” Blocking Advertising Through Change DNS.

Example of AdGuard configuration:

  1. Download and install the program from the official website.
  2. When installing, select Install Network Filter Driver.
  3. In the settings, turn on: πŸ”§ Filtration HTTPS πŸ”§ Locking down trackers πŸ”§ Filter Xiaomi Ads (in the Customization section) β†’ Filters)
ProgrammeType of lockdownRequired. root/chiefFree version
AdGuardDNS + browserNo.Yes (with limitations)
uBlock OriginbrowserNo.Yes.
SimplewallfirewallYes.Yes.
BlokadaDNS/VPNNo (but you need MIUI rights)Yes.

πŸ’‘

AdGuard and uBlock Origin block up to 90% of ads, but root rights will be required to completely remove system banners in MIUI.

6. Resetting the laptop to factory settings (last resort)

If none of these things work, you'll have to reset the system completely, and that will delete all the pre-installed advertising modules, but it will also erase all your data.

  • πŸ’Ύ Backup important files to an external drive.
  • πŸ“ Write down the license keys of the programs (if any).
  • πŸ”„ Make sure you have a Windows installation drive (for Windows models) or firmware MIUI (Android-based).

Instructions for Windows:

  1. Open Options β†’ Update and Security β†’ Recovery.
  2. In the section Return the computer to the original state, click Start.
  3. Select Remove Everything β†’ Local Reinstallation (if you need to save Windows).
  4. Follow the instructions on the screen (the process will take 30-60 minutes).

For MIUI on PC:

  1. Go to Settings β†’ About the phone β†’ Reset settings.
  2. Choose Delete Everything and confirm the action.
  3. After restarting, set up your laptop as new.

⚠️ Note: Some Xiaomi firmware automatically installs advertising services after resetting. To avoid this, turn off the Internet during the first setup and immediately remove unnecessary applications.

7.Alternative firmware: complete elimination of advertising

If you're willing to take drastic measures, you can install custom firmware. For Redmi Note 7 on Windows, you can:

  • πŸ–₯️ Windows 11 LTSC β€” version without pre-installed software.
  • πŸ–₯️ Linux (Ubuntu, Mint) – completely ad-free OS.

For MIUI on PC, you can try:

  • πŸ€– LineageOS for x86 (If you find a build for your model).
  • πŸ€– Phoenix OS β€” Optimized Android for PC without Advertising.

The process of installing alternative firmware is complex and requires:

  • πŸ”§ Create a bootable flash drive (Rufus for Windows, BalenaEtcher for Linux).
  • πŸ”§ Secure Boot shutdowns in BIOS.
  • πŸ”§ Backup of data (risk of loss of information) ~10%).

For detailed instructions on firmware, look for 4PDA or XDA-Developers forums (specify the exact model of the laptop!).

πŸ’‘

Before installing custom firmware, check for compatibility with your laptop’s hardware. For example, some Linux builds may not support a touchpad or Xiaomi Wi-Fi module.

Frequently asked questions

❓ Why does the ads still appear after the application is removed?
Most likely, advertising is built into system processes (for example, MiuiDaemon or XiaomiServiceFramework). Try: Disable them in Task Manager β†’ Autoboot. Use AdGuard with a Xiaomi Ads List filter.
❓ Can I turn off advertising without root rights?
Yes, but not completely. Without root, you can: Remove some pre-installed apps; block ad domains through hosts or firewall; use anti-ad extensions in your browser; but the system banners in MIUI will remain.
❓ How to return remote system applications?
After removal ADB-Teams laptop began to work unstable, restore the application: Connect the device to the PC and open ADB. Execute the command: adb shell cmd package install-existing <packet> For example, GetApps: com.xiaomi.mipicks.
❓ Will the factory reset remove licensed Windows?
No, the Windows 10/11 license on the Xiaomi Redmi Note 7 is tied to the motherboard. Once reset, the system is activated automatically when connected to the Internet.
❓ What are the risks of editing a hosts file?
Principal risks: 🚫 Losing the Internet if you edit the file incorrectly. 🚫 Blocking the right sites if you add extra records. 🚫 Reset when updating Windows (hosts can return the original state).Always back up the file before making changes!