To set the options at My Computer / Tools / Folder Options / View via the registry, navigate to:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced

Use the following table to set the options:

  Option     Value Name     Data Type     Checked  
  data value  
  Unchecked  
  data value  
  Show hidden files and folders     Hidden     REG_DWORD     1     0  
  Hide file extensions for known file types     HideFileExt     REG_DWORD     1     0  
  Hide protected operating systems files (Recommended)     ShowSuperHidden  
  SuperHidden
  REG_DWORD  
  REG_DWORD
  0  
  0
  1  
  1