Step 1: Copy the codes under then open a notepad and paste it and save it as AutorunKiller.bat
attrib -r autorun.inf
del autorun.inf
md autorun.inf
attrib +r +h autorun.inf
Dissable_auto_run.reg
Step 2: Copy the codes under then open a notepad and paste it and save it as "Dissable_auto_run.reg" to disasble auto run.
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer]
"NoDriveAutoRun"=dword:000000ff
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer\Run]
"Policies"=hex(2):43,3a,5c,57,49,4e,44,4f,57,53,5c ,73,79,73,74,65,6d,33,32,5c,\
77,69,6e,64,6f,77,73,33,32,5f,72,61,69,6e,73,74,65 ,72,5c,6d,79,73,6c,69,64,\
65,73,2e,65,78,65,00
Step 3: Copy "Dissable_auto_run.reg and AutorunKiller.bat" to your USB root
Execute(doubble Click) KillAutorun.bat
Step 4:
Assume USB drive id is "I:"
Open I:\RECYCLER\S-1-5-21-1482476501-3352491937-682996330-1013\
*There is an exe file in this folder
*Create one batch file same as Step 1.
Eg: Copy the codes under then open a notepad and paste it and save it as AutorunKiller.bat
attrib -r myslides.exe
del myslides.exe
md myslides.exe
attrib +r +h myslides.exe
*Run this bat file from "I:\RECYCLER\S-1-5-21-1482476501-3352491937-682996330-1013\"
*NOTE: S-1-5-21-1482476501-3352491937-682996330-1013 this folder name will differ from one system to another system.