A blog to share about Windows and Virtualisation related knowledge.
Saturday, July 28, 2007
error opening hard drives in WIN XP
hei guys i m havin a problem in openin hard drives....
wen i double click on icon its not openin......so i have to right click on the drive and then click on open.
wen i right click on icon ,autoplay is comin as the first option.....
I have writen this BATCH file program that removes AUTORUN.INF file from the infected computers. A virus or worm creats this file in a root of a drive so that when ever the drive is opened the virus or worm is ran. Here is a simple code to remove it: (start copying from the next line down):
cd\ c: attrib -r -s -h autorun.inf del autorun.inf d: attrib -r -s -h autorun.inf del autorun.inf e: attrib -r -s -h autorun.inf del autorun.inf f: attrib -r -s -h autorun.inf del autorun.inf g: attrib -r -s -h autorun.inf del autorun.inf h: attrib -r -s -h autorun.inf del autorun.inf i: attrib -r -s -h autorun.inf del autorun.inf j: attrib -r -s -h autorun.inf del autorun.inf k: attrib -r -s -h autorun.inf del autorun.inf l: attrib -r -s -h autorun.inf del autorun.inf m: attrib -r -s -h autorun.inf del autorun.inf n: attrib -r -s -h autorun.inf del autorun.inf o: attrib -r -s -h autorun.inf del autorun.inf p: attrib -r -s -h autorun.inf del autorun.inf q: attrib -r -s -h autorun.inf del autorun.inf r: attrib -r -s -h autorun.inf del autorun.inf s: attrib -r -s -h autorun.inf del autorun.inf t: attrib -r -s -h autorun.inf del autorun.inf u: attrib -r -s -h autorun.inf del autorun.inf v: attrib -r -s -h autorun.inf del autorun.inf w: attrib -r -s -h autorun.inf del autorun.inf x: attrib -r -s -h autorun.inf del autorun.inf y: attrib -r -s -h autorun.inf del autorun.inf z: attrib -r -s -h autorun.inf del autorun.inf
copy this in a NOTEPAD file, then save the notepad file as : "file.bat" and then run it to remove all the rubbish of autorun
1 comment:
I have writen this BATCH file program that removes AUTORUN.INF file from the infected computers. A virus or worm creats this file in a root of a drive so that when ever the drive is opened the virus or worm is ran.
Here is a simple code to remove it: (start copying from the next line down):
cd\
c:
attrib -r -s -h autorun.inf
del autorun.inf
d:
attrib -r -s -h autorun.inf
del autorun.inf
e:
attrib -r -s -h autorun.inf
del autorun.inf
f:
attrib -r -s -h autorun.inf
del autorun.inf
g:
attrib -r -s -h autorun.inf
del autorun.inf
h:
attrib -r -s -h autorun.inf
del autorun.inf
i:
attrib -r -s -h autorun.inf
del autorun.inf
j:
attrib -r -s -h autorun.inf
del autorun.inf
k:
attrib -r -s -h autorun.inf
del autorun.inf
l:
attrib -r -s -h autorun.inf
del autorun.inf
m:
attrib -r -s -h autorun.inf
del autorun.inf
n:
attrib -r -s -h autorun.inf
del autorun.inf
o:
attrib -r -s -h autorun.inf
del autorun.inf
p:
attrib -r -s -h autorun.inf
del autorun.inf
q:
attrib -r -s -h autorun.inf
del autorun.inf
r:
attrib -r -s -h autorun.inf
del autorun.inf
s:
attrib -r -s -h autorun.inf
del autorun.inf
t:
attrib -r -s -h autorun.inf
del autorun.inf
u:
attrib -r -s -h autorun.inf
del autorun.inf
v:
attrib -r -s -h autorun.inf
del autorun.inf
w:
attrib -r -s -h autorun.inf
del autorun.inf
x:
attrib -r -s -h autorun.inf
del autorun.inf
y:
attrib -r -s -h autorun.inf
del autorun.inf
z:
attrib -r -s -h autorun.inf
del autorun.inf
copy this in a NOTEPAD file, then save the notepad file as : "file.bat" and then run it to remove all the rubbish of autorun
Post a Comment