# Autopilot

{% hint style="danger" %}
This page is currently under development
{% endhint %}

OSDHelp Autopilot contains PowerShell scripts that can be used to help you with Autopilot related tasks

## Readme.md

You can launch these scripts and open the Readme.md using the following PowerShell Command.  Since most of the scripts in OSDHelp require Admin Rights, you should always run OSDHelp in an Elevated PowerShell session

```
OSDHelp Autopilot
```

The Readme.md will be presented first to detail the contained scripts

![](/files/-MhHRhhH7QPJPfDGfyOH)

## Run Me First

I strongly recommend you review, edit, and run this script to your specific needs

```
#================================================
#   Disable Console Line Wrap
#   If you plan on using EventMonitor, your lines can get
#   very long. To keep things straight, turn off Line Wrap
#   with this Registry setting
#================================================
reg add HKCU\Console /v LineWrap /t REG_DWORD /d 0 /f

#================================================
#   Set-DisRes 1600 for Virtual Machine
#   If you are using Hyper-V, it may be helpful
#   to bump up your Display Resolution
#================================================
if ((Get-MyComputerModel) -match 'Virtual') {
    Write-Host  -ForegroundColor DarkCyan 'Set-DisRes 1600'
    Set-DisRes 1600
}

#================================================
#   Open URI Display Settings
#   If you are in OOBE, things can get crowded
#   Make sure your Display Scaling is set to 100%
#================================================
Start-Process ms-settings:display

#================================================
#   Open Default Browser
#   If you need to authenticate to a Firewall while
#   in OOBE then this will get things working
#================================================
start www.msn.com
```

I'm not going to go into detail on this website what each and every script does,  so please make sure you review the Readme.md and any Run Me First script

![](/files/-MhKhi3Gx-m_GskfVadm)


---

# 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://osd.osdeploy.com/docs/osdhelp/autopilot.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.
