These steps are not officially supported or endorsed by CyberArk.

This procedure will need to be repeated every time the PVWA server is updated or reinstalled.

  1. On the PVWA server, navigate to C:\inetpub\wwwroot\PasswordVault\v10\Applications\epv\. Use the File Explorer to search for e.prototype.getAccountFiltersState, then choose Advanced options and check "File Contents" so that it searches inside files. You should get a single file as a result, in my case it was 12.<hash>.chunk.js
  2. Make a backup of the .js file.
  3. We need to pretty-print this file to modify it. You can use many tools to do this, but Chrome has it built in:
    1. Open this file directly in Chrome (drag and drop).
    2. Press F12 to open DevTools.
    3. Under the Sources tab, select the .js file.
    4. Click on the { } icon in the bottom left to pretty-print the file.
    5. Right click on the :formatted tab in the Sources panel and select "Save as". Remove the ":formatted" suffix from the file name.
  4. Open this file in a suitable text editor with Javascript syntax highlighting, such as Notepad++.
  5. Search for e.prototype.getAccountFiltersState. You should find a section of code that looks like the below. The exact code below may change, but it should generally be the same.
            return e.prototype.getAccountFiltersState = function() {
                return this.store.select(function(e) {
                    return e.userPreferences
                }).map(function(e) {
                    var n = Object(P.get)(e, "entities.UserPreferencesDTO.1.PreferredAccountFiltersState");
                    return n ? zn.b[n] : null
                })
            }
  1. Change the line return n ? zn.b[n] : null to return "Collapsed". This line effectively causes the page to ignore the user's preferences and always collapse the filters view.
  2. Overwrite the original .js file with your modified version. Changes should take effect with a refresh.
  3. If you have additional PVWA servers, overwrite the .js file on each server.