> For the complete documentation index, see [llms.txt](https://ad-lab.gitbook.io/building-a-windows-ad-lab/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ad-lab.gitbook.io/building-a-windows-ad-lab/lab-setup/building-the-lab/cloning-and-creating-vms.md).

# Cloning & Creating VM's

## Cloning Virtual Machines from images

1. Go to the directory where the virtual machines are installed `C:\Users\<USER>\Documents\Virtual Machines\`
2. Make a copy of the `Windows Server 2019 - Image` directory and rename it to `DC01`.
3. Make a copy of the `Windows Server 2022 - Image` directory and rename it to `DC02`.
4. Make a copy of the `Windows Server 2022 - Image` directory and rename it to `FILE01`.
5. Make a copy of the `Windows 10 - Image` directory and rename it to `WS01`.
6. Make a copy of the `Windows Server 2019 - Image` directory and rename it to `WEB01`.
7. Make a copy of the `Windows Server 2022 - Image` directory and rename it do `DC03`.
8. Make a copy of the `Windows Server 2022 - Image` directory and rename it do `DATA01`.

## Creating Virtual Machines

1. Open VMware and click on "Open a Virtual Machine"

<div align="left"><img src="https://1033393870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPqGbN7FCY7Xh4OkOtvin%2Fuploads%2Fgit-blob-509c2f5886abb7e12611c513e8e6e43ed7012f9c%2Fafbeelding.png?alt=media" alt=""></div>

2\. Browse to the virtual machine directory and select the `.vmx` file.

3\. Rename the Virtual Machine in VMware to the correspondant name (DC01, DC02, FILE01, WS01 or WEB01)

4\. Right click on the Virtual Machine --> Settings, change the network adapter to vmnet2 and click on "OK".

<div align="left"><img src="https://1033393870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPqGbN7FCY7Xh4OkOtvin%2Fuploads%2Fgit-blob-87b8b0bf589d349a907e4d9c39759ed5c6fa457d%2Fafbeelding.png?alt=media" alt=""></div>

5\. Repeat this for all machines.

You should have the following machines: DC01, DC02, DC03, FILE01, WEB01, WS01, DATA01 and three images.

<div align="left"><img src="https://1033393870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPqGbN7FCY7Xh4OkOtvin%2Fuploads%2FNK1q3YH6MxNK64NdIvh0%2Fafbeelding.png?alt=media&amp;token=9538ee50-f9f6-49aa-bb9b-5f3c087284bd" alt=""></div>
