My folders became empty after deleting autorun.inf

Closed
JOYSYL Posts 2 Registration date Thursday March 28, 2013 Status Member Last seen April 26, 2013 - Apr 26, 2013 at 11:08 AM
jack4rall Posts 6428 Registration date Sunday June 6, 2010 Status Moderator Last seen July 16, 2020 - Apr 29, 2013 at 12:44 AM
Hello,


My system was infected with autorun.inf which could not be removed by my avast antivirus software. I goggled and got this solution which I applied step by step;
1. Opened command prompt
2. Type "del c:autorun.* /f/s/q/a" and pressed Enter

The autorun.inf was not detected again by my antivirus but over 90% of the files in my folders disappeared.

How can I get back my files please? I'd appreciate any genuine suggestion. I am in a great fix. Thanks.

Meanwhile I run Windows XP
Related:

2 responses

jack4rall Posts 6428 Registration date Sunday June 6, 2010 Status Moderator Last seen July 16, 2020
Apr 26, 2013 at 12:39 PM
Hello,

Try this 1

Follow all the steps given below

1) Disable the "Autoplay" feature. Click on the below link "Disable Autoplay",

and download the file --> Double-click on it and follow the instructions.

Disable Autoplay

2) Disable the "Autorun.inf". Click on the below link and follow the instructions.

First backup your registry. Click on Start --> Run --> Type regedt32 and press

Enter. "Registry Editor" will be opened.

Now backup your registry by going to "File --> Export" --> Save the file with

any name in your desired location.

Copy the text starting from "REGEDIT4" upto @="@SYS:DoesNotExist"

REGEDIT4            
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]            
@="@SYS:DoesNotExist"  

Open a "Notepad" --> Paste it --> Save the file as fix.reg

Note: Don't forget the extension "reg"

Now double-click on the fix.reg file and then click on "Yes" to merge it,

[Note : After following the above instructions, whenever you place any autoplay

CD\DVD all you have to do is go to "My Computer" --> Open the CD\DVD drive

--> You have to double-click on the setup file.]

3) Click on the below link and download the file "AutorunExterminator"

https://ccm.net/downloads/security-and-maintenance/5911-autorun-exterminator/

Extract it --> Double-click on "AutorunExterminator".

This will remove the autorun.inf files from drives.

[Note : AutorunExterminator need Dot Net Framework. If its not installed in

your laptop then click on the below hyperlink ".NET Framework" and download it

.NET Framework]

4) Click on "Start" --> Run --> Type cmd and press Enter.

"Command Prompt" will be opened.

Here I assume your drive letter as G:

Enter this command.

attrib -h -r -s /s /d g:\*.*

You can copy the above command --> Right-click in the Command Prompt and

paste it.

Note : Replace the letter g with your drive letter.

Now check for your files in that drive.

5) After that, download the "Malwarebytes Anti-Malware Free" from the below

hyperlink "Malwarebytes Anti-Malware Free"

Malwarebytes Anti-Malware Free

Update it --> Perform "Full Scan"

Note : Default selected option is "Quick Scan".

Good Luck
0
JOYSYL Posts 2 Registration date Thursday March 28, 2013 Status Member Last seen April 26, 2013
Apr 26, 2013 at 06:22 PM
Greetings! Thanks for the detailed instruction and relevant links. Meanwhile I would want to be assured that you clearly understood my predicament. I mean, I want how to restore my vanished files. All the folders are there but each one has no file in it. Autorun is no longer detected as being on my system. I mean my hard drive (c:). Will the same instruction help me?
0
jack4rall Posts 6428 Registration date Sunday June 6, 2010 Status Moderator Last seen July 16, 2020
Apr 27, 2013 at 04:14 AM
Hello,
Try this 1
If you can see the files\ folders usage in your drive then they might be hidden. Attrib command given above will help you to remove the attributes so that the file can be visible. This works only if your files exists and are in hidden mode. The remaining steps are important to stop the issue.
Good Luck
0
Thanks a lot for your efforts and concern. I can't see any of the files and I have used the above attrib command several times. I have even changed the 'show hidden files' options in the Folder Option; I equally tried system restore, yet none of my files could be seen not to talk of opening any. All the folder and sub-folder names and icons are still intact. Though each one has the tag -folder empty (with 0 bytes). Does it mean I have lost all my documents for attempting to delete autorun using the command: del c:autorun.* /f/s/q/a Somebody help me please.
0
jack4rall Posts 6428 Registration date Sunday June 6, 2010 Status Moderator Last seen July 16, 2020
Apr 29, 2013 at 12:44 AM
Hello,
Try this 1
Right-click on that folder --> Properties --> Does it show n number of files and folders in the option "Contains". If it does show then its hidden.
Try the below given alternate method.
Click on Start --> Run --> Type control folders will be opened. Click on the "View" tab.
Now select the option "Show hidden files, folders or drives" and uncheck the
check box "Hide protected operating system files" --> Click on "OK" button.
Now look for your files in your drive.
Later undo the changes you have made by once again going to "Folder Options" --> Click on "View" tab and click on "Restore Defaults" button --> Click on "OK".
Good Luck
0