4 Methods to Reset System and Hidden Attributes for Files or Folders Caused by Virus

Different viruses cause different types of damage on your computer. Most of the time, the viruses are programmed to disable Windows Task Manager, Regedit, Command Prompt, folder options and etc. These restrictions are meant to prevent a normal computer user from using these built-in Windows diagnostic tools such as MSCONFIG to disable the virus from starting up on your computer.

There are some viruses that will cause destruction such as encrypting recently used files so you are forced to buy the decryption key from the virus programmer. Then there’s another type of virus such as BDS.Mirc.Backdoor that will hide your document files by setting the hidden and system attributes to the file. You can still see the files if you set to show hidden files and folders plus disabling hide operating system files. Another trick is to use Google Chrome, Firefox or Opera to reveal the hidden files. If the virus is capable of restricting Folder Options, the chances are you think that your files have been wiped out by the virus but in fact they are perfectly safe and have just been hidden in your system.

hidden attributes grayed out

There’s still hope if you think that your files are gone because of a virus. Here’s how to check if the files are still around, and if they are, you can reset the attributes of the files to view them normally in Windows Explorer again.

How to show hidden files and folders or system files

1. Go to Control Panel and open Folder Options.

2. Go to the View tab and select “Show hidden files and folders”. Then uncheck “Hide protected operating system files”. Do take note that some viruses that are still active on the computer will revert the changes that you made. So make sure your computer is clean from viruses first by scanning with an antivirus program.

show hide or hidden files and folders

3. Try to look for your missing files on your hard drive. There is a tool called Random’s System Information Tool that is able to help you find files or folders created or modified in the last 1 to 3 months.

4. If you have managed to locate your files which are hidden but visible because you’ve configured the Folder Options to show them, then you’ll need to unhide the hidden files. Here are 4 methods to reset the system and hidden attributes.


1. Unhide using the Windows attrib command

attrib command line

This is the old school method of doing it without using any software. Just run command prompt (Start -> Run -> CMD for XP, or for Vista and 7 Start -> type CMD in search box, right click and run as Admin), type the following command:

attrib -H -S C:\path\to\your\file.doc /S /D

You can also use the asterisk character to define multiple extensions. For example:

attrib -H -S C:\raymond\*.* /S /D

This would remove the Hidden and System attribute of all files in the raymond folder on the C drive. The /S and /D arguments are optional. /S will recurse down into all sub folders and /D will unhide the folders themselves if they have the System or Hidden attribute set.

Just to point out, it’s probably not the best idea to use something like “C:\*.*” as this will unhide the whole drive including files which Windows has set as hidden or system by design.

On the next page we’ll show you how to unhide/unsystem your files using even easier methods with the help software.

196 Comments - Write a Comment

  1. Syed Ansab Shah 2 months ago
  2. Christos 2 months ago
    • Raymond 1 month ago
  3. Alberto 9 months ago
  4. djloxzy 1 year ago
    • iranga 1 year ago
    • deni 9 months ago
  5. Syahiran 1 year ago
  6. ww 1 year ago
  7. solomon 1 year ago
  8. sunny 2 years ago
    • @Mahmoud 4 months ago
  9. Yazan Asad 2 years ago
  10. Lthn 2 years ago
  11. Imam Fauzi 2 years ago
  12. Muhammad Qasim 3 years ago
  13. Big Webby 3 years ago
  14. Subash Tamang 3 years ago
  15. Roki 3 years ago
  16. kingarthur@hararezimbabwe 3 years ago
  17. Laxman 3 years ago
  18. Gaurav Adhikari 3 years ago
  19. Orhtodentist 3 years ago
  20. Sathish 3 years ago
  21. Gary Hinrich 3 years ago
  22. Vaibhav Sawant 4 years ago
  23. KillerBee 4 years ago
  24. teddy 4 years ago
  25. kranz 4 years ago
  26. Aby 4 years ago
  27. akash 4 years ago
    • HAL9000 4 years ago
  28. chandan 4 years ago
  29. Jose 4 years ago
  30. John Neil Pelayo 4 years ago
  31. LeGeND 4 years ago
    • HAL9000 4 years ago
    • Dave 4 years ago
  32. noor 4 years ago
  33. Bill McCourt 4 years ago
    • HAL9000 4 years ago
      • Bill McCourt 4 years ago
  34. Yash Bhutoria 5 years ago
  35. jasvinder singh 5 years ago
  36. Thanxx 5 years ago
  37. Jason 5 years ago
  38. Pavan 5 years ago
  39. Paul 5 years ago
  40. AMMAD ALI SHAH 5 years ago
  41. kramnerda 5 years ago
  42. Ahmed Kilany 5 years ago
  43. debasis 5 years ago
  44. Codrops Developer sm 5 years ago
  45. Rasheed 5 years ago
  46. Baraa 5 years ago
  47. sakthivel 5 years ago
  48. JOEL 5 years ago
  49. Vijay 5 years ago
  50. Dj Pablo777 5 years ago
  51. Upendra Shendye 5 years ago
  52. randy bost 6 years ago
  53. kannan 6 years ago
  54. Prahlad 6 years ago
  55. Reel 6 years ago
  56. Wahid Shiblee 6 years ago
  57. Onyeke 6 years ago
  58. george kyle daongan 6 years ago
  59. MANOHARAN 6 years ago
  60. abdurrhman azzam 6 years ago
  61. chong 6 years ago
  62. vinod 6 years ago
  63. Mohamed Ouf 6 years ago
  64. rayan 6 years ago
  65. Sahan 6 years ago
  66. Nostalgic 6 years ago
  67. Americo 6 years ago
  68. SUZE 6 years ago
  69. Ambesh 6 years ago
  70. Sadiq Lashari 6 years ago
  71. TAMILSELVAN 6 years ago
  72. siraj 6 years ago
  73. Rajesh 6 years ago
  74. sys admin 6 years ago
  75. R Z 6 years ago
  76. Nihad 7 years ago
  77. john 7 years ago
  78. Jay Kumar 7 years ago
  79. ملهم 7 years ago
  80. jp 7 years ago
  81. Anees-ur-Rehman 7 years ago
  82. Nachiket 7 years ago
  83. Ghost Hunter 7 years ago
  84. Ali 7 years ago
  85. PASCAL Philippe 7 years ago
  86. Abdelrhman 7 years ago
  87. AnandRaj 7 years ago
  88. Farzad 7 years ago
  89. Shiva 7 years ago
  90. matt 8 years ago
  91. Naseef Umar 8 years ago
  92. Anirban 8 years ago
  93. Tor 8 years ago
  94. Reham 8 years ago
  95. DC- Zambia 8 years ago
  96. GAGS.. 8 years ago
  97. cab 8 years ago
  98. Manuel Major 8 years ago
  99. Mac17_gregory 8 years ago
  100. Mahendra 9 years ago
  101. zax 9 years ago
  102. sevha 9 years ago
  103. Pulkit 9 years ago
  104. Pol Cabriana 9 years ago
  105. Filip 9 years ago
  106. Neeraj D. Sharma 9 years ago
  107. odd-1 9 years ago
  108. rohit 9 years ago
  109. noel 9 years ago
  110. Uday Kumar B R 9 years ago
  111. Kavita Ann 9 years ago
  112. RDT 9 years ago
  113. soopa 9 years ago
  114. hojo 9 years ago
  115. DP 9 years ago
  116. Odilon 9 years ago
  117. Genky 9 years ago
  118. aau 83 9 years ago
  119. TCN-WDESIGN 9 years ago
  120. dev dm 9 years ago
  121. john 10 years ago
  122. venus 10 years ago
  123. Steward 10 years ago
  124. Brendan 10 years ago
  125. Ukiya 10 years ago
  126. NA 10 years ago
  127. anirban 10 years ago
  128. Geeva 10 years ago
  129. Mhegaz 10 years ago
  130. izizree 10 years ago
  131. Navaid 10 years ago
  132. rolex 10 years ago
  133. marvin 10 years ago
  134. Carlos Padron 10 years ago
  135. wesleyodenzo 10 years ago
  136. irfan 10 years ago
  137. Ramesh 10 years ago
  138. dasnyvon21 10 years ago
  139. Sivakumar 10 years ago
  140. shachou 10 years ago
  141. Adee 10 years ago
  142. Hani 10 years ago
  143. Anuj 10 years ago
  144. Badsha 10 years ago
  145. Swapnil 10 years ago
  146. Anupom 10 years ago
  147. abel 10 years ago
  148. syaiful 10 years ago
  149. zex 10 years ago
  150. KingQuenJac 10 years ago
  151. khan 10 years ago
  152. hee pit kuan 10 years ago
  153. Loh Chuang Li 10 years ago
  154. Kwao Lazarus 10 years ago
  155. Bluestar 10 years ago
  156. inkmho 10 years ago
  157. Nikola 10 years ago
  158. rahmat nabi form kabul 10 years ago
  159. Hafiz 10 years ago
  160. ivan enerlan 10 years ago
  161. sodkhuu 11 years ago
  162. Gyan Singh 11 years ago
  163. Jayakumar 11 years ago
  164. hamzoo.com 11 years ago
  165. rashidha 11 years ago
  166. jungard 11 years ago
  167. RamNhelgie 11 years ago
  168. robert 11 years ago
  169. saikat 11 years ago
  170. Blunatix003 11 years ago
  171. Sniper 11 years ago
  172. Shafat 11 years ago
  173. Sreechan 11 years ago
  174. JOHN VENTH 11 years ago
  175. vijay 11 years ago
  176. 123vso 11 years ago
  177. Kevin 11 years ago
  178. hanan 11 years ago
  179. dawiecool 11 years ago
  180. ha14 11 years ago
  181. Rekhyt 11 years ago
  182. roy raay 11 years ago
  183. riyaz 11 years ago
  184. mohan 11 years ago
  185. webcadre 11 years ago
  186. pooh 11 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: Your comment is subject to approval. Read our Terms of Use. If you are seeking additional information on this article, please contact us directly.