Page 3 of 6 FirstFirst 12345 ... LastLast
  1.    08 Feb 2016 #20
    Join Date : Oct 2013
    Posts : 25,723
    64-bit Windows 10 Pro build 17046
    Thread Starter

    The warning is already in the step.

    If you are having issues from it, then you could still do a repair install without losing anything.

    Repair Install Windows 10 with an In-place Upgrade
      My ComputersSystem Spec
  2.    19 Jun 2016 #21
    Join Date : Jun 2016
    Posts : 9
    Windows 10

    Is there any other way of achieving what we have in mind? Or better yet - stopping it from collecting the data of Usage?
      My ComputerSystem Spec
  3.    19 Jun 2016 #22
    Join Date : Oct 2013
    Posts : 25,723
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Not that I'm aware of.
      My ComputersSystem Spec
  4.    02 Jan 2017 #23
    Join Date : Jun 2015
    Posts : 74
    Win 10 pro

    I reset my data today and find that having deleted the files they have been re-created.
    However, although the new files appear to be updating regularly the information shown in the Data Usage remains at zero.

    Anyone any thoughts??
      My ComputerSystem Spec
  5.    02 Jan 2017 #24
    Join Date : Oct 2013
    Posts : 25,723
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Hello pewe,

    If you haven't already, see if resetting your network data usage while in safe mode without networking may work better for you.
      My ComputersSystem Spec
  6.    03 Jan 2017 #25
    Join Date : Jun 2015
    Posts : 74
    Win 10 pro

    Quote Originally Posted by Brink View Post
    Hello pewe,

    If you haven't already, see if resetting your network data usage while in safe mode without networking may work better for you.
    Thanks - I'll try that.

    I have done a system restore and all the data is back, but wonder why deleting the contents of the SRU in safe mode should make a difference.

    What I did was to 'disable' the network card and wifi in 'Device Manager', deleted the contents of the SRU directory then enabled the network and wifi in 'Device Manager again, which resulted in the files in the SRU directory being rebuilt.

    The files were being updated and growing as I used the internet, but no stats were showing in Settings/Network and Internet/Data Usage until system restore.

    What I have noticed is that when I go to Settings/Network and Internet/Data Usage the figures for Wifi and Ethernet are momentarily at zero, then the screen refreshes with the data instantly (presumably as it reads the files) but the refresh was not happening with the rebuilt files.

    As an aside - I am surprised that no one has come up with an app to use the data in the files and reset them to zero after a specific time whilst building a new file of historic data.
    With most people now having Mobile Broadband contracts with monthly data allowances that would be a very useful tool.

    For example my landline broadband is so bad due to line length that I use 4G on a 4G router from 3 UK.
    The contract has a capped monthly usage, so an easy way of monitoring my usage would be extremely useful.
      My ComputerSystem Spec
  7.    03 Jan 2017 #26
    Join Date : Oct 2013
    Posts : 25,723
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Safe mode is way to make sure that nothing network is in use that could prevent the data usage history from being fully reset and cleared so it doesn't return.
      My ComputersSystem Spec
  8.    08 May 2017 #27
    Join Date : Jul 2015
    South Africa
    Posts : 129
    Windows 10 Pro x64 16299.98

    Reset Data Usage with Simple Batch Script


    I made this batch script late last night to reset the Data Usage Overview to 0. I will appreciate any constructive comments regarding this script. I know there is the app "Reset Data Usage v1.0" to do all this, but I like to refrain from using any 3rd party apps.

    Also please note that network adaptors with active connections will be disabled when the script is run and then re-enabled at the end.

    Use "netsh interface ipv4 show subinterfaces" in command prompt to determine the correct name for each network adapter and then edit or add to the script accordingly if different from "WiFi" and "Ethernet" listed below

    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 Commensing with Data Usage Reset:
    ECHO.
    ECHO Disabling Network Adpters
    netsh interface set interface "WiFi" disabled
    netsh interface set interface "Ethernet" disabled
    ECHO.
    ECHO Stopping Data Usage Services
    ECHO.
    sc config DusmSvc start= disabled
    net stop DusmSvc > NUL 2>&1
    net stop diagnosticshub.standardcollector.service > NUL 2>&1
    net stop DPS > NUL 2>&1
    ECHO.
    ECHO Resetting Data Usage
    echo Y | del /f /q "C:\Windows\System32\sru\*.*" > nul
    ECHO.
    ECHO Restarting Data Usage Services
    ECHO.
    sc config DusmSvc start= auto
    net start DusmSvc > NUL 2>&1
    net start diagnosticshub.standardcollector.service > NUL 2>&1
    net start DPS > NUL 2>&1
    ECHO.
    ECHO Enabling Network Adapters
    netsh interface set interface "WiFi" enabled
    netsh interface set interface "Ethernet" enabled
    ECHO.
    ECHO Data Usage was Reset to 0
    ECHO.
    ECHO Press any key to exit.
    pause > nul
    :end
    Last edited by Brink; 08 May 2017 at 14:44. Reason: code box
      My ComputerSystem Spec
  9.    08 May 2017 #28
    Join Date : Jun 2015
    Posts : 74
    Win 10 pro

    If anyone wanted to use this,

    - do you mind?
    - how would the script be run ? (forgive the ignorance of a non-coder)

    Please advise


    Thanks
      My ComputerSystem Spec
  10.    08 May 2017 #29
    Join Date : Jul 2015
    South Africa
    Posts : 129
    Windows 10 Pro x64 16299.98

    Please ignore the script in my previous post as it is not necessary to disable network adapters to reset the Data Usage.

    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 Commensing with Data Usage Reset:
    ECHO.
    ECHO Stopping Data Usage Services
    ECHO.
    sc config DusmSvc start= disabled
    net stop DusmSvc > NUL 2>&1
    net stop diagnosticshub.standardcollector.service > NUL 2>&1
    net stop DPS > NUL 2>&1
    ECHO.
    ECHO Resetting Data Usage
    echo Y | del /f /q "C:\Windows\System32\sru\*.*" > nul
    ECHO.
    ECHO Restarting Data Usage Services
    ECHO.
    sc config DusmSvc start= auto
    net start DusmSvc > NUL 2>&1
    net start diagnosticshub.standardcollector.service > NUL 2>&1
    net start DPS > NUL 2>&1
    ECHO.
    ECHO.
    ECHO Data Usage was Reset to 0
    ECHO.
    ECHO Press any key to exit.
    pause > nul
    :end
      My ComputerSystem Spec

 
Page 3 of 6 FirstFirst 12345 ... LastLast


Similar Threads
Tutorial Category
Solved Resetting Windows 10 Data usage meter
Is there any way to reset the WiFi Data Usage meter each month?
Network and Sharing
Network & Sharing View Network Data Usage Details in Windows 10
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...
Tutorials
Solved Network Data Usage Doesn't Show
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...
Network and Sharing
Data Usage - How to Reset ?
....... does anybody got an idea how to reset the Data Usage back to 0 ? Any help would be greatly appreciated .......
Network and Sharing
Solved data usage not working on windows 10?
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...
Software and Apps
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 19:41.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums