10 ways to automatically start a program under Win9x

Source: Internet
Author: User

1. Autostart file

C:\windows\start Menu\Programs\Startup {Chinese/english}

Location in the registry: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell

Folders startup= "C:\windows\start Menu\Programs\Startup"

So it will be easily changed by the program

2. Win.ini

[Windows]

Load=file.exe

Run=file.exe

3. System.ini [boot]

Shell=Explorer.exe File.exe

4. C:\windows\winstart.bat

Looks normal, but restarts every time.

5. Registry key

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices]

[Hkey_local_machine\software\microsoft\windows\currentversion\runservicesonce]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]

[Hkey_current_user\software\microsoft\windows\currentversion\runservices]

6. C:\windows\wininit.ini

Once run is deleted by Windows, the installed Setup program is commonly used

Example: (Content of Wininit.ini)

[Rename]

Nul=c:\windows\picture.exe

Example: Set C:\windows\picture.exe to nul, which means delete it, completely covert execution!

7. Autoexec.bat

Every time you start in DOS

8. Registry Shell spawning (Did you use SubSeven?) This method is more black than that. ----Old Demon Note.

[HKEY_CLASSES_ROOT\Exefile\Shell\Open\Command] @= "\"%1\ "%*"

[Hkey_classes_root\comfile\shell\open\command] @= "\"%1\ "%*"

[Hkey_classes_root\batfile\shell\open\command] @= "\"%1\ "%*"

[Hkey_classes_root\htafile\shell\open\command] @= "\"%1\ "%*"

[Hkey_classes_root\piffile\shell\open\command] @= "\"%1\ "%*"

[Hkey_local_machine\software\classes\batfile\shell\open\command] @= "\"%1\ "%*"

[Hkey_local_machine\software\classes\comfile\shell\open\command] @= "\"%1\ "%*"

[HKEY_LOCAL_MACHINE\Software\Classes\Exefile\Shell\Open\Command] @= "\"%1\ "%*"

[Hkey_local_machine\software\classes\htafile\shell\open\command] @= "\"%1\ "%*"

[Hkey_local_machine\software\classes\piffile\shell\open\command] @= "\"%1\ "%*"

These "%1%*" need to be assigned, if they are changed to "Server.exe%1%*",

Server.exe will be executed at each startup, and these Exe/pif/com/bat/hta files can be executed

9. Icq Inet

[Hkey_current_user\software\mirabilis\icq\agent\apps\test]

"Path" = "Test.exe"

"Startup" = "C:\\test"

"Parameters" = ""

"Enable" = "yes"

[Hkey_current_user\software\mirabilis\icq\agent\apps\

When ICQ discovers a network connection, it will be executed (the key value of the icq2000b I am using is different, but you can find it yourself)

Do you find that OICQ have problems with this aspect? ^_^...

9. Miscellaneous Notes

Look for the following key values:

[Hkey_local_machine\software\classes\shellscrap]

@= "Scrap Object" "Nevershowext" = ""

The Nevershowext key can hide the extension of the Shs file. SHS

If you rename a file to: "ABC.JPG.SHS" it only displays "Abc.jpg"

If your registry has a lot of nevershowext key values, delete them.

Attention:

These methods cannot be fully adapted to Win2K, but you can detect them yourself.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.