# ConfigMgr New PC TS Package

The easiest method of applying OSConfig to a New PC is directly from a Package and a Run Command Line. This method is not recommended for testing as the OSConfig progress is not displayed.

The following steps are required

* OSConfig must be created as a Package (no Program)

## Create an ConfigMgr Package <a href="#create-an-configmgr-package" id="create-an-configmgr-package"></a>

Create a new Package with Source Files to the root of your OSConfig content. Do not create a Program. Distribute Content to your Distribution Points

## Task Sequence Run Command Line <a href="#task-sequence-run-command-line" id="task-sequence-run-command-line"></a>

Add a Run Command Line step after the "Setup Windows and Configuration Manager" step. Use the following Command Line:

```
PowerShell.exe -ExecutionPolicy Bypass -File .\OSConfig.ps1
```

Make sure that you disable 64-bit file system redirection and that you run from your OSConfig package.

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LKwqhsTZPll-U84guww%2F-LKwtr1UN9a4xQy8fpmp%2F2018-08-27_14-39-12.png?alt=media\&token=fdd81a72-097d-4cfd-8558-ddefa6914881)

## Complete <a href="#complete" id="complete"></a>

If everything worked fine, your Operating System should show all your customizations

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LKwix12wRxkEZMyaLLw%2F-LKwoqp5n4zxZy_8jFat%2F2018-08-27_13-20-06.png?alt=media\&token=8de91bf7-f5bc-443b-b4b3-458f3d2dd47b)

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LLBTcwdDu808ZW2IqWV%2F-LLBTqAs_5iWS_Mk71fo%2F2018-08-30_15-16-30.png?alt=media\&token=e1fdb285-24c8-466e-9af0-1d8364ddcd49)

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LLBTcwdDu808ZW2IqWV%2F-LLBUL1zLqIDAKHynyMh%2F2018-08-30_15-17-46.png?alt=media\&token=4c449534-b888-4a26-bf73-bb3eb95ff753)

The Support Group is from the Domain GPO

​


---

# 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://osconfig.osdeploy.com/docs/untitled/configmgr-new-pc-ts-package.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.
