Page 6 of 6 FirstFirst ... 456
  1.    16 Jun 2017 #50
    Join Date : Oct 2013
    Posts : 25,723
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Hello @WTenNewbie,

    Option one in Settings isn't available until build 16199, but you can use Option two now if you like.
      My ComputersSystem Spec
  2.    27 Jun 2017 #51
    Join Date : Oct 2016
    Germany
    Posts : 59
    Windows 10 Home Fall Creators Update

    Hi again, Brink
    Could you make a .bat tutorial file, which will disable wifi network adapter, delete all files in sru folder and reenable the wifi network adapter again. I tried this manually in Creators Update, it works but I am searching for something which can be faster, easier and made by you ;-) By the way, I really like your tutorials, they function 100 procent and I already have a nice collection of those.
    Thanks, man...
      My ComputerSystem Spec
  3.    28 Jun 2017 #52
    Join Date : Jul 2015
    South Africa
    Posts : 129
    Windows 10 Pro x64 16299.98

    Script to Manually Delete the Data Usage Files


    Here is a batch script I made today to quickly access the "sru" folder to manually delete the Data Usage files.

    Code:
    @echo off
    :: Windows 10 Data Usage Manual Reset Script Ver.1e - Manual Solution to quickly Copy, Cut or Delete the Current Data Usage Files.
    :: Author: Hendrik Vermaak
    
    :: Start Command Prompt Maximised
    if not "%1" == "max" start /MAX cmd /c %0 max & exit/b
    :: Check for  adminstrative permissions 
    >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 
    :: 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 "cmd.exe", "/C """"%~f0""""", , "runas", 1 >> "%temp%\getadmin.vbs" 
    cscript "%temp%\getadmin.vbs" 
    exit /B 
    :gotAdmin 
    if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" ) 
    pushd "%CD%" 
    CD /D "%~dp0" 
    :: Run as Admin code ends
    :: Main script start
    color 1f
    echo  ======================================================
    echo     Windows 10 Data Usage Manual Reset Script Ver.1e
    echo  ======================================================
    echo.
    echo Stopping Diagnostic Policy Service
    echo.
    net stop DPS > NUL 2>&1
    echo When you press any key to continue the Data Usage System folder "sru" will automatically open for you to manually Copy/Cut/Delete all the current Data Usage files.
    echo The Command Prompt window will remain open in the background.
    echo.
    pause
    start C:\Windows\System32\sru > NUL 2>&1
    echo.
    echo Please press any key to restart the Diagnostic Policy Service and automatically open the Data Usage page to show the result.
    echo.
    pause
    :: Automatically restart the Diagnostic Policy Service
    echo.
    echo Restarting Diagnostic Policy Service
    echo.
    net start DPS > NUL 2>&1
    :: Automatically close the "sru" folder window if still open
    taskkill /f /fi "windowtitle eq sru" /im explorer.exe
    :: Open Data Usage page automatically to show the result and exit Command Prompt
    FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq SystemSettings.exe"') DO IF %%x == %SystemSettings.exe% goto opendatausagepage
    goto closedatausagepage
    :closedatausagepage
    tasklist | find /i "SystemSettings.exe" && taskkill /im SystemSettings.exe /F || echo process "SystemSettings.exe" not running. >NUL
    echo.
    :opendatausagepage
    start ms-settings:datausage
    echo Closing the Command Prompt window in 5 Seconds....
    timeout /t 5 /nobreak >nul 2>&1
    exit
      My ComputerSystem Spec
  4.    01 Jul 2017 #53
    Join Date : Oct 2013
    Posts : 25,723
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Quote Originally Posted by Ivan Petrov View Post
    Hi again, Brink
    Could you make a .bat tutorial file, which will disable wifi network adapter, delete all files in sru folder and reenable the wifi network adapter again. I tried this manually in Creators Update, it works but I am searching for something which can be faster, easier and made by you ;-) By the way, I really like your tutorials, they function 100 procent and I already have a nice collection of those.
    Thanks, man...
    Hello @Ivan Petrov,

    I have added Option Two in the tutorial for a BAT file option for you.

    Reset Network Data Usage in Windows 10 Windows 10 Network Sharing Tutorials
      My ComputersSystem Spec
  5.    05 Jul 2017 #54
    Join Date : Jul 2015
    South Africa
    Posts : 129
    Windows 10 Pro x64 16299.98

    Windows 10 Data Usage Reset Scripts Ver.2a


    I made an installer script to automatically copy the "Data Usage Reset Scripts" to a folder on the C: drive, create a Start menu folder with shortcuts and add a flyout menu to the right click context menu. An uninstall option is also included.

    Windows 10 Data Usage Reset Scripts Ver.2a:
    DURS_Ver2a.zip

    Any feedback and comments regarding the attached scripts will be appreciated.

    Name:  Screenshot (13).png
Views: 142
Size:  78.2 KB
      My ComputerSystem Spec
  6.    05 Jul 2017 #55
    Join Date : Jul 2015
    South Africa
    Posts : 129
    Windows 10 Pro x64 16299.98

    Windows 10 Data Usage Reset Scripts Ver.2b


    I made a couple of small improvements

    "Changelog: Ver.2b
    1. The "Data Usage Reset Scripts" Uninstall option will now show in the "Control Panel\All Control Panel Items\Programs and Features" and in "Settings->Apps->Apps & Features".
    2. Installer.bat script updated to automatically remove the current installation when reinstalling or when updating the scripts with a new version...."

    Windows 10 Data Usage Reset Scripts Ver.2b:
    DURS_Ver2b.zip
      My ComputerSystem Spec
  7.    09 Jul 2017 #56
    Join Date : Jul 2015
    South Africa
    Posts : 129
    Windows 10 Pro x64 16299.98

    Update - Windows 10 Data Usage Reset Scripts Ver.3a


    New update available.

    "Changelog: Ver.3a
    1. The Installer and Uninstaller are merged together in the Setup script. It is able to recognize older installations starting with Ver.2a.
    2. The Setup script offers three looped menu's.
    3. A preconfigured backup and reset scheduled task is included as an option. It be can be imported using the Setup.bat script.
    4. The preconfigured scheduled task is set to run automatically on the last day of each month at 23:59:59.
    5. Option added to launch the download page for the user to check if an update is available."


    Windows 10 Data Usage Reset Scripts Ver.3a:
    http://www.majorgeeks.com/files/deta...e_scripts.html

    Any feedback and comments regarding this release will be appreciated. Thanks.
      My ComputerSystem Spec
  8.    10 Jul 2017 #57
    Join Date : Jul 2015
    South Africa
    Posts : 129
    Windows 10 Pro x64 16299.98

    Update - Windows 10 Data Usage Reset Scripts Ver.3b


    Update:

    "Changelog: Ver.3b
    1. Fixed: Incorrect output message displayed when installing a new version."

    Windows 10 Data Usage Reset Scripts Ver.3b:
    http://www.majorgeeks.com/files/deta...e_scripts.html
      My ComputerSystem Spec
  9.    10 Jul 2017 #58
    Join Date : Jul 2015
    South Africa
    Posts : 129
    Windows 10 Pro x64 16299.98

    Update - Windows 10 Data Usage Reset Script Ver.3c


    Update:

    "Changelog: Ver.3c
    1. Fixed: Preconfigured scheduled task not importing resulting in an error output message."

    Windows 10 Data Usage Reset Scripts Ver.3c:
    http://www.majorgeeks.com/files/deta...e_scripts.html
      My ComputerSystem Spec

 
Page 6 of 6 FirstFirst ... 456


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