> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/mashinsukyan/local-vm-scanning/setting-up-the-local-vm-scanner-windows.md).

# Windows でローカル VM スキャナーを設定する

Aikido VM Scannerは、システムにインストールされる単一パッケージで、依存関係を自動的にスキャンして特定し、環境を詳細に把握できるようにします。

### 前提条件

* 最小システム要件: RAM 1GB 以上。
* 推奨システム要件: RAM 2GB 以上、CPU 4基。
* システムで管理者権限があることを確認してください
* お使いのシステムまたはクラウドプロバイダーに適したコマンドを使用してください
* [Windows では、PowerShell がインストールされ有効になっていることを確認してください](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5)

### インストールとアップグレード

管理者モードで PowerShell を起動し、置き換えてください `AIKIDO_TOKEN` を [Aikido のローカル VM スキャンページの有効なトークン](https://app.aikido.dev/settings/integrations/vm-scan-agent)。また、以下のオプションパラメータも指定できます:

* `VM_TYPE` 次のいずれかとして: `本番`, `ステージング` または `開発`.
* `OUTPUT` 次のいずれかとして: `標準出力`, `標準エラー出力` または `なし`.
* `INITIAL_SCAN` 次のいずれかとして: `1` または `0`.

```
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest -Uri "https://aikido-vm-agent.s3.eu-west-1.amazonaws.com/v1.4.4/AikidoVmScanner.msi" -OutFile "AikidoVmScanner.msi"
msiexec /i AikidoVmScanner.msi /qn /norestart AIKIDO_TOKEN=REPLACE_ME VM_TYPE=production OUTPUT=stdout INITIAL_SCAN=1
```

<table><thead><tr><th width="99.64453125">ハッシュ</th><th>AikidoVmScanner.msi</th></tr></thead><tbody><tr><td>MD5</td><td>216bcc1f3ad637b860088cdc30e58e61</td></tr><tr><td>SHA256</td><td>0804854b6a960ac33a6508142bc0e1f726e317a5d98b5fe9d84dabae8b8f6489</td></tr></tbody></table>

インストールの自動化プロセスがあり、常に最新バージョンを使用したい場合は、次のリンクを使用できます:

* <https://aikido-vm-agent.s3.eu-west-1.amazonaws.com/latest/AikidoVmScanner.msi>

VM Scanner Agent は 1 日 1 回、次の間のランダムな時刻に実行されます: **午前 4:00 - 午前 8:00** （機械時刻）。

インストール後、 **最初のスキャンが自動的に開始されます**。必要に応じて実行したい場合は、管理者権限の PowerShell で次のコマンドを手動で実行できます。

```powershell
& 'C:\Program Files\AikidoVmScanner\AikidoVmScanner.exe'
```

### アンインストール

管理者モードで PowerShell を起動し、次を実行します:

```powershell
msiexec.exe /x (Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -like "AikidoVmScanner*" }).IdentifyingNumber /qn /norestart
```

### ログ

ログは、最後に生成された SBOM とともにこちらで確認できます: `C:\ProgramData\AikidoVmScanner\Logs`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/mashinsukyan/local-vm-scanning/setting-up-the-local-vm-scanner-windows.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
