Disclaimer:

All comments posted to this web site are opinions expressed by the poster and/or the owner of this web site. The owner is not responsible for comments or repairs to computers that others may do. I will  warn you that you may be violating your computer manufacture's warrantee for certain things. Be sure to read it before opening your computer case!

I work hard to expand this free information.

You may express your gratitude by donating with your help supporting the server costs and help keeping the section alive.

A VIRUS HAS HIDDEN MY FILES AND FOLDERS BUT THEY ARE STILL THERE, JUST HIDDEN

by Temitope
(Abuja, FCT, Nigeria)

I read of how a virus could HIDE YOUR FILES on a flash or external hard drive. I enjoyed it tremendously enough to cut it and keep the piece.

Well, IT HAS HAPPENED TO ME. Yet these MISSING files are on my EHDD taking up over 150GB of data, some VIFiles and my entire backup!!! I used the device to copy a heavy file from a friend’s computer. I wasn’t too worried about the virus warning because I have an antivirus programme that could disinfect it. Alas, my EHDD is clean of viruses but most of the data is NO LONGER VISIBLE/ACCESSIBLE. I remember you did discuss a way to reverse this. It could save my life.

Please send me a copy of that piece, or kindly tell me what I could do to restore my data.

You would really have been a life-saver.

Thank you.

Temitope

*** Edit Admin ***

This virus is an old DOS virus that has been revived.

More information about the virus can be found here:

http://www.virus-database.com/description/1186-filehider.1067.html

*** Edit Admin ***

If you need a tutorial on how to use the cmd or DOS Box go here:

Change A File or Directory Attributes

Comments for
A VIRUS HAS HIDDEN MY FILES AND FOLDERS BUT THEY ARE STILL THERE, JUST HIDDEN

Average Rating starstarstarstarstar

Click here to add your own comments

Feb 06, 2011
Rating
starstarstarstarstar
Hidden file attribute set
by: Support

Hello Temitope,

The easiest way to remove a set attribute (read only, hidden, system) is to use the command line with Administrative rights.

If your user ID doesn't have administrative rights you will have to use the 'Ran as ...' optition.

From the start button go to Programs -> Accessories.

Find the CMD icon, right click on the icon, and select the 'Run as ...' (Vista/Windows 7 have a 'Run as Administrator') if you are using XP/Windows 2000 then a box will open, type in the Administrator and password for the Administrator's ID.

When the cmd window opens type in the pen drive's drive letter followed by a :

Then type this command at the root of the drive:

F:\>attrib.exe -r -s -h /s /d F:\*.*

Note: I used the F: drive as an example, insert your drive letter/folder path. Also if you cut and paste from this page paste the contents in Notepad other wise you will get all the HTML formating of the page with the text you seek.

Once the command has run leave the window open and check the drive with Explorer, can you see the files?

If not you may have to go to each folder and run the command.

Now the question is: Have you eradacated the virus that has caused this problem?

See page and 233 of Self Computer Repair Unleashed! Manual for instructions on how to clean a virus from your computer.

Hope this helps ...

*** Edit Support ***

You 'super techs' replying to this comment:

NO ADS!

You want to place an ad contact me through my support page.

*** Edit Support ***

To eradicate this virus from a Windows OS you should be in the 'Safe Mode'.

Insure your AV programs are up to date.

Once you have eradicated the virus then reset the hidden attribute for those
files/folders that the virus has hidden. Do the attribute reset (remove the
hidden check box) from the folder that the virus attacked. Use care that you do
not reset the hidden files in the root of the Boot drive.

May 10, 2011
Rating
starstarstarstarstar
Hidden File Solution
by: Anonymous

Followed the instructions and it worked great!
F:\>attrib -r -s -h /s /d F:\*.*

Just put in my drive "C:" and hit return and all the files are back up. WOW. What a great fix. It's the small things in life that make me happy.

May 26, 2011
Rating
starstarstarstarstar
Access Denied
by: Anonymous

I tried to use the above solution, but the CMD window said Access Denied for all the files. Is there a way around this? Thank you!

*** edit Support ***

You have to have Full Rights on the drive that you are attempting to change the file attributes on. Normally that means you need to be in the Administrators Group.

Jun 01, 2011
Rating
starstarstarstarstar
Thanks
by: Anonymous

Superb, worked fine for me....
thanks a lot

Jun 07, 2011
Rating
starstarstarstarstar
Hidden program files
by: Jim D

I tried this and received an error message that the computer could not find C:\>attrib
So fix did not work for me

*** Edit Support ***

Try doing a search for files, the file name is attrib.exe, it should be in the c:\windows\system32 folder.

If you don't have it go to Microsoft's web site and do a search and download it.

Hope this helps ...


Jun 16, 2011
Rating
starstarstarstarstar
Not working for me :(
by: Norman

Hello I'm having the same issue but in the cmd I'm getting this error:
C:\ is not recognize as an internal or external command, operable program or batch file.

Any idea what am i doing wrong, please help

*** Edit Support ***

When you open the command prompt what drive is showing in the window?

That will be your boot drive and windows will be installed on tht drive such as:

D:\Windows\System32\cmd.exe

Or use the search function and search for cmd.exe to see what the boot drive letter is.

This sounds like the Operating System has been reinstalled and instead of formatting the C: partiton the install program was used to delete it then recreated a new partition.

Hope this helps ...

Jul 06, 2011
Rating
starstarstarstarstar
File attributes
by: Support

I have added an article to this blog
http://www.fix-it-blog.com/?p=6528
about file attributes and how to change them.

Aug 05, 2011
Rating
starstarstarstarstar
Worked Great
by: GDN

All my pictures and data files are back. I had a backup on an external drive but it did not have the last 4 months of pictures. It does now... Thanks

Aug 27, 2011
Rating
starstarstarstarstar
Access denied
by: Anonymous

I have administrator rights on my computer but yet when I type in the code it says access denied even when I run it as administrator. Any suggestions?

Aug 28, 2011
Rating
starstarstarstarstar
Changing Hidden attributes on a file - Access denied
by: Support

If you try to change the hidden attributes of a file when you have Administrator's rights and get an "Access denied" to the file or files then some thing has changed the 'Ownership' of the files.

To change the ownership of the files is quite involved and because of the destructive nature of changing the 'ownership' of those files I will not give those instructions.

In this case I suggest you have a Windows Certified Tech change those attributes.

Hope this helps ...

Sep 02, 2011
Rating
starstarstarstarstar
Sucess
by: Matt

Worked Great

Just let it run it takes time ...

Sep 15, 2011
Rating
starstarstarstarstar
what to do
by: obirad

when i enter CMD as Administrator ,, there is always this line:
C:\Documents and Settings\....
so what to do because i can't put the data after it???


Oct 04, 2011
Rating
starstarstarstarstar
nice
by: Anonymous

It's awesome!! It really works..
Thank god I retrieve my files..

Oct 05, 2011
Rating
starstarstarstarstar
Additional help...
by: Cert Tech

This did help, I also found an .exe file that I use called unhide.exe which does the same thing, it may even find more files. You can google it or find it on bleeping computers site.

Jan 05, 2012
Rating
starstarstarstarstar
Whew!
by: Anonymous

Thank you so much for this. I had the access denied issue at first too when I tried to do it at the drive level. I knew the folders where I was missing info and when I entered to that level I was able to get it to work. For example I had to run the following:

attrib.exe -r -s -h /s /d C:\Users\Mom\Documents\*.*

May not be the fastest way to get things back but if the access is an issue you may be able to fix it folder by folder.

Jan 08, 2012
Rating
starstarstarstarstar
Amazing
by: Fatte

Worked for me in a jiffy. Thanks!

Jan 16, 2012
Rating
starstarstarstarstar
This helped
by: Anonymous

Found this page after kaspersky wiped a virus on my external and I couldn't see any files any more, although when I searched by name I could see them!

Thanks for the info!

Jan 19, 2012
Rating
starstarstarstarstar
Genius!
by: Tyler

Thanks so much - you have saved me hours and hours of stressing. I just needed to give the command a minute to run, and it was fine!

Jan 22, 2012
Rating
starstarstarstarstar
It really works!
by: Anonymous

Two times now you have helped me to recover files that I thought were gone. Simply amazing!
Thank You! (I would donate if I wasn't unemployed.)

Jan 24, 2012
Rating
starstarstarstar
Thank you ...
by: RavenCrowShadowingIII

I was hit by a trojan just last week that hid my files. This article, which I ran upon randomly via google, has given me my intellectual property back!

Thank you guys! Commenters included!

Jan 25, 2012
Rating
starstarstarstarstar
Not working
by: KANT

Access Denied & Data error(cyclic redundancy check)



****** Edit Support ******

Access Denied means you don't have Administrative rights.

CRC check failure could mean the hard drive has a physical problem.

Jan 29, 2012
Rating
starstarstarstarstar
THANK YOU
by: Abz

This worked perfectly, thank you so much. Would have been devastated if I lost all that data. You guys ROCK!!!

Feb 04, 2012
Rating
starstarstarstarstar
Thanks
by: Anonymous

Your solution worked perfectly and solved my problem.

Thank you!

Feb 18, 2012
Rating
starstarstarstarstar
Works great
by: rhynax

My external HDD was plugged into a computer and AVG tagged my folders as .exe and asks to remove it.

I didn't pay attention to it and just did a clean. What happened next is that I can no longer see my files. I was shocked! But then again, the HDD's size didn't changed meaning, my files are still there.

Upon doing search on google, I found this site. I just copy paste the command since my HDD if also tagged as F drive.

Thanks to this site, it saved my son's precious pictures.

Feb 22, 2012
Rating
starstarstarstarstar
Thanks
by: Anonymous

Thanks! A real lifesaver

Feb 23, 2012
Rating
starstarstarstarstar
sweeettt!!!
by: lynndefender

aaaaahhhhh It seriously works and this is no lie!!!! Man I love you guys, because I thought I lost evergthing and would have to format my psp, but it actual work mnn :). To remove the virus I had a avast and that pick up on it when I explored it.

Feb 23, 2012
Rating
starstarstarstarstar
LIFE SAVER
by: Anonymous

Literally a life saver. I didnt care much about my computer files but I thought I had lost thousands of songs off my external hard drive. Thank you so much!

Mar 16, 2012
Rating
starstarstar
didn't work......
by: Anonymous

I typed in C:\>attrib.exe-r-s-h/s/dC:/*.* first didn't work.
then i did c:\WINDOWS\>attrib.exe-r-s-h/s/dC:/*.* this also didn't work.

c:\WINDOWS\system32\>attrib.exe-r-s-h/s/dC:/*.* not working.

error report is attrib.exe-r-s-h is not recognized as an internal or external command, operable program or batch file.

*** Edit Support ***
Each letter has to have a space between it and the next letter such as:

attrib.exe -r -s -h

Otherwise it will think the complete line is one command with out any expresions to work with.

Hope this helps ...

Mar 26, 2012
Rating
starstarstarstarstar
Worked 100% for me
by: Anonymous

But
1. you must know the syntax or the way any command is written in DOS

2. you must know at which directory and sub level you are working

All the Best

Apr 02, 2012
Rating
starstarstarstarstar
GREAT!!
by: MOI

It works. If any problem add folder path. Any folder in hard drive.

Like:

F:\my folder attrib.exe -r -s -h /s /d F:\*.*

Enjoy!

Apr 03, 2012
Rating
starstarstar
Having an issue - batch file
by: Anonymous

I am having a similar problem to a few other people. I input the command correctly enough, however, it tells me the internal/external, operable program, batch file junk...

I'm stuck. I'm trying to do it for my C: and my external hard drive L:

C:\Users\My Name>C:\>attrib.exe -r -s -h /s /d C:\*.*

is exactly what I'm seeing after I hit enter on the command you told me to.

Any advice?

Apr 03, 2012
Rating
starstarstarstarstar
Batch file to set file attributes
by: Support

Hello,

You have the two swithces for the attrib command in the wrong place:

attrib.exe -r -s -h /s /d C:\*.*

Switches should come after the path C:\*.* like this:

attrib.exe -r -s -h C:\*.* /s /d

All commands for DOS or the Command line are syntax controled, if you have a failure for a command in a batch file try the command by it self in a Command Prompt to see why it doesn't work.

Hope this helps ...

Click here to add your own comments

Join in and write your own page! It's easy to do. How?
Simply click here to return to Q and A

Return to top

From the Desert South West ~ Arizona, USA
Copyright DIY-Computer-Repair.Com 2006-2011

powered-by-sbi



My Twitter! xml-rss Add to My Yahoo!
Add to My MSN Add to Google AddThis Social Bookmark Button My StumbleUpon Page Computer Blogs - BlogCatalog Blog Directory

Page copy protected against web site content infringement by Copyscape

 www.diy-computer-repair.com BBB Business Review




DIY Insiders
Enter Email

Enter password



Fire that geek that is messing up your computer, you can do a better job.

Finally geek secrets revealed then translated in to everyday English!

Self Computer Repair Unleashed! E-book

The Official  www.diy-computer-repair.com Reference manuals

Get yours Today!



Home

E-Courses!

DIY Computer Repair Five Part E-Course

A seven part Advanced E-Course on computer repair for you!

Would you like to Over Clock your cpu and/or memory with out destroying them? Here is an E-Course that will show you how to do it!

What do you think of when you hear virtual computing?

Fix It! Your
DIY Computer Repair
Newsletter!

Click here to get your copy of Fix It!


Windows 7
is coming to a
computer near you!
Don't be left
wondering
what to do
!

On Release day the free e-book will not be available and the price may go up!
Order your
copy of
Windows 7
Ultimate
Guide now!


My Twitter!

Please donate $5