GoHacking.com: Ethical Hacking and Cyber Security
Home » REGISTRY HACKS, WINDOWS VISTA HACKS, WINDOWS XP HACKS

Run Program at Startup Only Once

Submitted by on Wednesday, 27 August 200812 Comments

This hack allows you to run a program at startup only once. This hack also avoids the need of startup folder and the autorun is configured in the registry itself. In this hack 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. Here’s the hack. If you need to run the program at startup everytime then refer the followint link: Run Program At Startup Without Using Startup Folder

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.



By using/following this site you agree to our Legal Disclaimer

12 Comments »

  • Santanu said:

    i want to create an autorn pen drive..can you me brother?

  • Santanu said:

    sorry..a little bit mistake..i want to create a bootable pen drive..can you help me brother?

  • Srikanth (author) said:

    @ Santanu

    Creating a bootable pendrive is not easy…So I’ll come up with a seperate post on this.Subscribe to my posts so that you’ll get notified when the new post is ready….

  • aksh said:

    hi bro i can’t understand the line that run a program at startup only once.

  • RVM said:

    Hi,

    Can u tell me how to delete a software from the registry after its uninstallation so that u can completely delete it without a trace?

  • Srikanth (author) said:

    @ RVM.

    No it’s not possible to delete the traces of a software from registry since the entries are encrypted.

  • RVM said:

    Hi,
    What do u mean by encrypted?

  • Dodla Gopi Krishna said:

    Hai srikanth sir,

    Is it possible to enable registry editing tools ,once if we disable
    them? if so how?

    Waiting for your reply……………..

  • rajesh said:

    Sir, I am from Nepal.I have successfully compile and run your program used for blocking the website by using turbo C++.But it does not do anything.Please reply me why this happen so at my email id :[email protected] as soon as possible.

    Sir also tell me that how virus automatically transferred from computer to pen drive or pen drive to computer.Please send me code (program) for that.Plzzzzzzzzzzzzzzzzzzzzzzzzzzz

  • shaurya said:

    whenever i m inserting any pndrv a folder name autorun.inf gets appeared..i cant delete it also.
    is that a virus?? plz tell me.

  • diwas said:

    you are super i haven’t seen such a best hack before

  • safal said:

    hi srikant,
    my frend is using win xp as its operating system..the problem is that during start up it always offers a scan even if the comptr was turned off properly.. is this a virus or something else

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.