# Deploy

Once you boot to the OSDCloud.iso, you will need to install the OSD Module first since it is not installed in the ISO by default. While you can add it, I recommend NOT so that you can always get the latest version

Once the OSD Module is installed, go ahead and change the Display Resolution (Virtual Machine) to your liking

```
Install-Module OSD -Force
Set-DisRes 1600
```

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MXmTEtEnAu9nJ3nsHWl%2F-MXmizJYX7JJBuI0MD0S%2Fimage.png?alt=media\&token=eed40f82-79c5-4131-9e1b-89bd47129438)

## Start-OSDCloud

In the screenshot below, you can see I added the **`-Screenshot`** parameter.  This will be covered at the end of this page.  Once OSDCloud has started, you will go through a series of menus to select the OSBuild, OSEdition, and OSLanguage.  These can be set by Start-OSDCloud parameters

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MXmTEtEnAu9nJ3nsHWl%2F-MXmj1H7iD5zWx-b1oJY%2Fimage.png?alt=media\&token=4b9f6d2c-3f68-40cc-b884-1360560e24ae)

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MXmTEtEnAu9nJ3nsHWl%2F-MXmjFEsGNjABnwVImtT%2Fimage.png?alt=media\&token=0c5ba797-ce27-45d2-93b9-210c9c295fe1)

## Deploy-OSDCloud.ps1

After the Start-OSDCloud (preflight) is complete, the work shifts to Deploy-OSDCloud.ps1.  I'll discuss this further in another page

### AutoPilot Profiles

If you added AutoPilot Profiles to your OSDCloud.template, or in your OSDCloud.workspace, they should be in WinPE.  You can select one, or skip this entirely

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MXmTEtEnAu9nJ3nsHWl%2F-MXmjLXMYDjUrbQ6pFV4%2Fimage.png?alt=media\&token=47202f29-b3d6-4a52-ac66-04edec330835)

### OSDCloudODT

This is a new addition to OSDCloud where you can inject an Office or M365 ODT Configuration file.  If you enabled this, make a selection or skip this step.  In my example below I have mapped a drive with OSDCloud offline content, so it shows a different directory for the ODT files

{% content-ref url="enable-osdcloudodt" %}
[enable-osdcloudodt](https://www.osdcloud.com/osdcloud-v1/recycle-bin/enable-osdcloudodt)
{% endcontent-ref %}

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MXmTEtEnAu9nJ3nsHWl%2F-MXmnCH-R3ksu2n1-M5M%2Fimage.png?alt=media\&token=11884dce-943d-48ad-aa50-d741e3b7f730)

### Clear-Disk.fixed and New-OSDisk

You will be prompted to Clear any Fixed Disks and then a new OSDisk will be created

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MXmTEtEnAu9nJ3nsHWl%2F-MXmn_12-R9BeKxajpuH%2Fimage.png?alt=media\&token=3cd1fa67-39ce-4d82-9c08-73758322622c)

### Feature Update

The next step is to download (or copy from USB) the Feature Update ESD and to expand the required Index to C:\\

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MXmTEtEnAu9nJ3nsHWl%2F-MXmo24DMzGLB9PImqrb%2Fimage.png?alt=media\&token=441eb9a4-1c36-4427-8b8e-515ceecc5c2f)

### Final Steps

In these last few steps, Drivers are downloaded, as well as the required Unattend.xml Specialize content to expand and installed them.  Office / M365 ODT Configuration and offline Content will be staged, and finally required PowerShell Modules will be applied to the Offline OS

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MXmTEtEnAu9nJ3nsHWl%2F-MXmodV-EwesUz9HKONZ%2Fimage.png?alt=media\&token=e39c611c-b443-40f4-bb34-643b9853e154)

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MXmTEtEnAu9nJ3nsHWl%2F-MXmog9qNtN0o8s5QJos%2Fimage.png?alt=media\&token=679abbbf-f70c-4de4-acdf-e2d6c565e9d8)

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MXmTEtEnAu9nJ3nsHWl%2F-MXmoomC7CdkxFVLA3ib%2Fimage.png?alt=media\&token=d8e0bd98-cc24-4e03-b9aa-4b4c1b4773d8)

## Screenshots

They are saved on your Local Disk in C:\OSDCloud\ScreenPNG

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MVzTp3fo83ubV1PIc1l%2F-MVzUDJSGnpHOwmTy2HK%2Fimage.png?alt=media\&token=0d4e1ab9-cb1c-4f50-8e2f-3863d9df869a)

{% embed url="<https://www.recastsoftware.com/?utm_source=osdeploy&utm_medium=ad&utm_campaign=web>" %}
OSDeploy is sponsored by Recast Software
{% endembed %}
