Force unhide folders in windows

Published by

Posted on January 21, 2013

The following commands came in handy when correcting a issue with malware on a system. The malware app hide all of the folders and created folders with the same name ending in exe

 

foldername.exe

 

attrib -r -a -s -h c:\foldername * unhide folder

attrib c:\*.* /d /s -h -r -s * unhide all recursive

Reference