Because it is completely free and comes packed with awesome features, ‘NetWorx‘ is my favorite network usage monitor in Windows 8. However, I also dual boot my laptop with Ubuntu, and as a result, after accessing internet in Ubuntu and taking a note of its network usage, I end up having to update those network usage reading into ‘NetWorx’ in Windows manually.
Doing this few times daily is very painful but it has to be done because my internet connection has a usage limit. Anyway, I could use my router to monitor the network bandwidth, as it is the ‘gateway’ of my home network. But sadly, the Prolink router model that I have does not have this feature (thank you very much Prolink!).
Anyhow, whether you have this exact same scenario or if it is something else, if you are looking for a way to manually change the network usage readings displayed in ‘NetWorx’, then this ‘how to’ is for you.
First, make a note of the network usage amount that you want to change in ‘NetWorx’. Now the main rule here is that, no matter in what measurement unit that it is in (Gigabytes, Megabyte, Kilobytes etc), you will have to convert it into ‘bytes’, first.
For those who don’t know the ‘equation’, use the below examples.
1Gigabyte (GB) = 1 x 1024 x 1024 x 1024 bytes
1Megabyte (MB) = 1 x 1024 x 1024 bytes
For this example, let’s assume that I need to add 40 MB (Megabytes) into ‘NetWorx’ network usage count. So 40 MB into bytes can be converted using the above example as shown below.
40 Megabytes (MB) = 40 x 1024 x 1024 bytes = 41943040 bytes
By the way, you can use the built-in calculator in Windows for this conversion.
Once you have converted the usage reading into ‘bytes’, make sure to put it into a text file (temporarily).
What we are going to do here is very simple. We are going to use ‘NetWorx’ and import its current network usage reading into a ‘XML’ file. Then we are going to simply change the numbers in it and ‘Restore’ it so those changes will be updated by ‘NetWorx’. That’s it!.
Now open ‘NetWorx’ main window and click on the ‘Backup’ button. Simple give a name to the ‘XML’ file that we are going to save and save it to anywhere you like.
As a safety precaution, I also like keep another backup that I will not ‘touch’, just in case :). It has come handy for me, more than one occasion, so I humbly urge for you to do the same. Anyhow, on this occasion, let’s say that the saved ‘XML’ file is called ‘1.xml’ and it is saved on my Desktop.
Now right click on this file and from the ‘Open with’ sub-menu, choose ‘Notepad’ as shown below.
As you might see, ‘NetWorx’ saves the network data in ‘sessions’ and by observing the ‘day’ field, you can see how many sessions have taken place for that day. And the data of each session is displayed within the ‘<item> </item>’ field, as shown in the below screenshot.
Now I’m not exactly sure how ‘NetWorx’ numbers the days because as you can see in the below picture, the ‘day’ is numbered ‘41281’ and it doesn’t really make any sense.
Anyhow, if you had 3 sessions in a single day (if you connected to the internet 3 times), then all those 3 sessions will be shown separately, but they all will have the ‘day’ numbered as ‘41281’ (in this example).
So by using that information, you can find the data field that you want to update as well. For example, if I wanted to add the 40MB to one of the yesterday’s sessions, then I’ll make sure to add it to a field that has the ‘day’ numbered as ‘41280’ (as ‘41281’ is the number given to today).
Simple explanation of some of the data on a session …
‘<user> … </user>‘ = The logged in user of the OS at that time.
‘<day> … </day>‘ = Day number (again, I don’t understand the numbering system)
‘<in> … </in>‘ = Downloaded data in Bytes.
‘<out> … </out>‘ = Uploaded data in Bytes.
Anyhow, assuming that I want to add this 40MB to the last known session, then all I have to do is scroll down and find the last session, at the very bottom. Then copy the numbers between the field ‘<in> … </in>’ …
Or (between ‘<out> … </out>’ if you want them to appear as uploaded data, at the end though it won’t matter anyway).
Then use the calculator utility in Windows to add this number with the calculated number in ‘Step2’.
Then, take the total, just as it is, and simply replace that number with the numbers between the ‘<in> … </in>’ (or if it was ‘<out> … </out>’ that you used) field in the ‘Step 6’, above. Make sure to save your changes by clicking on the ‘File -> Save’ on the Notepad’s menu as well.
Now open ‘NetWorx’ again, click on the ‘Restore’ button, locate the updated XML file and simply load it. As soon as you do that, you should see the change in the network usage count in NetWorx’s main window. That’s it!.
Special note: There should be another step for users who use modems to connect to internet (dial-up, broadband … anything other than a router). Unfortunately I don’t have one these days so I can’t include that ‘step’. But if you can provide me with your saved XML file, then I should be able to help you out though.
Again, while making a backup, make sure to create at least two XML files, because you never know :).