VMware DEM – add second keyboard to VDI

VMware DEM – add second keyboard to VDI 

One of my customer, which using a VMware Horizon VDI – about 150 concurrent users, wants to me add second keyboard to the VDI desktops. I dont want customize the gold image, but instead of it i used the VMware DEM. 

In DEM go to the User Environment and create a new Logon Task. 

  • Name: CZ + EN keyboard
  • Command : powershell.exe -ExecutionPolicy Bypass -File „\\tomaskalabis.com\NETLOGON\cz_en.ps1“  
  • leave all uncheck 

The powershell script is pretty easy : 

# Create language list: Czech first (default), then English

$LangList = New-WinUserLanguageList cs-CZ

$LangList.Add(„en-US“)

# Optional: explicitly define input methods (keyboard layout codes)

$LangList[0].InputMethodTips.Clear()

$LangList[0].InputMethodTips.Add(„0405:00000405“)  # Czech layout

$LangList[1].InputMethodTips.Clear()

$LangList[1].InputMethodTips.Add(„0409:00000409“)  # English US layout

# Apply

Set-WinUserLanguageList $LangList -Force

 

 

 

 

 

(Visited 1 times, 1 visits today)

Napsat komentář

Vaše e-mailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *