AWS の EC2 インスタンスには、 Windows Server 2008 R2 と Windows Server 2012 が2/10 現在利用可能です。 日本語AMIを使わない限り、EC2インスタンスがデフォルトで提供しているのが英語OSなため、日本語化して使うことが多いと思います。 しかし、何も考慮せずに日本語化して、PSRemoting (PowerShell Remoting) の有効化を試みると以下のエラーで失敗します。 Enable-PSRemoting -Force Set-WSManQuickConfig : <f:WSManFault xmlns:f="https://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2" Machine="localhost"><f:Message><f:ProviderFa
![AWS や Azure でWindows Server 2012 英語インスタンスを日本語化して PowerShell Remoting しようとしてCode="2" で実行できない場合の対処 - tech.guitarrapc.cóm](https://cdn-ak-scissors.b.st-hatena.com/image/square/dcc5c6cbc3a340c3388f072fb83d48e8422c3d97/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fg%2Fguitarrapc_tech%2F20140210%2F20140210204230.png)