FSLogix Error -AsyncVdiskOpenedKernelRequest failed. VDISK.cpp

Informatik CSEB 1 Reputation point
2022-09-07T10:49:23.723+00:00

We have a Farm with 4 Remote Desktop Session Hostserver. Some of our Users have sometimes Problems to Login wie FSLOgix. Different Users and different Times, we don't now how 30 Users can login, and only 1 or 2 don't. On annother Day everything is OK.
We have 2 FileShares on Windows Server 2019, with Cloudcache. 2 Fileshare for availability.

Our Workaround:

  • We open the .vhdx-File on the Fileserver and make Chkdsk, then close the .vhdx
  • We set the RDSH-Server in Maintancemode und call the User to Login, now the User make a Session on one of the Other RDSH-Server. Normally Login is now OK.
  • The most time we make a Restart of the Server wo has the Error in the next Nighttime.

Here the Errorlog vom CloudCacheService:
[11:59:47.656][tid:00000cc0.00003dac][INFO] ===== Begin Session: CCache::Register
[11:59:47.656][tid:00000cc0.00003dac][INFO] Registering file: C:\ProgramData\FSLogix\Proxy\m.bass_S-1-5-21-1230906625-296691439-618671499-12540\Profile_m.bass.VHDX
[11:59:47.657][tid:00000cc0.00003dac][INFO] Registered vdisk 19 for path \Device\HarddiskVolume4\ProgramData\FSLogix\Proxy\m.bass_S-1-5-21-1230906625-296691439-618671499-12540\Profile_m.bass.VHDX
[11:59:47.657][tid:00000cc0.00003dac][INFO] ===== End Session: CCache::Register
[11:59:47.714][tid:00000cc0.00004b58][ERROR:e0001007] AsyncVdiskOpenedKernelRequest failed. VDISK.cpp(1259): [NTSTATUS: 0xe0001007]
[11:59:47.716][tid:00000cc0.00004b58][ERROR:e0001007] AsyncVdiskOpenedKernelRequest failed. VDISK.cpp(1259): [NTSTATUS: 0xe0001007]
[11:59:47.725][tid:00000cc0.00004b58][ERROR:e0001007] AsyncVdiskOpenedKernelRequest failed. VDISK.cpp(1259): [NTSTATUS: 0xe0001007]
[11:59:47.729][tid:00000cc0.00003dac][INFO] ===== Begin Session: CCache::UnRegister
[11:59:47.729][tid:00000cc0.00003dac][INFO] Unregister for file with id: 19, will delete cache
[11:59:47.729][tid:00000cc0.00003dac][INFO] FilterSendMessage (20) to UnregisterFile, Id = 19, Delete = True
[11:59:47.730][tid:00000cc0.00003dac][INFO] ===== End Session: CCache::UnRegister
[11:59:47.733][tid:00000cc0.00003dac][INFO] ===== Begin Session: CCache::ReleaseLock
[11:59:47.733][tid:00000cc0.00003dac][INFO] Releasing CCD lock for C:\ProgramData\FSLogix\Proxy\m.bass_S-1-5-21-1230906625-296691439-618671499-12540\Profile_m.bass.VHDX
[11:59:47.747][tid:00000cc0.00003dac][INFO] ===== End Session: CCache::ReleaseLock

Profile.log:
[11:59:47.613][tid:00000cb0.00000ac0][INFO] CCDLocations found - will use a Cloud Disk
[11:59:47.613][tid:00000cb0.00000ac0][INFO] Configuration setting not found: SOFTWARE\FSLogix\Profiles\DiffDiskParentFolderPath. Using default: C:\Windows\TEMP\
[11:59:47.614][tid:00000cb0.00000ac0][INFO] Configuration Read (DWORD): SOFTWARE\FSLogix\Profiles\ClearCacheOnLogoff. Data: 1
[11:59:47.614][tid:00000cb0.00000ac0][INFO] Configuration setting not found: SOFTWARE\FSLogix\Profiles\ClearCacheOnForcedUnregister. Using default: 0
[11:59:47.614][tid:00000cb0.00000ac0][INFO] Configuration setting not found: SOFTWARE\FSLogix\Profiles\HealthyProvidersRequiredForRegister. Using default: 0
[11:59:47.614][tid:00000cb0.00000ac0][INFO] Configuration setting not found: SOFTWARE\FSLogix\Profiles\HealthyProvidersRequiredForUnregister. Using default: 1
[11:59:47.614][tid:00000cb0.00000ac0][INFO] Configuration setting not found: SOFTWARE\FSLogix\Profiles\CcdUnregisterTimeout. Using default: 0
[11:59:47.614][tid:00000cb0.00000ac0][INFO] Configuration setting not found: SOFTWARE\FSLogix\Profiles\CCDMachineId. Using default: SRVRDCSEB2.ospeb.ch
[11:59:47.614][tid:00000cb0.00000ac0][INFO] Configuration setting not found: SOFTWARE\FSLogix\Profiles\CCDMaxCacheSizeInMbs. Using default: 0
[11:59:47.614][tid:00000cb0.00000ac0][INFO] Configuration Read (DWORD): SOFTWARE\FSLogix\Profiles\FlipFlopProfileDirectoryName. Data: 1
[11:59:47.615][tid:00000cb0.00000ac0][INFO] Configuration setting not found: SOFTWARE\FSLogix\Profiles\VHDNamePattern. Using default: Profile_%username%
[11:59:47.615][tid:00000cb0.00000ac0][INFO] Configuration Read (REG_SZ): SOFTWARE\FSLogix\Profiles\VolumeType. Data: VHDX
[11:59:47.615][tid:00000cb0.00000ac0][INFO] Configuration setting not found: SOFTWARE\FSLogix\Profiles\VHDNameMatch. Using default: Profile*
[11:59:47.616][tid:00000cb0.00000ac0][INFO] Configuration setting not found: SOFTWARE\FSLogix\Profiles\NoProfileContainingFolder. Using default: 0
[11:59:47.624][tid:00000cb0.00000ac0][INFO] DiskContext::find returning after 0 milliseconds
[11:59:47.629][tid:00000cb0.00000ac0][INFO] Configuration setting not found: SOFTWARE\FSLogix\Profiles\LockedRetryCount. Using default: 12
[11:59:47.630][tid:00000cb0.00000ac0][INFO] Configuration setting not found: SOFTWARE\FSLogix\Profiles\LockedRetryInterval. Using default: 5
[11:59:47.630][tid:00000cb0.00000ac0][INFO] Configuration setting not found: SOFTWARE\FSLogix\Profiles\SIDDirSDDL. Using default:
[11:59:47.658][tid:00000cb0.00000ac0][INFO] DiskContext::lockWithStrategy returning after 31 milliseconds
[11:59:47.714][tid:00000cb0.00000ac0][INFO] Configuration Read (DWORD): SOFTWARE\FSLogix\Profiles\SizeInMBs. Data: 30000
[11:59:47.716][tid:00000cb0.00000ac0][WARN: e0001007] Failed to query VHD(x) size
[11:59:47.716][tid:00000cb0.00000ac0][INFO] GetVirtualDiskSize returning after 0 milliseconds
[11:59:47.716][tid:00000cb0.00000ac0][INFO] Profile VHD Path: C:\ProgramData\FSLogix\Proxy\m.bass_S-1-5-21-1230906625-296691439-618671499-12540\Profile_m.bass.VHDX
[11:59:47.718][tid:00000cb0.00000ac0][INFO] User Profile Path: C:\Users\m.bass.FSL0
[11:59:47.725][tid:00000cb0.00000ac0][INFO] VHD(x) open request returning after 16 milliseconds for C:\ProgramData\FSLogix\Proxy\m.bass_S-1-5-21-1230906625-296691439-618671499-12540\Profile_m.bass.VHDX
[11:59:47.725][tid:00000cb0.00000ac0][INFO] Status set to 11: Cannot open virtual disk
[11:59:47.725][tid:00000cb0.00000ac0][INFO] ErrorCode set to -536866809 - Message: N/A
[11:59:47.725][tid:00000cb0.00000ac0][ERROR:e0001007] OpenVirtualDisk error
[11:59:47.725][tid:00000cb0.00000ac0][INFO] Error. Cleaning up.
[11:59:47.725][tid:00000cb0.00000ac0][INFO] Reason set to 9: Profile load failed

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,499 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,285 questions
FSLogix
FSLogix
A set of solutions that enhance, enable, and simplify non-persistent Windows computing environments and may also be used to create more portable computing sessions when using physical devices.
464 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,416 Reputation points
    2022-09-09T08:49:02.927+00:00

    Hello there,

    -Navigate to %PROGRAMDATA%\FSLogix\Logs\ODFC or %PROGRAMDATA%\FSLogix\Logs\Profile.
    -Open the most recent file and find any ERRORs or WARNINGs. Many times it will tell you exactly what the issue is.

    Make sure that the user is not being excluded from FSLogix
    -Check the local groups on the RDS, and make sure that they line up with what you're expecting.
    -Generally "Everyone" should be part of the included lists, and the Exclude list should be empty.

    Here is a link that has some additional troubleshooting steps which you can try and see if helps in overcoming your issue

    Trouble Shooting Guide for FSLogix products https://learn.microsoft.com/en-us/fslogix/fslogix-trouble-shooting-ht

    -----------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments