How to Disable Warning Message While Unchecking “Hide Protected Operating System Files” Option in Folder Options

When you try to uncheck "Hide Protected Operating System Files (Recommended)" Option in Folder Options in Windows OS, you get a warning message asking for confirmation as shown in following screenshot:


It becomes quite annoying if you frequently enable/disable this option.

Today in this tutorial, we'll tell you how to completely remove this warning message so that you can enable/disable the option without getting the irritating warning message window.

1. Type regedit in RUN or Start Menu search box and press Enter. It'll open Registry Editor.

2. Now go to:


3. In right-side pane, delete String value "WarningIfNotDefault".


That's it. Now you'll not receive the warning message.

PS. If you want a ready-made registry script to do the task automatically, download following ZIP file, extract it and run the desired REG file:

Download Registry Script

Share this article: Facebook | Twitter | Google+ | Reddit | Tell a friend

Posted in: Troubleshooting, Windows 7, Windows Vista, Windows XP

Other similar articles that may interest you


  • Like VG says, you have to open a Command Prompt (in the run box type "cmd" without quotes and press enter.

    Then type the following:

    J: [Then press enter]

    You should now be at the J: (pen) drive.

    Your prompt should have gone from C:\Documents and Settings\USER> to just J:\>

    Now type the following:

    attrib -s [Then press enter]

    If you get the same error as before, then type the following (but ONLY if you're for sure at the J: Drive):

    attrib -s -h [Then press enter]

    You should be able to see and rename the folders in Windows Explorer (If a folder is named "Music.exe" rename it to "Music"

    Let us know how it turns out!

Leave a Comment