New
#50
Hello @WTenNewbie, :)
Option one in Settings isn't available until build 16199, but you can use Option two now if you like.
Hello @WTenNewbie, :)
Option one in Settings isn't available until build 16199, but you can use Option two now if you like.
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...
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
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
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.
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
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.
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
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
Can anyone here please provide the entire address in Settings to get to "Usage details"?
I would like to create a shortcut on my desktop to instantly open that window.
Here is the shortcut address I have so far:
ms-settings:datausage
Just need to go one level more, to "View Usage Details."
Thanks!
Nicholas Kormanik