# Lab-setup

- [Lab overview](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/lab-overview.md): This page is a overview of the whole lab. It will get updates as the lab expands.
- [Building the lab](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab.md): Follow the pages in chronological order to create the lab.
- [Prerequisite](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/prerequisite.md)
- [Creating images](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-images.md): We are expecting that you know how to create a virtual machine and install a Windows client or server. Below is a short manual on how to do so for some guidance.
- [Optional: Install software & Settings](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-images/optional-install-software-and-settings.md): Optionally we could install some software such as BGInfo from sysinternals, Notepad++ or VMware tools.
- [Network setup](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/network-setup.md)
- [Cloning & Creating VM's](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/cloning-and-creating-vms.md)
- [Creating bank.local](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local.md)
- [Creating Domain Controller - DC01](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-domain-controller-dc01.md)
- [Enable RDP](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-domain-controller-dc01/enable-rdp.md)
- [Creating amsterdam.bank.local](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-amsterdam.bank.local.md)
- [Creating Domain Controller - DC02](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-amsterdam.bank.local/creating-domain-controller-dc02.md)
- [Creating a AD structure](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-amsterdam.bank.local/creating-domain-controller-dc02/creating-a-ad-structure.md)
- [Create a CA](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-amsterdam.bank.local/creating-domain-controller-dc02/create-a-ca.md)
- [Configure LDAPS](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-amsterdam.bank.local/creating-domain-controller-dc02/configure-ldaps.md)
- [Creating Fileserver - FILE01](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-amsterdam.bank.local/creating-fileserver-file01.md)
- [File services](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-amsterdam.bank.local/creating-fileserver-file01/file-services.md): Shares are used a lot in infrastructures and we often see shares that are open for all domain users. Sometimes passwords or other sensitive information can be found on shares.
- [Creating W10 client - WS01](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-amsterdam.bank.local/creating-w10-client-ws01.md)
- [PSRemoting](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-amsterdam.bank.local/creating-w10-client-ws01/psremoting.md)
- [Creating Webserver - WEB01](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-amsterdam.bank.local/creating-webserver-web01.md)
- [Web Services](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-amsterdam.bank.local/creating-webserver-web01/web-services.md)
- [SQL Server](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-amsterdam.bank.local/creating-webserver-web01/sql-server.md)
- [Create database](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-bank.local/creating-amsterdam.bank.local/creating-webserver-web01/sql-server/create-database.md)
- [Creating secure.local](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-secure.local.md)
- [Creating Domain Controller - DC03](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-secure.local/creating-domain-controller-dc03.md)
- [Creating File/SQL Server - DATA01](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-secure.local/creating-file-sql-server-data01.md)
- [SQL Server](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-secure.local/creating-file-sql-server-data01/sql-server.md)
- [Create database](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/creating-secure.local/creating-file-sql-server-data01/sql-server/create-database.md)
- [Attack Paths](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/attack-paths.md)
- [Attack path 1 (hard)](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/attack-paths/attack-path-1-hard.md)
- [Configuring](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/attack-paths/attack-path-1-hard/configuring.md)
- [Tasks](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/attack-paths/attack-path-1-hard/tasks.md)
- [Manual](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/attack-paths/attack-path-1-hard/manual.md)
- [Attack path 2](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/attack-paths/attack-path-2.md)
- [Configuring](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/attack-paths/attack-path-2/configuring.md)
- [Task](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/attack-paths/attack-path-2/task.md)
- [Manual](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/attack-paths/attack-path-2/manual.md)
- [Troubleshooting](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/troubleshooting.md)
- [To-Do](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/to-do.md)


---

# Agent Instructions: 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:

```
GET https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
