Hidden files not behaving properly


  1. Posts : 206
    Windows 10
       #1

    Hidden files not behaving properly


    Until yesterday, when I went to a given file's properties and clicked on the Hidden checkbox, the file would remain in its folder but be grayed out. This was the normal and correct behaviour and I've taken advantage of that for many years.

    Yesterday, the behaviour changed: once I choose Hidden and click on Apply, the file becomes completely invisible. I know it is still there because if I try to create a file with the same name as the just-hidden file, Windows protests and says there is already a file with that name already in the same folder.

    I've looked at the Folder Options and found that neither of the radio buttons where you indicate whether hidden files should be shown or not are selected. If I select "show hidden files" and click on Apply, the folder redraws itself but the just-hidden file is still invisible rather than grayed out and when I return to Folder Options, neither of the radio buttons for showing/hiding hidden files are selected. I get similar behaviour when I use the Hidden File option in the File Explorer View window: the Hidden checkbox is initially unchecked, I check it, then the folder contents redraw but the just-hidden file remains invisible and the Hidden checkbox has unchecked itself. I've looked at the registry key (HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AdvancedHidden) and it has a value of 0, meaning don't show hidden files and folders and drives. I tried to edit it manually in Regedit and was denied permission, even though the ID I was using is an Administrator (as is the only other ID on this computer). I downloaded and ran the batch file for setting that value to 1 and ran it but it too failed on authorization issues.

    I'm running Version 1903. What else can I do to make Windows behave correctly again? (For bonus points, I'd be curious to know why the behaviour started messing up. I don't hide files and folders every day but I certainly do it several times a month and yesterday was the first time this nonsense happened.)
      My Computer


  2. Posts : 11,585
    Windows 10 Home x64 Version 21H2 Build 19044.1776
       #2

    As an initial step, run SFC-DISM - TenForumsTutorials

    Denis
      My Computer


  3. Posts : 206
    Windows 10
    Thread Starter
       #3

    Try3 said:
    As an initial step, run SFC-DISM - TenForumsTutorials

    Denis
    I don't understand. Which of the 5 versions of SFC are you proposing I run and against which file: the just-hidden file or the registry? Or do you mean for me to run it against the whole hard drive?
    Last edited by RhinoCan; 02 Jul 2020 at 14:04. Reason: Typo
      My Computer


  4. Posts : 11,585
    Windows 10 Home x64 Version 21H2 Build 19044.1776
       #4

    Option Three: (recommended) To Run SFC /SCANNOW Command in Windows 10

    SFC is a system-wide tool that checks for corrupt Windows functions. Whilst your problem might be caused by a third-party application it seems more likely to be a Windows fault.

    Denis
      My Computer


  5. Posts : 206
    Windows 10
    Thread Starter
       #5

    Try3 said:
    Option Three: (recommended) To Run SFC /SCANNOW Command in Windows 10

    SFC is a system-wide tool that checks for corrupt Windows functions. Whilst your problem might be caused by a third-party application it seems more likely to be a Windows fault.

    Denis
    Thanks for clarifying your original instructions. I've run SFC /SCANNOW and it found and fixed a few errors. But the behaviour of my hidden files hasn't changed at all so editing the registry in Regedit and via the batch file both fail.

    What else can I try?
      My Computer


  6. Posts : 18,138
    Win 10 Home 10.0.19044.1766 (x64) [21H2]
       #6

    RhinoCan said:
    Thanks for clarifying your original instructions. I've run SFC /SCANNOW and it found and fixed a few errors. But the behaviour of my hidden files hasn't changed at all so editing the registry in Regedit and via the batch file both fail.

    What else can I try?
    Now run DISM, here: Use DISM to Repair Windows 10 Image


    ...steps 5. and 8.
      My Computer


  7. Posts : 11,585
    Windows 10 Home x64 Version 21H2 Build 19044.1776
       #7

    RhinoCan said:
    Thanks for clarifying your original instructions. I've run SFC /SCANNOW and it found and fixed a few errors. But the behaviour of my hidden files hasn't changed at all so editing the registry in Regedit and via the batch file both fail.

    What else can I try?
    That SFC option ends with the suggestion of running a DISM command if SFC was not able to fix all the errors it found but you have not mentioned that.

    If that does not fix it either then I suggest a "Repair install" [aka an InPlace upgrade]. Despite its name, it is a repair procedure not a re-installation.
    Repair Install Windows 10 with an In-place Upgrade - TenForumsTutorials

    Denis
      My Computer


  8. Posts : 56,100
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #8

    Quick observation...

    I do not see anywhere that a Restart was done after the SFC fixes. That would be required to reload resident system files that may have been corrected.

    EDIT: Down inside the DISM repair, step #8. That covers it. Sorry.

    "
    8
    If you did step 5, step 6, or step 7 above, it is recommended to restart the computer to fully apply."
    Last edited by f14tomcat; 02 Jul 2020 at 19:12.
      My Computers


  9. Posts : 206
    Windows 10
    Thread Starter
       #9

    Try3 said:
    That SFC option ends with the suggestion of running a DISM command if SFC was not able to fix all the errors it found but you have not mentioned that.

    If that does not fix it either then I suggest a "Repair install" [aka an InPlace upgrade]. Despite its name, it is a repair procedure not a re-installation.
    Repair Install Windows 10 with an In-place Upgrade - TenForumsTutorials

    Denis
    Sorry for the delay in responding; I had to deal with some other things along the way!

    I ran Step 5 and got this:
    Hidden files not behaving properly-dism-step-5.jpg
    Then I restarted Windows. When I got back into my folder, it looked the same as before and the hidden file was still invisible but this time, when I went into Folder Options, the "don't show hidden files, folders and drives" radio button was selected. I simply clicked the "show hidden files, folders and drives" radio button, clicked on Apply and my hidden file finally reappeared!

    Thanks for your help with this!!

    I'm still curious about why this functionality broke suddenly but I've got lots of other things on my plate so I think I'll get back to them.

    Thanks again!
      My Computer


  10. Posts : 11,585
    Windows 10 Home x64 Version 21H2 Build 19044.1776
       #10

    Many threads in TenForums could end with I'm still curious about why this functionality broke suddenly.

    The most honest answer would often be I don't know.

    Another not-incorrect answer could be because Windows does this sort of thing.

    Denis
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:13.
Find Us




Windows 10 Forums