Improve OneDrive performance on Linux by tweaking the user agent string

By: Madeleine Dean
3 minute read

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

A user agent is a web browser software that sends information about your browser and operating system to the websites that you’re visiting. The websites then use this information to customize content for the capabilities of your computer.

In other words, each and every person who connects to the Internet has a unique user agent. To put it differently, this software acts as the bridge between users and the mighty Internet. The data it transmits to the websites that you’re visiting are very important for web developers. This data allows them to customize the user experience.

After this short introduction, let us get into the main body of this article. Many Linux users have reported that their OneDrive experience lets a lot to be desired. According to their reports, Office 365 OneDrive is slow and loading takes an awful lot of time.

Fortunately, one resourceful user has come up with an interesting solution to improve OneDrive’s performance on Linux.

How to boost OneDrive’s performance on Linux

1. Download a dedicated browser extension to change the user-agent string. Depending on your browser, you can download and install the Modify Headers extension for Mozilla Firefox, the Modify Headers Google Chrome extension, and so on.

2. Change the OS in the user agent string by replacing Linux with a Windows OS version. OneDrive should now work faster.

Here’s how the user who came up with this solution describes the process:

For a few weeks I have Linux Mint 18.1 installed on my laptop. […] With that project we use onedrive on a Office 365 platform. On my laptop I use the latest Firefox 52 browser and strictly work in Word online since document compatibilty is always an issue[…] Sadly enough I experienced a lot of performance issues while browsing the directory and working on a document.[…]

Then I began thinking and trying a few different things. On of the first ideas I came up with was changing the user-agent string. I changed the user-agent string to the following: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/52

I used the following extension in Firefox to change it. After changing the user-agent the performance problems were resolved. The UI of OneDrive worked flawlessly. The only thing in the user-agent that changed was the OS. At first I thought this was a random occurrence but no. I changed back to the normal user-agent and the problem came back.


For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

The slow OneDrive performance on Linux is indeed an annoying bug. Microsoft really needs to improve its feature detection using user agent strings.

Many Linux users would be tempted to say that Microsoft put this limitation into place in order to frustrate and degrade the user base that has moved to Linux. However, this is not the case.  If you set your user agent to IE 7 on Windows XP, you’ll be redirected to an error page inviting you to upgrade your browser. This shows that Microsoft cannot properly detect your user agent.

For more information about OneDrive’s performance on Linux, check out this Reddit thread.

RELATED STORIES YOU NEED TO CHECK OUT:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading

Discussions