OneDrive: Throttling Upload Speed

If you are on a relatively slow internet connection, it can be frustrating when Microsoft OneDrive takes up the majority of the bandwidth when it is syncing to the cloud. During the upload process, even basic web surfing can be almost impossible.

Sadly, the OneDrive app itself doesn’t contain any settings to limit the upload speed, but it is possible to address this issue via group policy on the local machine.

To begin, you will need to logon to your workstation with an administrator account.

image
Fire up the local Group Policy Editor: Windows Start => Search Box => gpedit.msc (hit “Return” on the keyboard)
image
Within the Policy Editor main window, navigate to: User Configuration => Windows Settings => Policy Based QoS. From the “Action Menu” => “Create a new policy”.
Complete the wizard using the input I have set out below.
image
Policy Name: OneDrive
Deselect the “DSCP” Option
Specify an “Outbound Throttle Rate”. In my example, 10 Kbps is rather extreme (but it is useful for testing the settings are working). At this data rate, a 20Mb file should take around 30 minutes to upload.
OneDrive 002
Ensure that “Only applications with the executable name” is checked. The value should be set to “onedrive.exe” (for all users) or “C:\Users\yourusername\AppData\Local\Microsoft\OneDrive\onedrive.exe” (for a specific user).
image
“Any IP Address” is fine for both options.
image
“Any Port” is fine for both options. Click “Finish” when you are done.

You may need to wait a few minutes for the policy to take effect (a reboot may be required).

These instructions can be adapted for any program that you discover is using too much in the way of bandwidth. Unfortunately, it only applies when “uploading” data (not downloading).

Windows 7 “Downloads Folder” and Roaming Profiles

By default, Windows 7 automatically saves all downloaded files into the “Downloads” Folder within the user profile. Since this folder forms part of a user’s Roaming Profile, it will be copied back and forth between the workstation and the server at every logon / logoff. As the size of the “Downloads” folder increases, so will the user’s logon / logoff time.

One solution to this problem is to use “group policy” exclude the “Downloads” folder from the roaming profile.   

From within the group policy editor, choose a suitable policy object (one that will be applied to domain user accounts), or create a new one. The key we are interested in editing can be found at: User Configuration => Policies => Administrative Templates => System => User Profiles => Exclude directories in Roaming Profile.

Exclude Directories in Roaming Profile 001

Enable the policy and set the value = “Downloads”

Exclude Directories in Roaming Profile 002

From now onwards, all downloaded files will be excluded from the roaming profile, and will only exist on the local workstation.

Article Update (August 2014)
You may find it useful to exclude these other folders too:

Application Folder Location
OneDrive / SkyDrive OneDrive; SkyDrive
Dropbox Dropbox
iTunes AppData\Roaming\Apple Computer\MobileSync; AppData\Roaming\Apple Computer\Logs; AppData\Roaming\Apple Computer\iTunes\iPhone Software Updates;
Blackberry Desktop Data\Roaming\Research In Motion\Blackberry Desktop\Updates;
Java Data\Sun\Java