I am trying to set a specific microphone (PowerMic II) to be the default on a Horizon VDI and Wyse Thin clients (5060/5070)
The vendor suggested using View Agent Direct-Connection plugin to connect to the master image from a thin client, plug the mic in each USB port on the thin client and set it as default.
The OS detected the mic plugged into each port and set it as default.
I finalized the image, shutdown, took a snapshot and deployed the updated image.
On the VDI, Windows does detect the mic but doesn't set it as default. The users have to manually set this mic as default each time they login.
Did I miss a step? Can this configuration be saved to the user's profile via UEM?
We had the same issue where a particular app needed a specific mic as the default before the app was launched. This was our solution.
Using powershell in the parent image:
Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force
Install-Module -Name AudioDeviceCmdlets - Force
We then use this powershell script to find the Microphone's ID and set it as default. In our case we used ps2exe to create an executable that did this and then launched the desired application, but I'm sure you can probably do it using a number of other methods.
$IndexId = Get-AudioDevice -List | Where {($_.name -like "*Speechmike*") -and ($_.Type -eq "Recording")} | Select-Object -ExpandProperty Index
Set-AudioDevice -Index $IndexId
You would need to find the appropriate name to search for and replace *Speechmike*, but Get-AudioDevice -List should be enough to find that value.
We had the same issue where a particular app needed a specific mic as the default before the app was launched. This was our solution.
Using powershell in the parent image:
Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force
Install-Module -Name AudioDeviceCmdlets - Force
We then use this powershell script to find the Microphone's ID and set it as default. In our case we used ps2exe to create an executable that did this and then launched the desired application, but I'm sure you can probably do it using a number of other methods.
$IndexId = Get-AudioDevice -List | Where {($_.name -like "*Speechmike*") -and ($_.Type -eq "Recording")} | Select-Object -ExpandProperty Index
Set-AudioDevice -Index $IndexId
You would need to find the appropriate name to search for and replace *Speechmike*, but Get-AudioDevice -List should be enough to find that value.
This worked, thank you so much!
I converted the powershell script into a exe, used UEM to create a Privilege Elevation and added a shortcut to the startup folder.
