> For the complete documentation index, see [llms.txt](https://thorstenkramm.gitbook.io/saltstack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thorstenkramm.gitbook.io/saltstack/salt-fuer-windows.md).

# Salt für Windows

Auch für die Verwaltung von Microsoft Windows ist Salt bestens geeignet. Es gibt keinen Unterschied im technischen Konzept und im Aufbau der States.&#x20;

### Salt Minion installieren

Folgen Sie 📖 [diesem Link](https://docs.saltproject.io/salt/install-guide/en/latest/topics/install-by-operating-system/windows.html) und laden Sie den Salt-Minion für Windows herunter. Anschließend installieren Sie das heruntergeladene Softwarepaket.

![Der Salt Master und die Minion-ID können während des Setups festgelegt werden.](/files/-LeVmxZG_9fIeHEXpT5G)

Wenn Sie den Salt-Minion per PowerShell installieren möchten, nutzen Sie folgendes Beispiel. Tragen Sie Ihren Salt-Master ein.

```aspnet
cd $env:TEMP
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$url="https://packages.broadcom.com/artifactory/saltproject-generic/windows/3006.9/Salt-Minion-3006.9-Py3-AMD64-Setup.exe"
Invoke-WebRequest -Uri $url -OutFile "Salt-Minion-3006.9-Py3-AMD64-Setup.exe"
Invoke-Expression ".\Salt-Minion-3006.9-Py3-AMD64-Setup.exe /S /master=master.local /minion-name=$env:computername"
del .\Salt-Minion-3006.9-Py3-AMD64-Setup.exe
```

Die komplette Liste der Kommandozeilen-Optionen für eine unbeaufsichtigte Installation finden Sie in der [offiziellen Dokumentation](https://docs.saltproject.io/salt/install-guide/en/latest/topics/install-by-operating-system/windows.html#windows-nullsoft-exe-install-options).

Salt wird, sofern Sie keine Änderungen vorgenommen haben, nach `C:\Program Files\Salt Project\Salt` installiert. Die Konfigurationsdateien finden Sie in `C:\ProgramData\Salt Project\Salt\conf`.&#x20;

Wenn Sie nach Änderungen an der Konfiguration den Salt-Minion neu starten müssen, können Sie dies über die Windows Dienstverwaltung oder die PowerShell tun:

```powershell
Stop-Service salt-minion
Start-Service salt-minion
```


---

# 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://thorstenkramm.gitbook.io/saltstack/salt-fuer-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.
