Sometimes you may need a program only once. You can tweak your Registry if you are on a computer running Windows XP so that you invoke the program only once and after that, you can have the program deleted from the Registry. The only way for the program to run again would be by manual re-entry.Â
Reminder: Changes to the Registry are irreversible if you do not have a back-up. We advise that you back-up your Registry prior to making any changes.
To invoke a program once and delete, you will need to create a Runonce key. This key will remain in the Registry for future reuse.
To do this, you will need to perform the following 12 steps:
- Go to Start.
- Click on Run and type in Regedit.Â
- Go to HKEY_CURRENT_USER.Â
- Expand the folder and look for the Software folder.
- Expand that folder and go to the Microsoft folder.
- Under the Microsoft folder, you will find the Windows folder.
- Go to Current Version.
At this point, you will need to create a Runonce Key. This key will remain in the Registry should you need to reuse the key in the future.
- Create Data Type: REG_SZ [String Value].
- In Value Name, type in the name of the program executable.
- For Value Data, you should now enter the path to the program executable.
- Exit the Registry,
- Reboot your PC and you’re done.