Professional Webmasters Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Run Program at Startup Only Once

Go down

Run Program at Startup Only Once Empty Run Program at Startup Only Once

Post  andry Thu Jul 01, 2010 12:49 am

This trick allows you to run a program at startup only once. This trick also avoids the need of startup folder and the autorun is configured in the registry itself. In this trick the specified program runs only once at startup (Right after the first boot of configuration) and will not continue to run for the subsequent startups. It is also suggested that you should create a system retore point or a valid backup before you start experiment with the registries.

1. Goto Start->Run.
2.Type “regedit” (without quotes) in the run dialogue box.
3. In the registry editor navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
4. Create the key Runonce
(The [Runonce] Key you create will remain in the registry for use with a new string value)
5. Now create the following entries for Runonce key
Create Data Type: REG_SZ [String Value]
Value Name: [Enter the Name of Program Executable]
Value Data: [Enter the Path to the Program Executable]
6. Exit the Registry and Reboot.
andry
andry
Moderator
Moderator

Posts : 467
Join date : 2010-05-07

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum