> 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 の Local VM スキャンページから取得した有効なトークン](https://app.aikido.dev/settings/integrations/vm-scan-agent)。また、以下の任意パラメータを指定できます:

* `VM_TYPE` として次のいずれかを指定: `本番環境`, `staging` または `development`.
* `OUTPUT` として次のいずれかを指定: `stdout`, `stderr` または `none`.
* `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回実行されます **午前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.
