Product: ProfileUnity-FlexApp
Product Version: 6.8.x
Updated: July 26, 2023
Expires on: 365 days from publish date
Problem:
A virtual disk may not be mounted if a replay log is detected.
The VirtualDisk module logs will show:
exception NotSupportedException Detected VHDX file with replay log - not yet supported
Resolution:
Mounting and unmounting the virtual disk will usually clear the replay log.
- Create a scripts directory in your deployment if the path does not exist - \\ServerName\netlogon\ProfileUnity\Scripts.
- Create a txt file - vdisk.txt.
- Enter the following and save the file:
SELECT VDISK FILE="\\FileServer\YourUsersShare\%username%\DiskName.vhdx"
ATTACH VDISK
DETACH VDISK
- In the ProU config, go to the User Defined Scripts module.
- Click on Add a User Defined Scripts rule
- Enter the following and save:
- Description: vdisk operation
- Execute: Before ProfileUnity at Logon
- Type: Executable
- File: %systemroot%\system32\cmd.exe /c diskpart /s " \\ServerName\netlogon\ProfileUnity\Scripts\vdisk.txt" > %temp%\test.txt
- Update/Deploy the config and test.
You should be able to see the operations in %temp%\test.txt