概要
AzureでWIndows Server 2016を作成後、日本語化を行おうとすると、何を行っても日本語化が出来ない。
サポートに問い合わせたところ、解決法が分かったためメモ
対応内容
TxR 配下のトランザクション ログのリセット
ツールのダウンロード
次のサイトから、PendMoves.zipをダウンロード
必要なものは、movefile.exe
PendMoves v1.02 and MoveFile v1.01
attrib コマンドを隠し属性を解除
$ cd C:\Windows\system32\config\txr
$ attrib -r -s -h *
movefile.exe が保存されているディレクトリに移動
$ cd (movefile.exeのディレクトリ)
TxR 配下のトランザクション ログ削除
アスタリスクによるファイル指定ができないため、存在するファイルに基づき実施する必要がある。
VMが2台あり、両方とも同じコマンドで大丈夫であったため、そのまま記載
場合によっては、ファイル名は変わって来るかも
$ movefile.exe “C:\Windows\System32\config\TxR\{711988c4-afbd-11e6-80c9-782bcb3928e1}.TxR.0.regtrans-ms” “”
$ movefile.exe “C:\Windows\System32\config\TxR\{711988c4-afbd-11e6-80c9-782bcb3928e1}.TxR.1.regtrans-ms” “”
$ movefile.exe “C:\Windows\System32\config\TxR\{711988c4-afbd-11e6-80c9-782bcb3928e1}.TxR.2.regtrans-ms” “”
$ movefile.exe “C:\Windows\System32\config\TxR\{711988c4-afbd-11e6-80c9-782bcb3928e1}.TxR.blf” “”
$ movefile.exe “C:\Windows\System32\config\TxR\{711988c5-afbd-11e6-80c9-782bcb3928e1}.TM.blf ““”
$ movefile.exe “C:\Windows\System32\config\TxR\{711988c5-afbd-11e6-80c9-782bcb3928e1}.TMContainer00000000000000000001.regtrans-ms” “”
$ movefile.exe “C:\Windows\System32\config\TxR\{711988c5-afbd-11e6-80c9-782bcb3928e1}.TMContainer00000000000000000002.regtrans-ms” “”
下記の文言が表示されるはず
Movefile v1.01 - copies over an in-use file at boot time
Move successfully scheduled.
OS再起動
$ hostname #←ここは自分の好み
$ shutdown -r -t 0
言語パックのインストール
他のサイトでも色々やり方が書いてあると思うので省略
コントロールパネルから行ったら、適用することが出来た