Configuring Registry Settings with Group Policy

Sign up to access this lesson

Click here to sign up and get access to this lesson!

Saving Progress...

In this lecture, I am going to be showing you how you can use Group Policy to create Registry Settings.

We are going to create a Registry Setting that will allow us to right-click any file and open it with Notepad.

Open Server Manager > Tools > Group Policy Management.

Right-click and choose to Create a GPO in this domain, and Link it here...

Name the GPO Registry Settings and click OK.

Right-click on Registry Settings and choose Edit.

NOTE: We can configure the settings on a Computer basis or User basis.

Expand Computer Configuration > Preferences > Windows Settings > Registry. Right click on the right empty pane and choose New > Registry Item.

NOTE: Before we go any further, you should keep in mind editing your Registry is generally a bad idea if you don’t know exactly what you are doing. You can cause a lot of problems with your computers, and some of the issues are even irreversible and you most likely need to reformat and rebuild your computer. You should be testing in a lab environment and not in a production environment.

The New Registry Properties window will appear. Edit the following:

Action: Create


Key path: *\shell\Open with Notepad\command

Value name: click Default check box

Value Type: REG_SZ

Value data: notepad.exe %1

Click on Apply and OK buttons.

We are ready to test it in our Domain Controller since we linked it to the root of the domain.

In a command prompt run gpupdate /force.

Now we can test with any file. Right-click on a .jpg image and you will see Open with Notepad is now an option.

If we click on that option we see the file is open in Notepad.

Obviously is not useful for JPEG but might be useful for config files, XML files, etc.

And that is how you set up and configure Registry settings with Group Policies.

Sign up to access the rest of this lesson

You must either log in or sign up to access this lesson.

Saving Progress...

0 0 votes
Lesson Rating
Notify of
Inline Feedbacks
View all comments

Group Policy & Security with Windows Server


0/1 Lessons

Course Introduction

• 2min

0 / 1 lessons complete

Introduction to Group Policy Management

• 1hr 24min

0 / 6 lessons complete

Manage Your Workstations

• 1hr 46min

0 / 7 lessons complete

Securing Your Domain

• 1hr 1min

0 / 5 lessons complete

Group Policy Troubleshooting

• 53min

0 / 5 lessons complete

Course Conclusion

• 1min

0 / 1 lessons complete