Thursday, August 31, 2017

Disable Service Host Delivery Optimization Script Windows 10

Not all internet users rely on their smartphones to connect to the internet. Some users need to access the internet on their computer and laptops. Wired internet might not be available in your house. We use our smartphone Wifi tethering to connect out Windows PCS and laptops to the internet. Over use of mobile data can be removed entirely and permanently by following this article about how to disable Service Host Delivery Optimization via script.




Our cellular data provides us access on our phones. It can be shared to laptop and PCs via Wifi or USB tethering. As most Windows computers are already running on the latest Windows operating system, it brings some challenge specially when you look at data usage. We might see some over use of mobile data and we might get billed $50 or more from that. What we did is we just connected the computer to the hotspot of your mobile phone. 

You might start looking at the computer for the bandwidth hog. By opening the Windows Task Manager, you might sort the Windows Processes under the Processes tab and sort it by Network percentage usage rank. From there, a familiar Windows service ranks up - the service Host Delivery Optimization.

Windows 10 is the latest OS from Microsoft, and has this Peer-to-peer Windows update setting that does not work even if it is disabled. Even if you follow the tutorial to modify the registry or the local policy, you will still have this bandwidth hog service running which eats up a lot of the precious mobile data. Mobile data is not cheap, and Microsoft needs to know. There is a setting about disabling Peer-to-peer windows update setting on the Choose how updates are delivered but running a batch script to disable Windows update every 5 minutes, and on every logon permanently.

Open notepad by going to the Start Menu or by Win+R (letter) then type Notepad. Paste the folowing lines inside the editor:

net stop wuauserv
net stop bits
net stop dosvc


Save the file as "script.bat" and select file type to All Files. Do not remove the double quotes. Save it on an easy to access location. Now go to Start Menu and type "Task Scheduler". Be sure to be a local admin. Create a basic Task, point the batch file and set the triggers to Daily and run script every 5 minutes. Select the options to run even user is logged on or not, and in highest privileges. Save the task. Add additional trigger for logon and startup.

This will prevent the Windows update service from hogging your bandwidth. You may disable the task from time to time to give way for the Windows update during major patch release to secure your PC and laptop too. The point is, to stop the Windows service that causes slow internet and loss of precious data at times when you work using the mobile hotspot.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

SSS Contribution Calculator

Enter your monthly income: