Windows 10: Reset Network Data Usage in Windows 10  

Page 5 of 6 FirstFirst ... 3456 LastLast
  1.    10 May 2017 #40

    Polo6RGTI said: View Post
    I have updated the script again. I added a Y/N option and a color change when yes is selected.
    A useful addition to the script for many I think.
    However, I haven't tried this because I use 4G for my broadband, not a landline, and my metered allowance starts on 4th of each month - so I have set up a schedule to run the script at 00:00:01am on the 4th of every month and a pause to accept running the script is not practical.
      My ComputerSystem Spec

  2. Polo6RGTI's Avatar
    Posts : 417
    Windows 10 Pro WS x64 17134.320
       10 May 2017 #41

    pewe said: View Post
    A useful addition to the script for many I think.
    However, I haven't tried this because I use 4G for my broadband, not a landline, and my metered allowance starts on 4th of each month - so I have set up a schedule to run the script at 00:00:01am on the 4th of every month and a pause to accept running the script is not practical.
    I have removed the Y/N option and the pause in the script.
    Code:
    @ECHO OFF
    :: BatchGotAdmin (Run as Admin code starts)
    REM --> Check for permissions
    >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
    REM --> If error flag set, we do not have admin.
    if '%errorlevel%' NEQ '0' (
    echo Requesting administrative privileges...
    goto UACPrompt
    ) else ( goto gotAdmin )
    :UACPrompt
    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
    echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
    "%temp%\getadmin.vbs"
    exit /B
    :gotAdmin
    if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
    pushd "%CD%"
    CD /D "%~dp0"
    :: BatchGotAdmin (Run as Admin code ends)
    :: Your codes should start from the following line
    COLOR 1F
    ECHO.
    ECHO Commencing with Data Usage Reset:
    ECHO.
    ECHO Stopping Diagnostic Policy Service
    ECHO.
    net stop DPS > NUL 2>&1
    ECHO Resetting Data Usage
    ECHO Y | del /f /q "C:\Windows\System32\sru\*.*" > nul
    ECHO.
    ECHO Restarting Diagnostic Policy Service
    ECHO.
    net start DPS > NUL 2>&1
    ECHO.
    CLS
    ECHO Data Usage was Reset to 0
    exit
      My ComputersSystem Spec

  3.    10 May 2017 #42

      My ComputerSystem Spec

  4. Polo6RGTI's Avatar
    Posts : 417
    Windows 10 Pro WS x64 17134.320
       11 May 2017 #43

    I submitted my script yesterday to MajorGeeks.com for review and it was posted today.

    http://www.majorgeeks.com/files/deta...e_scripts.html
      My ComputersSystem Spec

  5.    11 May 2017 #44

      My ComputerSystem Spec

  6. Polo6RGTI's Avatar
    Posts : 417
    Windows 10 Pro WS x64 17134.320
       11 May 2017 #45

    I'm updating the script to include more features.
      My ComputersSystem Spec

  7. Polo6RGTI's Avatar
    Posts : 417
    Windows 10 Pro WS x64 17134.320
       12 May 2017 #46

    Windows 10 Data Usage Reset Script 1b


    Download link to the latest update of the script:
    http://www.majorgeeks.com/files/deta...e_scripts.html
      My ComputersSystem Spec

  8. Polo6RGTI's Avatar
    Posts : 417
    Windows 10 Pro WS x64 17134.320
       14 May 2017 #47

    Windows 10 Data Usage Reset Script 1c


    I have now added two extra features to the script. A backup option is now offered before a reset is done. To compliment the backup feature one of the scripts can now be used to do a restore of files from a previous backup. Please note the restore process is semi-auto and requires the user to select and copy the backup files to the restore folder. From there the script will restore the files back to the default system folder.

    http://www.majorgeeks.com/files/deta...e_scripts.html
      My ComputersSystem Spec

  9. Brink's Avatar
    Posts : 33,055
    64-bit Windows 10 Pro build 18252
    Thread Starter
       21 May 2017 #48

    Starting with Windows 10 build 16199, you can now reset network data usage stats from Settings.
      My ComputersSystem Spec

  10.    16 Jun 2017 #49

    I don't have such a button like "Reset usage stats" in my Win10 (Creators Update).
    Where exactly can I delete this statistic from "Settings" as Brink wrote?
      My ComputerSystem Spec


 
Page 5 of 6 FirstFirst ... 3456 LastLast

Tutorial Categories

Reset Network Data Usage in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Xbox Windows Phone


Related Threads
Is there any way to reset the WiFi Data Usage meter each month?
Network & Sharing View Network Data Usage Details in Windows 10 in Tutorials
How View Network Data Usage Details in Windows 10 This tutorial will show you how to view the Wi-Fi and Ethernet network data usage details of apps from the last 30 days on your Windows 10 PC. Microsoft is making some changes to the Data Usage...
Solved Network Data Usage Doesn't Show in Network and Sharing
On one of our computers Win 10 home 64 bit, the Network data usage shows "0" while the other 3 (home and pro 32 & 64) all show fine. I only noticed it because the router shows that unit acting as a black hole for data usage even if it sits idle a...
Data Usage - How to Reset ? in Network and Sharing
....... does anybody got an idea how to reset the Data Usage back to 0 ? Any help would be greatly appreciated .......
hi, here my problem. i use usb modem huawei on windows 10 x64 pc. just recently i just notice my data usage not showwing anymore, i do dism ..nothing corrupt..sfc..same..basicly windows didnt corrupt.. so..how do i make it work again ..sorry (bad...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 02:56.
Find Us