How to Change the Default “New folder” Name for newly created folder

When we create any new object(folder, files, etc.) in Windows, by default, it is named as “New <object>”. For example, When  a New folder is created, it is named as New folder by default. When a new Microsoft Document is created it is named as New Microsoft Word Document. Refer to the below screenshots

 

Example

 

 

If you wish to change the name at this stage, you can simply type the name you want and press Enter. This is good for normal scenarios. However, if you are doing some sort of automation work you might want to change the default name .Lets say, you are writing a script that generates some report. Now, you want to name that report with some specific name every time. In such cases, instead of manually changing the name every single time, it would be great if we could change the default name.

In this article let us discuss how to change the default name of a object(folder, files, etc.)



Steps to be followed :

Step 1: Open the run window. Hold the buttons Windows+r from your keyboard at the same time.

Step 2: Type regedit and press OK

 

 

Regedit In Run

 

 

NOTE: Registry editing can have adverse effect on the system even with a slightest mistake. It is advised to take the backup of the registry settings before proceeding. To take a backup, In the Registry Editor window –> Go to File –> Export –> Save your Backup file.

 

Step 3: In the Editor window , type or copy-paste or navigate to the following location,

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer

 

Registry Editor Window

 

 

Step 4: Check if the sub folder named NamingTemplates is present in the left-hand side panel. In case this folder is not present, we have to create one using the below steps.

  1. Right Click on Explorer folder
  2. Click on New
  3.  Choose Key
  4. Press Enter

 

New Folder Creation

 

After the creation, the window should look like this

 

Namingtemplates

 

Step 5: Create a String key

  1. Right Click anywhere on the right hand side
  2. Click on New
  3. Choose String Value

 

 

String Value

 

 

 

Step 4: Name the key as RenameNameTemplate. 

 

 

Rename Template

 

 

Step 5: Now, right-click on the key RenameNameTemplate and choose Modify

 

 

 

Modify

 

Step 6: In the Edit String window , type the name you want as the default name.



 

Edit String

 

 

 

NOTE:

  • Do not use reserved characters such as  > < | ” ‘ * \ / ? : * ” in the name. For more information on naming conventions to be used refer this link

 

That’s All. With these changes in place, you can create any object with the default name of your choice. Refer to the Snapshots below

 

Edited Folder

 

Thank you for Reading. We hope this has been informative. Stay tuned for more tips and tricks.