Dropbox V2.0.22 high cpu usage solution

Update 2016-11-22: After the v14.4.19 Dropbox works differently using a service stored in system32. Changing its priority on launch causes it to shut itself down so this script will not work any more until there is another solution available.

First of all I would like to sincerely thank Dropbox for the service that they offer. It’s a great background app that have worked almost flawlessly in a “set it and forget it” kind of way.

One thing I’ve experienced with the latest release is the apparent increase in CPU usage.

While waiting for a possible configuration option I would like to share a temporary workaround for other people who are also experiencing issues. Please note that this is a Windows only workaround using Visual Basic Scripting Edition (VBScript). Only tested on Windows 7!

This script solution will launch Dropbox in a lowered process priority than usually.

Workaround instructions:
1. Disable system start from the config menu in dropbox
2a. Select and copy the code from below
2b. Or download the script directly. (skip part 3)
3. Paste the code into Notepad or any other plain text editor (not word or wordpad!)
4. Save the document as “DropboxBelowNormalPriority.vbs” in your Start menu Startup folder to make it launch on system startup

Download the script DropboxBelowNormalPriority.vbs directly.
Depending on your browser settings you may have to right click and select save link/target as.

Alternatively copy and paste the code below:

Const NORMAL_WINDOW = 1
Dim oShell, sParams
comSpec = Chr(34) & CreateObject("WScript.Shell").ExpandEnvironmentStrings("%comspec%") & Chr(34)
dropboxPath = Chr(34) & CreateObject("WScript.Shell").ExpandEnvironmentStrings("%ProgramFiles(x86)%") & "\Dropbox\Client\Dropbox.exe" & Chr(34)
cmd = comSpec & " /c start /belownormal " & Chr(34) & "Dropbox" & Chr(34) &" " & dropboxPath & " /systemstartup"
CreateObject("Wscript.Shell").Run cmd,0,True

If you are still experiencing issues try replacing /belownormal with /low by editing the script. Or you can download the script DropboxLowPriority.vbs directly here.

After running Dropbox in below normal priority for about 3 days now I haven’t encountered any problems or missed any syncing! It should work for you as well.

If you encounter any problems please be sure to leave a comment describing the problem!

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s