Product: ProfileUnity-FlexApp
Product Version: 6.8.7GA & 6.8.7R2 Only - Fixed in 6.8.7 R2 HF1 and newer
Expiration: 365 days from publishing
Updated: April 30, 2025
Problem:
Virtual Disk will not mount, InvalidOperation, The collection has been modified. The inventory operation might not be performed. is shown in the DIA log:
2025-04-17 03:27:36.310 [1] INFO - Running module FlexAppDIA…
2025-04-17 03:27:38.981 [1] ERROR - Virtual Disk could not be mounted.. Exit code was: 31. Message was: A device connected to the system is not working.
2025-04-17 03:27:38.981 [1] WARN - a mount attempt using the system flag failed, subsequent mount attempts will not use this flag
2025-04-17 03:27:50.093 [7] ERROR - ReplayManager.ReplaNonJitCut failed to replay 'C:\FADIA-T\VHDW\2e85ec23d6a2f3c194d26d311a164c1d\child-Notepad++_20250312101124.vhdx', error 'InvalidOperationException' 'The collection has been modified. The inventory operation might not be performed.'
2025-04-17 03:28:08.936 [1] INFO - Writing to the event log Application - ProfileUnity Client.Net DIA
Symptoms:
VHDX Not Mounting, error in DIA log as above.
Resolution:
1. Obtain the client configuration file:
- Navigate using Explorer to your deployment share
- Copy/Download client.net.zip to your local desktop or another temporary location
- Extract the zip file to a temporary folder named client.net
2. Edit the configuration file
- Open LwL.ProfileUnity.Client.exe.config using Notepad or Notepad++
- Scroll to the bottom of the file and make the following change:
- Change:
<setting name="FlexAppNonJitCutReplayInParallel" serializeAs="String">
To:
<value>True</value>
<setting name="FlexAppNonJitCutReplayInParallel" serializeAs="String">
<value>False</value> - Change:
<setting name="FilterParallelEvaluation" serializeAs="String">
To:
<value>True</value>
<setting name="FilterParallelEvaluation" serializeAs="String">
<value>False</value> - Change:
<setting name="FlexAppBulkMountMaxGroupSize" serializeAs="String">
To:
<value>100</value>
<setting name="FlexAppBulkMountMaxGroupSize" serializeAs="String">
<value>1</value> - Save the modified configuration file LwL.ProfileUnity.Client.exe.config
3. Create the new client.net.zip file:
Select all files and folders in the temporary client.net folder
Right-click and select 7-Zip → Add to archive: - Accept the 7zip defaults and name the file client.net.zip:
- Verify the zip file structure: the files and folders should be at the root level (no extra "client.net" folder inside)
- Example of how the zip should look after opening:
-
4. Deploy the updated configuration
- Rename the original file in the deployment share to client.net.zip.old (backup)
- Copy your new client.net.zip to the deployment share to replace the original
- Update any golden images with the same change, and/or reinstall the client tools from the deployment path so the updated client-tools use the new zip file.