A Windows Registry is an application that stores data in binary format. It also stores the configuration data of the computer and of the various users in seperate files.
Registry keys are created during the installation of the adapters when the windows operating system is instaklled in a computer. It contains informations and settings for all the preferences, hardware, software, and users of the the computer.
Below is my detailed process of how I was able to execute my calculator application (calc.exe) at startup of my windows OS. The process I'll show you below includes mistakes I made before I finally suceeded at my assigned problem set.
The Windows registry editor contains various informations and settings of the PC. It reflects and stores all changes made on the PC. For example, if changes were made to a file's control settings, or if a seperate user on the PC makes changes to their screensaver, all these changes are stored in the registry editor and used for future reference and execution.
The registry editor is also responsible for executing startup processes at default and its possible to instruct the registry editor to execute any application of your choice at the startup of the PC.
I searched for Registry Editor in Windows search bar and clicked on the Registry Editor application and was shown the page below
I selected "HKEY_CURRENT-USER" as shown in the image below
I clicked on "Software" as shown in the image below
I clicked on "Microsoft" as shown in the image below
I scrolled down and clicked on "Windows" as shown in the image below
I clicked on "CurrentVersion" as shown in the image below
I selected the option "New" and was presented with more options and I selected "String Value" as shown in the image below
I got to find out there was another way to create a new startup process. Click the "Edit" option on the top left section of your screen and click on "New" and click on "String Value" as shown in the image below
You'll be presented with an option to input "Value Name" and "Value Data". Value name describes whatever you want the process to be called, input something memorable, in this example, I used "Execute Cal". Now I think I should have used "Calculator" instead.
In the image below, I inputed the wrong "Value Data" by mistake
I couldn't understand why the application didn't startup after restarting my PC, then I made changes to the Value Data and the Calculator application as before didn't startup after rebooting. I wanted to fix it what was wrong and I knew it's got to be the Value Data
The image below shows one of the many times I was about to restart my PC
Then I made further changes to the "Value Data" as shown in the image below. I felt fairly certain I had figured it out at last (The value data seems more reasonable, or so I thought)
As you can already imagine, I was disappointed once again but I was also more determined to make it work. Just then an idea struck me, and I thought, "how about I confirm where the application is stored on the terminal?"
where calc.exe
I realised I was using the wrong file path and I made changes as shown in the image below
Below is a detailed explanation of how I used Task Scheduler to automate the periodic running of notepad.exe.
Task scheduler is an application on windows that is used to automate tasks periodically and it can also be used to automatically startup apps at boot.
There are numerous options available for you to tweak to your needs when scheduling an application in Task scheduler. Below are the steps I followed to achieve my assigned task of getting task scheduler to execute "notepad.exe" every 2 hours.
In the first image below, I searched for Task Scheduler in windows search bar and clicked on the application.
I was presented with the Task scheduler's home page
I right-clicked on Task Scheduler Library and clicked on "New Folder"
I named the folder
I clicked on the ">" beside the Task Scheduler Library
I clicked on my newly created folder
I clicked the "Action" tab at the top left side of the screen and clicked on "Create Task"
I gave it a task name. The Description is optional and I choose other settings as I saw important