A few days back, a client came to me and told me that he was having trouble with his Windows XP. The show hidden files and folders was not working at all. If he selected the radio button “Show hidden files and folders”, and then press Ok .. the changes would just disappear upon opening the dialog again. It was probably some virus attack after which the Windows registry was not being updated properly. So here is what I did to restore it back. There are so many methods to restore back the registry. If one method is not working, please try another one.
Go to registry editor by running regedit in the run box.
Go to this key: