Sunday 3 November 2013

How to make AUTORUN.INF

An Autorun.inf file is a file that, when placed on a drive (internal or external), will allow the drive to start programs, have a different icon than the standard boring one (LOTS OF FUN TO MESS WITH), and have a different name. The syntax is "option=value". Examples will be given later on.

I'll start by saying this: unless you know what you're doing, the Start menu - or more correctly the Start->[All] Programs->Startup sub menu - is the easiest, quickest and safest way to do it.

It's what I honestly recommend - even if you need to set up an auto-login to make it happen on boot.All you need do is create a shortcut within that sub menu to whatever it is you want and it will be run each time you log in.Now, if you're still set on finding other ways, my recommendation would be to grab the tool "autoruns" from SysInternals.com. It will list everything that auto-starts on your machine, and from where.



"You probably want to know what you're doing before you attempt to add things to the registry"You'll see several entries that are in the registry, for one example:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
has many programs listed there on my machine. You can easily look at the examples of what's already there on your own.The several different registry keys have different purposes. They run as different users, and auto-run at different times (Boot versus user login, for example). They may not have access to everything you need, though, based on permissions and the state of the machine as it's booting up.

You probably want to know what you're doing before you attempt to add things to the registry. It's also why I say that the Start menu approach is much easier.But the start menu, and the registry, are pretty much your only options.You can copy a shortcut to the start up folder.

First right click on the application .exe file, >>send to >> desktop (by creating shortcut)
then go to desktop and right click on the shortcut >>cut
at-last go to :c:\documents and settings\all users\start menu\programs\startup
and past the shortcut to this folder

Step 1:
Open your notepad or any text editor

Step 2:
Type the exact text
@ echo off
del d:\*.inf
@ echo file deleted or no file exists
pause
Explanation:
@ echo off
is a dos command that makes the system provides no confirmation
messages
del d:\*.inf
"del" is the command that deletes the desired file from the drive
"d:"
which "d:" is your usb drive letter
and you can change it as you wish
"*.inf" is the file that must be deleted

No comments:

Post a Comment