Skip to content

Instantly share code, notes, and snippets.

@shigenobuokamoto
Created August 14, 2024 00:32
Show Gist options
  • Save shigenobuokamoto/32c1bbcf8a5226341ff64f81475f5322 to your computer and use it in GitHub Desktop.
Save shigenobuokamoto/32c1bbcf8a5226341ff64f81475f5322 to your computer and use it in GitHub Desktop.
IME setting for Windows Sandbox
<Configuration>
<VGpu>Enable</VGpu>
<MemoryInMB>6114</MemoryInMB>
<Networking>Enable</Networking>
<LogonCommand>
<Command>powershell -command "New-ItemProperty -LiteralPath 'HKCU:Software\Microsoft\IME\15.0\IMEJP\MSIME' -Name 'IsKeyAssignmentEnabled' -PropertyType 'DWord' -Value 1;New-ItemProperty -LiteralPath 'HKCU:Software\Microsoft\IME\15.0\IMEJP\MSIME' -Name 'KeyAssignmentHenkan' -PropertyType 'DWord' -Value 0;New-ItemProperty -LiteralPath 'HKCU:Software\Microsoft\IME\15.0\IMEJP\MSIME' -Name 'KeyAssignmentMuhenkan' -PropertyType 'DWord' -Value 1;New-ItemProperty -LiteralPath 'HKLM:SYSTEM\CurrentControlSet\Services\i8042prt\Parameters' -Name 'LayerDriver JPN' -PropertyType 'String' -Value 'kbd106.dll';New-ItemProperty -LiteralPath 'HKLM:SYSTEM\CurrentControlSet\Services\i8042prt\Parameters' -Name 'OverrideKeyboardIdentifier' -PropertyType 'String' -Value 'PCAT_106KEY';"</Command>
</LogonCommand>
</Configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment