Group Policy How-To – Folders
Whenever we get a new client, one of the first things we do is create a new folder on the root of C called temp. If that client has a group policy we create a policy just for that. This guide is a simple one, it’s how to create a folder with group policy. This post will build on other posts. Let’s get started.
Creating the Policy
- Start Group Policy.
- Expand to your Group Policy Objects
- Right Click and Select new Policy.
- Name the Policy. I suggest, “Folder – Temp”
- Right Click the “Folder – Temp” Policy and click edit
- Naviage to Computer Configuration > Preferences > Windows Settings > Folders.
- Right Click in the right plane
- Click New > Folder
- In the Path location, enter the path you want. In this case it will be c:\temp.
- Click OK.
Now we have the policy made, we need to decide who is getting the policy. We want every computer to get this policy. Closeout the edit group policy and click on the policy. Then click on the delegation tab. Here we see our delegations. Right now every user and computer will execute this policy. We want to change that.
Delegating the Policy
- Click on the policy in question “Folder – Temp”
- Click the delegation tab.
- Click Authenticated users
- Click advanced
- Click autenticated users in this window.
- Uncheck apply group policy.
- Click the add button
- Search for Domain Computers
- Give Domain computers Read and Apply by checking the check box on read and apply group policy.
- Click Apply
- Click Ok.
Linking the policy
Now the policy will only apply to Domain Computers inside whatever OU you link it to. Now we need to link it to an OU. Since we are doing this to all computers on the domain, we can link it at the top level. We do this by right-clicking the domain and clicking the Link existing gpo object. We search for the GPO in question and click it. Then we click ok. Within the next few days, the c:\temp folder will be created.
That is how you create a folder on all computers in your domain. If you have any questions, feel free to reach out.
Leave a Reply