Sometimes a virus will hide all the files on your computer. Run the following commands in a command prompt to un-hide them again;
C:
cd \
attrib -S -H *.* /S /D
Side-Effect: Desktop.ini opens in Notepad after Logon
When you log on you may get one or two copies of desktop.ini opened in Notepad.
The content of the files is:
[.shellClassInfo]
LocalizedResourceName=@%systemRoot%\system32\shell32.dll, -21787
Desktop.ini files are used by the system in order to identify "special" folders. In particular, a desktop.ini file identifies the folder that corresponds to the Startup menu. Everything that is in that folder—not just the shortcuts—will get executed at start-up unless it has the Hidden attribute. Desktop.ini files are normally hidden.
- Click the Start button, click All Programs, and right-click the Startup submenu
- From the context menu that appears, select Explore
- Right-click desktop.ini, choose Properties from the menu, check the Hidden box, and click OK
- Close the Windows Explorer window
- Now repeat the process, but upon right-clicking Startup choose Explore All Users instead. Fixed!
Alternatively you can run the following command to search for all Desktop.ini files and mark them as hidden:
C:
cd Users (or Documents and Settings, if you're running XP or Server 2003)
attrib desktop.ini +s +h /S
