Even after you set the option to show hidden files and folders. It comes back to Do not show hidden files and folders.
Here is a solution to this problem. Go to Run>type Regedit and press enter.
Now navigate to
Make sure there is an entry called CheckedValue with type REG_DWORD and value is ‘1’
Now come back to folder option and set show hidden files and it will work