On several occasions we are called in to look at a computer that has been infected with malware or a virus. And the malware has hidden every file (and shortcut) on the entire hard drive. You notice this right away when you click on the START menu and nothing is there. And when you open the C: drive in Windows Explorer, you also see nothing.
I wanted to document this fix for this for my own quick reference and hope it can be of help to others as well.
From a Command Prompt use this command:
attrib -r -h c:\*.* /s /d
This changes the attributes of each file to not be read-only or hidden and does this for all files and folders including subdirectories.
Malware can also sometimes mess with file associations and leave you with inability to run EXE files or open documents or shortcuts. I found this great website with a ready reference of fixes for these types of issues: