Skip to content

[Azure AVD Windows 11 not detected]:  #385

Open

Description

@nasan92

Describe the bug

If we running BIS-F on a Windows 11 Image for AVD we get this errors:
| admin | WARNING......... | No Image Management Software detected [Citrix PVS Target Device Driver, XenDesktop VDA or VMware View Agent]
| admin | WARNING......... | The system will not be shutdown by this script. Please run Sysprep or your prefered method manualy or install one of the software above and run the script again

The same issue was repported here: Azure WVD not detected #257

We can fix it manually in the module with this:

Write-BISFFunctionName2Log -FunctionName ($MyInvocation.MyCommand | ForEach-Object { $_.Name }) #must be added at the begin to each function
$Win10AVD = "Microsoft Windows 10 Enterprise for Virtual Desktops"
$Win11AVD = "Microsoft Windows 11 Enterprise multi-session"
IF ($OSName -eq $Win10AVD -or $OSName -eq $Win11AVD) { $WVD = $true } ELSE { $WVD = $false }
IF ($WVD -eq $true) {
Write-BISFlog -Msg "Product $OSName installed" -ShowConsole -Color Cyan
$Global:ImageSW = $true
} ELSE {
Write-BISFlog -Msg "Product $OSName NOT installed"
}
return $WVD

Can you please fix the module?

Steps to reproduce

Create a Windows 11 AVD Image and try to run BIS-F

Expected behavior

BIS-F running through without the above warning

Screenshots

No response

Desktop, please complete the following information.

No response

Smartphone, please complete the following information.

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions