Jump to content

Bug / Workaround: uT 1.7.2 deleting command line switches in registry


Recommended Posts

Bug Summary: uTorrent automatically overwrites its HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run registry entry when preferences are modified, even if no changes to "Start uTorrent on System Startup" are made, which results in the loss of any and all command line switches previously added to the key.

Explanation: When "Start uTorrent on System Startup" is checked in preferences, uTorrent creates a registry key for itself in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run. In sections 2.18 and 2.19 of the uTorrent FAQ, users are instructed to add /MINIMIZED or /HIDE switches to the key if they wish to start the program in either of those respective modes. However, once these switches are added, making any future changes to the program preferences will result in uTorrent recreating the registry key, thus deleting the switches altogether.


1. Start uTorrent and open preferences.

2. Under 'General', check the "Start uTorrent on System Startup" option and click apply.

3. Open regedit and navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run.

4. Modify uTorrent's registry key and add either the /HIDE or /MINIMIZED switch to it.

5. Change any other option in uTorrent's preferences and click apply again.

6. Do a View > Refresh (F5) in the registry editor.

7. Note the missing switch(es).

Workaround: After adding switches in the registry, rename the key (Right Click/Edit > Rename) to anything other than "uTorrent". The problem with this is the potential for mutliple registry key entries if changes are later made to the System Startup option.

Better/Developer Solution: Options for starting hidden and minimized should be added to uTorrent's preferences and these values should be respected when the program creates its registry entries.

Tested on uTorrent 1.7.2 (Build 3458) and various flavours of XP.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...