My folders became empty after deleting autorun.inf [Closed]

Report
Posts
2
Registration date
Thursday March 28, 2013
Status
Member
Last seen
April 26, 2013
-
Posts
6500
Registration date
Sunday June 6, 2010
Status
Security contributor
Last seen
May 17, 2020
-
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

2 replies

Posts
6500
Registration date
Sunday June 6, 2010
Status
Security contributor
Last seen
May 17, 2020
2,312
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/download/download-11613-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
Posts
2
Registration date
Thursday March 28, 2013
Status
Member
Last seen
April 26, 2013

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?
Posts
6500
Registration date
Sunday June 6, 2010
Status
Security contributor
Last seen
May 17, 2020
2,312
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
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.
Posts
6500
Registration date
Sunday June 6, 2010
Status
Security contributor
Last seen
May 17, 2020
2,312
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