1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Microsoft IME を再起動する

Last updated at Posted at 2021-03-29

先月の Windows Update 後、「ひらがな」モードにしているのに半角英数字しか入力できない状態になる現象が見られたので、これまで以下のスクリプトを書いてしのいでいたのですが…

2021-02-18.bat
@echo off

openfiles > NUL 2>&1
if %ERRORLEVEL% equ 1 (
  powershell.exe -Command Start-Process \"%~f0\" -Verb runas
  exit /b
)

set SELF=%~n0
set TASK=

setlocal
  for /f "tokens=2" %%i in ('tasklist /fi "imagename eq ctfmon.exe"') do (
    set TASK=%%i
  )
  echo %TASK%
  
  if "%TASK%" == "" (exit /b 1)
  
  taskkill /pid %TASK% && ctfmon.exe
endlocal

本日、以下のツイートを目にしたので、これでしばらく様子を見てみようかと思います。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?