Wednesday, 12 March 2014

Create Folder on Desktop via GPO


In this article, I am going to explain about how to Add or Create Folder on every user's desktop through Group Policy. This is a very common task in any domain environment for either all of your user’s desktop or to a certain group of user’s desktop depending on your needs.

Steps to Create Folder on desktop via Group Policy

1. Open the Group Policy Management console by running the command gpmc.msc.

2.  Expand the tree and Right-click on the OU you want this policy to be applied to. Now, I am going to apply users who are under the OU SupportTeam. so Right-click the OU SupportTeam, and click Create a GPO in this domain, and Link it here...

Create Folder on Desktop via GPO

3. Give the new policy name and click OK. Here, I am giving the policy name folder-policy

Create Folder on Desktop via GPO

4. Now right-click on the newly created GPO folder-policy and click edit.

Add Folder on Desktop via GPO

5. In the Group Policy Management Editor window, expand User Configuration and go to the node Folders(User Configuration/Preferences/Windows Settings/Folders).

6. Right-click in the white empty area, select New and then select Folder.

How to Create Folder on Desktop via Group Policy Object

7. In the General tab, fill the following details:
     Select Action: Create
     and type Path: %userprofile%\Desktop\SupportTeam

How to Create Folder on Desktop via GPO

8. Click on the Common tab.
Select Remove this item when it is no longer applied and select OK to the prompt about changing the Action field to ‘Replace’.What this will do is remove the icon if we delete this policy, or if the user falls out of the OU structure that has this policy applied to it.

Create Folder on Desktop through Group Policy

9. In the Description field, write the description as easy way to understand what is this policy, click Apply, and OK.

How to Add Folder on Desktop through GPO

10. Now update the GPO by running the command gpupdate /force

how to Add Folder on Desktop through Group Policy

11. That's all. Now we have successfully created new GPO policy to create SupportTeam Folder in every user's desktop for the users who are under OU SupportTeam. You can see SupportTeam Folder  by logging into any of the user's desktop who are under SupportTeam OU

Add Folder on Desktop via GPO

Now, you can create your own GPO to Create Folder on Desktop via Group Policy as per your wish.......

Related Articles:

Add Environment Variable via Group Policy
Add desktop shortcut icon through Group Policy
Pin Program to Taskbar via Group Policy
Add start menu shortcut via Group Policy
How to Pin a Program to Start menu via Group Policy



  1. This won't work on a non-english Windows XP (Desktop dirname is localized) or if the Desktop folder is redirected outside the user profile (eg. on a share)

  2. Awesome post, thank you.

  3. If folder is on network share you must check Run in logged-on user's context.

  4. folder is create but it's deleted by the how can we avoid this

    1. Sorry I think we can't prevent users from deleting folder as we are creating folder in user's own desktop location they should have complete full access to do anything.