Jump to content
virusz

How to autorun a program in Windoze

Recommended Posts

Posted

===========================================

How to autorun a program in Windows:

===========================================

There are many ways .exe,.bat,.vbs,.com, etc programs can autostart

on a target computer.

1. Winstart.bat on older systems - Winstart.bat will start with

windows every

time the computer boots on older machines. Any command prompt

commands can be

used in the batch file.

===================================================================

2. Startup Folder - The startup folder is the most basic way of

getting an

executable to start with windows. This method is easy to detect and

will be

found. If the method is used I would suggest to have it not matter

if it is found

(use your imagination) and/or have an alternative auto startup method

as well.

The default startup folder for windows 9x & ME is found at:

C:windowsstart menuprogramsstartup

Windows 2k, XP, 2003 use :

C:Documents and SettingsAdministratorStart MenuPrograms

(Administrator can be changed to another user name if you know what

it is.)

Any executable files placed in this folder will be automaticaly

executed at

startup.

====================================================================

3. Win.ini & System.ini - The Win.ini & System.ini methods are old

favorites.

Find the files are located in c:windows or c:winnt depending on

the

version of windows and where it is installed.

To use Win.ini to autostart your program first open Win.ini with a

text editor

find [windows] or add it if its not there and then add (making sure

path is

right) load=Whatever.exe and then run=Whatever.exe.

Ex.

[windows]

load=Whatever.exe

run=Whatever.exe

System.ini is very simple too, first open System.ini in notepad and

then find

[boot] in the text and add Shell=Explorer.exe Whatever.exe.

Ex.

[boot]

Shell=Explorer.exe Whatever.exe

======================================================================

4. Registry - Registry is probably the most popular method of auto

starting

trojans, worms and viruses. Most people do not know how to remove

registry entries or how to even find them via regedit.

To make software run automaticaly a string can be added to either of

the

following registry keys:

[HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunServi

ces]

[HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunServi

cesOnce]

[HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRun]

[HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunOnce]

For the above keys all you have to do is add a string with what ever

name you

want and data of what ever path to your exe, such as:

Name | Type | Data

-------------------

Windows Update | REG_SZ | c:windowssystem32Whatever.exe

Another key is:

[HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunOnceE

x

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...