Network and Internet Reset Data Usage Stats for Network Connection in Windows 11


  • Staff
Data_usage_banner.png

This tutorial will show you how to manually reset data usage stats back to zero as needed for networks in Windows 11.

In Windows 11, you can view the data usage of networks from the last 30 days. The data usage is itemized per type of network (ex: Wi-Fi or Ethernet), and by app usage.

The data usage stats for networks will automatically reset every 30 days (each month).

Starting with Windows 11 build 23466, Microsoft has added additional options to the Data Usage page that allows for daily and weekly data limits. The page will also now show how far a data limit has been exceeded.


You must be signed in as an administrator to reset data usage stats for a network.



Contents

  • Option One: Reset Data Usage Stats for Specific Network in Settings
  • Option Two: Reset Data Usage Stats for All Networks in Command Prompt
  • Option Three: Reset Data Usage Stats for All Networks using BAT file


EXAMPLE: Data usage stats reset for a network connection

Reset_data_usage_Settings-4.png





Option One

Reset Data Usage Stats for Specific Network in Settings


1 Open Settings (Win+I).

2 Click/tap on Network & internet on the left side, and click/tap on Data usage at the top on the right side for the network connection you want. (see screenshot below)

Reset_data_usage_Settings-1.png

3 Click/tap on the reset button for Reset usage stats at the bottom. (see screenshot below)

Reset_data_usage_Settings-2.png

4 Click/tap on Reset to confirm. (see screenshot below)

Reset_data_usage_Settings-3.png

5 You can now close Settings if you like.




Option Two

Reset Data Usage Stats for All Networks in Command Prompt


1 Open Windows Terminal (Admin), and select Command Prompt.

2 Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below)

net stop DPS & DEL /F /S /Q /A "%windir%\System32\sru\*" & net start DPS

3 When finished, you can close Windows Terminal (Admin) if you like.

Reset_data_usage_for_all_networks_command.png





Option Three

Reset Data Usage Stats for All Networks using BAT file


1 Click/tap on the download button below to download the Reset_data_usage_for_all_network_connections.bat file.


(Contents of BAT file for reference)
Code:
powershell -windowstyle hidden -command "Start-Process cmd -ArgumentList '/s,/c,net stop DPS > NUL 2>&1 & DEL /F /S /Q /A "%windir%\System32\sru\*" & net start DPS > NUL 2>&1' -Verb runAs"

2 Save the BAT file to your desktop.

3 Unblock and run the BAT file.

4 If prompted by UAC, click/tap on Yes to approve run as administrator.

5 You will now see a command prompt flash and quickly open and close to reset the data usage stats of all network connections on the computer.


That's it,
Shawn Brink


 

Attachments

  • Data_usage.png
    Data_usage.png
    5.1 KB · Views: 114
  • Reset_data_usage_for_all_network_connections.bat
    361 bytes · Views: 244
Last edited:
Very nice, thanks; ... especially the bat file !
 

My Computer

System One

  • OS
    WIN 11 / WIN 10 dual boot
    Computer type
    PC/Desktop
    Manufacturer/Model
    No clue (x64 based) from 2016
    CPU
    Intel Pentium G 4400 (Skylake)
    Motherboard
    MS 7971, Bios: American Megatrend C.E0 (2018)
    Memory
    DDR4 12 GB
    Graphics Card(s)
    internal (Intel HD 510)
    Hard Drives
    2x Western Digital (no SSD)
Thank You, very useful tool. Is there any way to make it run invisible, I have tried creating a shortcut and set it to
run minimized, although this will not work, can I edit the bat to make this happen.
I know how to do this, I just do not know what command to use. I am in the process of learning how to create .bat files
Thank You
 

My Computer

System One

  • OS
    Win 11
Thank You, very useful tool. Is there any way to make it run invisible, I have tried creating a shortcut and set it to
run minimized, although this will not work, can I edit the bat to make this happen.
I know how to do this, I just do not know what command to use. I am in the process of learning how to create .bat files
Thank You

Hello ROX1, :-)

You could probably create an elevated task in Task Scheduler to run the command in option 2 silently.

It'll use the same process below, but just substitute the command in option 2 at step 8.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Back
Top Bottom