Amazonは、Windows Server 2012 R2で実行されているインスタンスの修正プログラムをリリースし、ネットワーク接続の損失を防止しました

今朝、AWSサポートから通知を受け取りました。



通知には、30日ごとに非アクティブなデバイスのシステムをスキャンするWindows Server 2012 R2のプラグアンドプレイクリーンアップ機能により、EC2ネットワークカード(インスタンスにアクセスする唯一の方法)が非アクティブであると定義されています。 その結果、デバイスはシステムから削除され、インスタンスへのアクセスは次回の再起動時に失われます。 インスタンスへのアクセスがまだ失われていない場合、インスタンスがこの問題の影響を受けていないことを確認し、特別にリリースされたスクリプトを使用してネットワークインターフェイスが切断されないようにします。





取扱説明書


アーカイブには、スクリプト自体と使用手順が含まれています。 要するに、インスタンス上で、管理者に代わって、コマンドを実行する必要がある場合:

 powershell -noprofile -executionpolicy unrestricted -file \RemediateDriverIssue.ps1 
      



PSRemoting, , ( ), -.



, (as-is, ):



$creds = (Get-Credential) $servers = import-csv c:\serverlist.csv Foreach($server in $servers) { echo d | xcopy /S c:\temp \\$server\c$\RemediateDriverIssue $session = new-pssession -computername $server -credential $creds invoke-command -session $session -scriptblock {powershell -noprofile -executionpolicy unrestricted -file C:\RemediateDriverIssue.ps1} }








:

-disableAutoRepair - Boolean, -force - Boolean, , . false. -logPath - , : c:\logs\RemediateDriverIssue.log -loggingEnabled - Boolean . true.





.

:

C:\Users\Administrator>powershell -noprofile -executionpolicy unrestricted -file RemediateDriverIssue.ps1 20140904_0843:07+00 INFO : Disabling scheduled task Plug and Play Cleanup. 20140904_0843:08+00 INFO : We have disabled the Plug and Play Cleanup scheduled task, please do not re-enable this scheduled task. 20140904_0843:09+00 INFO : This machine was found to be in a non-impacted state.





. , .



, VPS, Windows Server 2012 R2 , "Plug and Play Cleanup" , , , .




powershell -noprofile -executionpolicy unrestricted -file \RemediateDriverIssue.ps1



PSRemoting, , ( ), -.



, (as-is, ):



$creds = (Get-Credential) $servers = import-csv c:\serverlist.csv Foreach($server in $servers) { echo d | xcopy /S c:\temp \\$server\c$\RemediateDriverIssue $session = new-pssession -computername $server -credential $creds invoke-command -session $session -scriptblock {powershell -noprofile -executionpolicy unrestricted -file C:\RemediateDriverIssue.ps1} }








:

-disableAutoRepair - Boolean, -force - Boolean, , . false. -logPath - , : c:\logs\RemediateDriverIssue.log -loggingEnabled - Boolean . true.





.

:

C:\Users\Administrator>powershell -noprofile -executionpolicy unrestricted -file RemediateDriverIssue.ps1 20140904_0843:07+00 INFO : Disabling scheduled task Plug and Play Cleanup. 20140904_0843:08+00 INFO : We have disabled the Plug and Play Cleanup scheduled task, please do not re-enable this scheduled task. 20140904_0843:09+00 INFO : This machine was found to be in a non-impacted state.





. , .



, VPS, Windows Server 2012 R2 , "Plug and Play Cleanup" , , , .




powershell -noprofile -executionpolicy unrestricted -file \RemediateDriverIssue.ps1



PSRemoting, , ( ), -.



, (as-is, ):



$creds = (Get-Credential) $servers = import-csv c:\serverlist.csv Foreach($server in $servers) { echo d | xcopy /S c:\temp \\$server\c$\RemediateDriverIssue $session = new-pssession -computername $server -credential $creds invoke-command -session $session -scriptblock {powershell -noprofile -executionpolicy unrestricted -file C:\RemediateDriverIssue.ps1} }








:

-disableAutoRepair - Boolean, -force - Boolean, , . false. -logPath - , : c:\logs\RemediateDriverIssue.log -loggingEnabled - Boolean . true.





.

:

C:\Users\Administrator>powershell -noprofile -executionpolicy unrestricted -file RemediateDriverIssue.ps1 20140904_0843:07+00 INFO : Disabling scheduled task Plug and Play Cleanup. 20140904_0843:08+00 INFO : We have disabled the Plug and Play Cleanup scheduled task, please do not re-enable this scheduled task. 20140904_0843:09+00 INFO : This machine was found to be in a non-impacted state.





. , .



, VPS, Windows Server 2012 R2 , "Plug and Play Cleanup" , , , .




powershell -noprofile -executionpolicy unrestricted -file \RemediateDriverIssue.ps1



PSRemoting, , ( ), -.



, (as-is, ):



$creds = (Get-Credential) $servers = import-csv c:\serverlist.csv Foreach($server in $servers) { echo d | xcopy /S c:\temp \\$server\c$\RemediateDriverIssue $session = new-pssession -computername $server -credential $creds invoke-command -session $session -scriptblock {powershell -noprofile -executionpolicy unrestricted -file C:\RemediateDriverIssue.ps1} }








:

-disableAutoRepair - Boolean, -force - Boolean, , . false. -logPath - , : c:\logs\RemediateDriverIssue.log -loggingEnabled - Boolean . true.





.

:

C:\Users\Administrator>powershell -noprofile -executionpolicy unrestricted -file RemediateDriverIssue.ps1 20140904_0843:07+00 INFO : Disabling scheduled task Plug and Play Cleanup. 20140904_0843:08+00 INFO : We have disabled the Plug and Play Cleanup scheduled task, please do not re-enable this scheduled task. 20140904_0843:09+00 INFO : This machine was found to be in a non-impacted state.





. , .



, VPS, Windows Server 2012 R2 , "Plug and Play Cleanup" , , , .




powershell -noprofile -executionpolicy unrestricted -file \RemediateDriverIssue.ps1



PSRemoting, , ( ), -.



, (as-is, ):



$creds = (Get-Credential) $servers = import-csv c:\serverlist.csv Foreach($server in $servers) { echo d | xcopy /S c:\temp \\$server\c$\RemediateDriverIssue $session = new-pssession -computername $server -credential $creds invoke-command -session $session -scriptblock {powershell -noprofile -executionpolicy unrestricted -file C:\RemediateDriverIssue.ps1} }








:

-disableAutoRepair - Boolean, -force - Boolean, , . false. -logPath - , : c:\logs\RemediateDriverIssue.log -loggingEnabled - Boolean . true.





.

:

C:\Users\Administrator>powershell -noprofile -executionpolicy unrestricted -file RemediateDriverIssue.ps1 20140904_0843:07+00 INFO : Disabling scheduled task Plug and Play Cleanup. 20140904_0843:08+00 INFO : We have disabled the Plug and Play Cleanup scheduled task, please do not re-enable this scheduled task. 20140904_0843:09+00 INFO : This machine was found to be in a non-impacted state.





. , .



, VPS, Windows Server 2012 R2 , "Plug and Play Cleanup" , , , .




powershell -noprofile -executionpolicy unrestricted -file \RemediateDriverIssue.ps1



PSRemoting, , ( ), -.



, (as-is, ):



$creds = (Get-Credential) $servers = import-csv c:\serverlist.csv Foreach($server in $servers) { echo d | xcopy /S c:\temp \\$server\c$\RemediateDriverIssue $session = new-pssession -computername $server -credential $creds invoke-command -session $session -scriptblock {powershell -noprofile -executionpolicy unrestricted -file C:\RemediateDriverIssue.ps1} }








:

-disableAutoRepair - Boolean, -force - Boolean, , . false. -logPath - , : c:\logs\RemediateDriverIssue.log -loggingEnabled - Boolean . true.





.

:

C:\Users\Administrator>powershell -noprofile -executionpolicy unrestricted -file RemediateDriverIssue.ps1 20140904_0843:07+00 INFO : Disabling scheduled task Plug and Play Cleanup. 20140904_0843:08+00 INFO : We have disabled the Plug and Play Cleanup scheduled task, please do not re-enable this scheduled task. 20140904_0843:09+00 INFO : This machine was found to be in a non-impacted state.





. , .



, VPS, Windows Server 2012 R2 , "Plug and Play Cleanup" , , , .




powershell -noprofile -executionpolicy unrestricted -file \RemediateDriverIssue.ps1



PSRemoting, , ( ), -.



, (as-is, ):



$creds = (Get-Credential) $servers = import-csv c:\serverlist.csv Foreach($server in $servers) { echo d | xcopy /S c:\temp \\$server\c$\RemediateDriverIssue $session = new-pssession -computername $server -credential $creds invoke-command -session $session -scriptblock {powershell -noprofile -executionpolicy unrestricted -file C:\RemediateDriverIssue.ps1} }








:

-disableAutoRepair - Boolean, -force - Boolean, , . false. -logPath - , : c:\logs\RemediateDriverIssue.log -loggingEnabled - Boolean . true.





.

:

C:\Users\Administrator>powershell -noprofile -executionpolicy unrestricted -file RemediateDriverIssue.ps1 20140904_0843:07+00 INFO : Disabling scheduled task Plug and Play Cleanup. 20140904_0843:08+00 INFO : We have disabled the Plug and Play Cleanup scheduled task, please do not re-enable this scheduled task. 20140904_0843:09+00 INFO : This machine was found to be in a non-impacted state.





. , .



, VPS, Windows Server 2012 R2 , "Plug and Play Cleanup" , , , .




 powershell -noprofile -executionpolicy unrestricted -file \RemediateDriverIssue.ps1 
      



PSRemoting, , ( ), -.



, (as-is, ):



$creds = (Get-Credential) $servers = import-csv c:\serverlist.csv Foreach($server in $servers) { echo d | xcopy /S c:\temp \\$server\c$\RemediateDriverIssue $session = new-pssession -computername $server -credential $creds invoke-command -session $session -scriptblock {powershell -noprofile -executionpolicy unrestricted -file C:\RemediateDriverIssue.ps1} }








:

-disableAutoRepair - Boolean, -force - Boolean, , . false. -logPath - , : c:\logs\RemediateDriverIssue.log -loggingEnabled - Boolean . true.





.

:

C:\Users\Administrator>powershell -noprofile -executionpolicy unrestricted -file RemediateDriverIssue.ps1 20140904_0843:07+00 INFO : Disabling scheduled task Plug and Play Cleanup. 20140904_0843:08+00 INFO : We have disabled the Plug and Play Cleanup scheduled task, please do not re-enable this scheduled task. 20140904_0843:09+00 INFO : This machine was found to be in a non-impacted state.





. , .



, VPS, Windows Server 2012 R2 , "Plug and Play Cleanup" , , , .




powershell -noprofile -executionpolicy unrestricted -file \RemediateDriverIssue.ps1



PSRemoting, , ( ), -.



, (as-is, ):



$creds = (Get-Credential) $servers = import-csv c:\serverlist.csv Foreach($server in $servers) { echo d | xcopy /S c:\temp \\$server\c$\RemediateDriverIssue $session = new-pssession -computername $server -credential $creds invoke-command -session $session -scriptblock {powershell -noprofile -executionpolicy unrestricted -file C:\RemediateDriverIssue.ps1} }








:

-disableAutoRepair - Boolean, -force - Boolean, , . false. -logPath - , : c:\logs\RemediateDriverIssue.log -loggingEnabled - Boolean . true.





.

:

C:\Users\Administrator>powershell -noprofile -executionpolicy unrestricted -file RemediateDriverIssue.ps1 20140904_0843:07+00 INFO : Disabling scheduled task Plug and Play Cleanup. 20140904_0843:08+00 INFO : We have disabled the Plug and Play Cleanup scheduled task, please do not re-enable this scheduled task. 20140904_0843:09+00 INFO : This machine was found to be in a non-impacted state.





. , .



, VPS, Windows Server 2012 R2 , "Plug and Play Cleanup" , , , .







All Articles