Remove the Show Options from the View Options in Explorer


Leaf

New member
Local time
8:41 AM
Posts
3
OS
Windows 11
I'm trying to prevent my users from seeing hidden items and unchecking file name extensions through an explorer window. I looked through Group Policy and couldn't find a way to do this. Does anyone have any idea how I can either remove the two options (file name extensions and hidden items) or preferably disable the "Show" option?

Thanks!

ShowOptions.webp
 
Windows Build/Version
Windows 11 Pro, Version 24H2 (OS Build 26100.2476)

Attachments

  • Untitled.webp
    Untitled.webp
    10.3 KB · Views: 2

My Computer

System One

  • OS
    Windows 11
Are your Users set as having Administrative Rights or as Standard Users? Standard can't do as much as Admin as for changing settings, programs, etc.
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe M.2
  • Operating System
    Windows 11 Pro RTM x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 4TB Seagate HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
You couldn't do much without a context menu.

The solution is to keep others from using your account by using a strong PW/pin and log out when you leave the computer. Give them their own account as standard user. Any view settings they make to their account will affect only their files, not yours.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2 26100.3194
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1tb Solidigm m.2 nvme+256gb SKHynix m.2 nvme /External drives 512gb Samsung m.2 sata+1tb Kingston m2.nvme+ 4gb Solidigm nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    #1 Edge #2 Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 22H2 19045.3930
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
i run a powershell script on scheduled task to re-enable numlock if disabled. you could run this and modify it for ShowHiddenFiles or Extensions...

Code:
POWERSHELL [CONSOLE]::NumberLock | FIND /I "FALSE">NUL&&POWERSHELL ($WSH = New-Object -ComObject WScript.Shell)-AND($WSH.SendKeys('{NUMLOCK}'))>NUL
 

My Computer

System One

  • OS
    Windows 11 Pro
The solution is to keep others from using your account by using a strong PW/pin and log out when you leave the computer. Give them their own account as standard user. Any view settings they make to their account will affect only their files, not yours.
This doesn't address my issue. I have a strong password and it's a workstation, not my computer specifically. A standard user can change settings that they aren't supposed to such as show hidden files and file name extensions. I was able to disable this in Windows 10.

Are your Users set as having Administrative Rights or as Standard Users? Standard can't do as much as Admin as for changing settings, programs, etc.
The user account is a non-admin (Users), however, they still can select to show hidden items.
 

My Computer

System One

  • OS
    Windows 11

Thank you for this information, I really appreciate it. Windows 11 absolutely sucks to lock down. For safety reasons, standard users shouldn't be allowed to see hidden files or disable file name extenstions (hidden exe's disguised as pdf's) in an enterprise environment.
 

My Computer

System One

  • OS
    Windows 11
Thank you for this information, I really appreciate it. Windows 11 absolutely sucks to lock down. For safety reasons, standard users shouldn't be allowed to see hidden files or disable file name extensions (hidden exe's disguised as pdf's) in an enterprise environment.
Does your enterprise environment require you to allow users to run any executable they can find or download or create? (One I worked in did.) So you need to trust your users to be vigilant and sensible.

One thing you could do is to force the extension to show for .exe and any other 'dangerous' file extensions. This is straightforward. Add a string value AlwaysShowExt to the file type in HKCR e.g. HKEY_CLASSES_ROOT\exefile (you can look up the file type from the extension in the registry or use assoc at a command prompt). In your case you should apply the registry changes to HKLM\Software\classes\exefile , as you want to force this on to all users.

Here's an illustrated guide How to Show File Extensions in Windows 11 from WinAero. It says "Sign out and sign back from your user account. You can also restart the computer to apply the change." Running NirCmd /shellrefresh is less trouble. NirCmd - Windows command line tool

As for the hidden files, I don't think there's any cause for concern. Even if you could prevent users from doing this within explorer, it makes very little difference to users ability to access hidden files.

Mike
 

My Computer

System One

  • OS
    Windows 11 23H2 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    i3-1215U
    Memory
    8GB
    Monitor(s) Displays
    Dell S2721
    Screen Resolution
    3840x2160
    PSU
    External 65W
    Keyboard
    Cherry mechanical (Blue)
    Mouse
    Microsoft
    Browser
    FireFox
    Antivirus
    MS

Latest Support Threads

Back
Top Bottom