Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Azure AVD Windows 11 not detected]: #385

Open
nasan92 opened this issue Jan 18, 2024 · 0 comments
Open

[Azure AVD Windows 11 not detected]: #385

nasan92 opened this issue Jan 18, 2024 · 0 comments

Comments

@nasan92
Copy link

nasan92 commented Jan 18, 2024

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
Projects
None yet
Development

No branches or pull requests

1 participant