clients icon indicating copy to clipboard operation
clients copied to clipboard

Bitwarden Desktop Fails to Launch on Startup with Username Containing Space (Windows)

Open Nktech-Official opened this issue 5 months ago • 3 comments

Steps To Reproduce

prerequisite windows app installed for a user (not system-wide) . User name Should have Space so Path to User Directory has Space Open Bitwarden Desktop. Navigate to Settings Enable the "Start automatically login" option Restart the computer.

Expected Result

After restarting, Bitwarden Desktop should automatically launch in the background or foreground (depending on settings).

Actual Result

Instead of launching, a popup window appears asking me to "choose an app to open the file."

The file path displayed in the popup is C:\Users\Nitesh (only the first part of my username). Clicking on any app or ignoring the popup doesn't seem to affect Bitwarden's functionality.

Screenshots or Videos

No response

Additional Context

Operating System

  • Edition Windows 10 Home Single Language
  • Version 22H2
  • Installed on ‎31-‎07-‎2024
  • OS build 19045.4894
  • Experience Windows Feature Experience Pack 1000.19060.1000.0

Bitwarden

  • Version 2024.8.2
  • Shell 31.3.1
  • Renderer 126.0.6478.185
  • Node 20.15.1
  • Architecture x64

Temporary Solution (Use with Caution):

Important Note: Modifying the Windows registry carries some risk. This is a temporary workaround and should only be attempted if necessary.

I was able to get Bitwarden to launch automatically on startup by following the steps outlined in a similar issue report here: #6524. This involves manually editing the Windows registry to add the path to the Bitwarden executable file in quotes within the "Start login" configuration.

After applying this workaround:

The checkbox for "Start login" within the Bitwarden app settings may appear unchecked. However, Bitwarden will still launch automatically on startup.

Operating System

Windows

Operating System Version

10 22H2

Installation method

Direct Download (from bitwarden.com)

Build Version

2024.8.2

Issue Tracking Info

  • [X] I understand that work is tracked outside of GitHub. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Nktech-Official avatar Sep 17 '24 17:09 Nktech-Official