This Post will tell you how you can secure you windows using some basic features of the Windows Registry. Windows Registry is a database which stores the configuration settings and options on Windows operating system. Operating system reads the registry key values while booting. You should have a comprehensive understanding of registry keys and the possible value it can have before manipulating it. Below is an example in CPP which shows how to make use of the registry keys to customize the behavior of Windows. To understand the below example, you should have the basic knowledge of how to write a window based application in CPP. Registry Functions used: RegOpenKeyEx for opening the specified registry key RegSetValueEx for setting the value and data type of a specified value under a key RegDeleteValue for removing a value from the specified key Download the source code 1. Declarations HANDLE hprocess_terminate; HINSTANCE hInstance; ...