Bitwarden crashes after update "procedure entry point DiscardVirtualMemory could not be located"

Hello, I’ve been using Bitwarden with no issues until this morning. I opened Bitwarden on my desktop (Win 8.1) and it displayed a message that an update was available, so I clicked for it to update and restart. After restarting, an error message appeared,

  • The procedure entry point DiscardVirtualMemory could not be located in the dynamic library C:\Program Files\Bitwarden\Bitwarden.exe

I have uninstalled, rebooted, and reinstalled twice (downloaded a new copy of the install file just in case). I’ve checked online and searched these forums but haven’t found any suggestions other than reinstalling and updating drivers (windows says they’re all up to date, plus it was working before Bitwarden updated itself).

Any thoughts on what to do from here? The browser plugin is still working so I still have access to my vault, but I would like to get the desktop app working again, too. Thanks.

EDIT: I have seen some posts about a similar issue with other software, and for some of them reverting to an older version of the software fixed the issue. There seemed to be some thought that this is a Windows issue of pulling back support for Win 7 and 8, but that’s just conjecture.

Hello @adjacentengels and welcome to the community,

If you updated you may wish to verify which version you are running. Bitwarden recently announced ending support for older OS’s such as Windows 7 and 8.1

You can find more details and notice in the Bitwarden Help section release notes.
You can also download the compatible 2023.4.0 desktop release and will need to disable automatic updates as instructed in the Help article.

Hi @cksapp , thanks for the reply, this was indeed the issue and I’m back up and running.

A note for Bitwarden: The download page still says that Windows 8 is supported but the download link is for the new release that doesn’t support Win 8 anymore. The download page should be updated. Also, the pop-up asking me to update the app didn’t offer a link to the release notes or anything, so I would have had to decline and then go find the release notes for the new release. It would be helpful to at least include a link (or even static text) of where to find the release notes.

For anyone coming here for the same issue, the links @cksapp shared worked, but you need to make sure to get the automatic updates disabled before you run Bitwarden even for the first time. Even though I declined to do any updates, when I closed the app it changed something so the error came back after trying to restart the application after the first time. This sequence may not be necessary, but here’s what I did that got me working:

  • Uninstall 2023.5.0 (or whatever the new release is for you)
  • Reboot PC (this may not be necessary, but it’s generally recommended)
  • Install 2023.4.0 (look for the “Bitwarden-Installer-2023.4.0.exe” file) but DO NOT run Bitwarden yet
  • Set the environmental variable to disable automatic updates (Help article)
    ** Open PowerShell in Windows and type this at the command prompt:
    ** [Environment]::SetEnvironmentVariable(‘ELECTRON_NO_UPDATER’, 1, ‘User’)
    ** Then to check it was set, type this and you should get 1 returned:
    ** [System.Environment]::GetEnvironmentVariable(‘ELECTRON_NO_UPDATER’, ‘User’)
    ** If you’re installing for all users, you may need to set the variable at the machine level instead of the user level
  • Run Bitwarden and it should work, and not ask to update

bitwarden shouldn’t allow update to an incompatible version on the OS.
Thank god this doesn’t affect browser plugin.