# Apply RegistryXML Files

While you can add your Registry settings in Group Policy Preferences, there is an easier way. Simply place the RegistryXML file you created on the last page in your **OSConfig\RegistryXML\ImportXML** directory. OSConfig will automatically apply any XML files in this directory to the Registry of the Deployment OS.

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LLcRPTOIEJqhCRkP2MS%2F-LLcVrA_2VniI5YzBU3m%2F2018-09-05_1-54-27.png?alt=media\&token=741b5fbe-a7fe-4506-9616-92c42daf2256)

## Wrap-Up <a href="#wrap-up" id="wrap-up"></a>

After switching to RegistryXML, there is absolutely no way I am going back to multiple steps in my Task Sequence for making Registry modifications . . . Keep this in mind . . . **until you separate your Customizations from your Task Sequence, you will never be able to create Provisioning Packages to apply the Customizations.**


---

# 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-4/apply-registryxml-files.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.
