Being back with more details, I need to ask that your application is a standalone or a job or an extension.
The reason why I am asking is:
- Each application/login /connection creates or uses its individual "WorkingFolders.xml" and saves working folder mappings, which are not enforced by administrators. Compare the screenshot below and my listing.

1) This address is my Vault Explorer Login; I created a custom job, that retrieves working folder mappings. Vault Explorer and Jobs return the values that are configured in the Details -> Change... setting.
2) This address is the login used by my Powershell code; the direct access/login via web service. It behaves like a standalone application. As long as I don't set individual overrides, the default virtual paths ..MyDocuments\Vault\*.. are returned. As soon as the script (application) creates its overrides, the file "WorkingFolders.xml" is created and stores the individual mapping.
#set programmatically
$vaultConnection.WorkingFoldersManager.SetWorkingFolder("$", "C:\SD124422\")
$vaultConnection.WorkingFoldersManager.SetWorkingFolder("$/Libraries", "C:\MFG124959\Libraries")
The resulting WorkingFolder.xml content:
<?xml version="1.0" encoding="utf-8"?>
<WorkingFolders xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.autodesk.com/msd/plm/WorkingFolders/2004-08-09">
<Folder>
<VirtualPath>$</VirtualPath>
<PhysicalPath>C:\SD124422</PhysicalPath>
</Folder>
<Folder>
<VirtualPath>$/Libraries</VirtualPath>
<PhysicalPath>C:\MFG124959\Libraries</PhysicalPath>
</Folder>
</WorkingFolders>
3) This address is a Vault Extension, that re-uses the existing user credentials, but establishes a new connection. Again - like 2) - the default virtual mapping returns, as long as this application does not apply an override to individual mappings. If so, the file "WorkingFolder.xml" is created.
With respect, that you probably already had a solution in 2016 release state, you need to differentiate which application/login type your current code project matches. As soon as it establishes a new/individual connection, your application needs to set the override.
Admitting that this is not self-explaining, I hope that the description allows reproducing and debugging each scenario to get the insight for understanding.
Thank you for pushing us elaborating these details.
Markus Koechl
Solutions Engineer PDM, Autodesk Central Europe