Technology ramblings of a pro breaker and fixer.
Categories

Folder – hidden attribute greyed out – Easy Fix!

So, most likely you are recovering from a malware or virus infection and you have found that on certain folders you are unable to untick the hidden attribute (usually greyed out). Well heres a quick and simple fix!

A little Background info first!

I found a laptop infected with a strain of win32.Malware-gen, what a sneaky strain at that! After a poke around of what it does i found the malware made any folder (on the infected USB drive) hidden, read only and also made a .exe file for every folder name with a folder icon! this was its way of tricking people into running it. It seems to target USB drives to spread.

I found they were all exe files by unticking the option in folder options “hide extensions for known filetypes” while your in there tick “show hidden files and folders”

Anyway on with the simple fix. once you have cleaned up the virus!! and deleted the foldername.exe files

from command prompt. Issue the command (assuming the drive in question is F:)

attrib -H -S F:\*.* /S /D

The folders should once again be visable and you will be able to toggle the hidden attribute, it will no longer be greyed out.

16 Responses to “Folder – hidden attribute greyed out – Easy Fix!”

  • Arvind - October 2, 2010 at 4:10 am

    U r such a bastard , gave a very good idea thank u mother fucker

    VA:F [1.9.22_1171]
    Rating: +1 (from 7 votes)
  • Em4 - November 4, 2010 at 11:58 pm

    Good job, worked very well

    VA:F [1.9.22_1171]
    Rating: +2 (from 4 votes)
  • Hovannes - December 25, 2010 at 8:12 am

    Thanks mate so much my phones files were hidden ur a brilliant man!!!!!!!!!!!!!!!!!!!

    VA:F [1.9.22_1171]
    Rating: +4 (from 6 votes)
  • babak ohadi - August 7, 2011 at 2:09 am

    thanx alot
    u r perfect

    VA:F [1.9.22_1171]
    Rating: +2 (from 4 votes)
  • Tiger - January 6, 2012 at 6:51 pm

    Download the program (very small) – Hidden file tool.
    Works 100%.

    VA:F [1.9.22_1171]
    Rating: -1 (from 3 votes)
  • george - March 5, 2012 at 10:39 pm

    thanks a lot works like magic

    VA:F [1.9.22_1171]
    Rating: +1 (from 3 votes)
  • Patrick - September 6, 2012 at 11:39 am

    I visited many websites but your solution was the only one that worked. Long Live

    VA:F [1.9.22_1171]
    Rating: 0 (from 2 votes)
  • Don - December 14, 2012 at 5:07 am

    Thanks worked perfectly.

    VA:F [1.9.22_1171]
    Rating: 0 (from 2 votes)
  • Ali Saggaf - March 13, 2013 at 12:24 am

    Thanks! I really was scratching my head!

    Straight and simple, bravo………

    VA:F [1.9.22_1171]
    Rating: -1 (from 1 vote)
  • Megan - March 13, 2013 at 5:24 am

    I have the same problem but I’m unsure how to type in the command prompt. Once in the command window- Do I type exactly as shown including spaces? Has not worked for me so far.

    Thank you!

    VA:F [1.9.22_1171]
    Rating: -1 (from 1 vote)
  • Megan - March 13, 2013 at 5:27 am

    Nevermind! It worked perfectly once I realized I was typing in for a different drive.

    Thanks for the great tip 🙂

    VA:F [1.9.22_1171]
    Rating: -1 (from 1 vote)
  • Oscar - March 18, 2013 at 10:59 am

    Thank’s Very Much, so GREAT Solution for that Worm.

    !!! Thank’s go Ahead !!!!

    VA:F [1.9.22_1171]
    Rating: -1 (from 1 vote)
  • RDG50 - March 18, 2014 at 5:28 am

    Wonderful. The command took a few minutes to run in cmd (which worried me for a moment there … ) and to my great relief the folders were again visible!!!!

    Many thanks for the solution!

    VA:F [1.9.22_1171]
    Rating: 0 (from 2 votes)
  • Sleepyhollow - July 11, 2014 at 4:16 am

    Worked flawlessly!

    VA:F [1.9.22_1171]
    Rating: -1 (from 1 vote)
  • N33RAJ - March 20, 2015 at 5:30 am

    Many sites gave the same solution, but your solution explained everything easily and worked perfectly.
    Thank you very much.

    VA:F [1.9.22_1171]
    Rating: -1 (from 1 vote)
  • marce - October 9, 2017 at 1:11 am

    Perfect! Thank you!!!

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

Leave a Reply for Ali Saggaf