# Edit Local Policy with Reg Keys

## Edit Local Policy with Reg Keys

If you are adding registry entries in any of the following Keys in the Registry in your Task Sequence . . .

* HKEY\_CURRENT\_USER\Software\Policies
* HKEY\_CURRENT\_USER\Software\Microsoft\Windows\CurrentVersion\Policies
* HKEY\_LOCAL\_MACHINE\SOFTWARE\Policies
* HKEY\_LOCAL\_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LKAuHVN3q0Xpn4QxuOH%2F-LKAyEtKLNlR3-mOkqvv%2F2018-08-18_2-30-23.png?alt=media\&token=9effb4af-d8f6-4a5b-b07a-8ff4350b498d)

Stop doing this! Make your changes the right way . . . Manage these changes using Local Policy, Group Policy, or ConfigMgr!

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LKAuHVN3q0Xpn4QxuOH%2F-LKB-DzbJQECHJm5WJET%2F2018-08-18_2-46-33.png?alt=media\&token=ea65f341-a6d6-4641-8baf-8f1ba8a305f5)

Last updated Fri Aug 31 2018 18:05:15 GMT+0000 (UTC)


---

# 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-2/best-practices/edit-local-policy-with-reg-keys.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.
