Advertisement
Python253

disable_all_visibility_options

Apr 23rd, 2024
892
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.61 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Disable hidden files
  4. reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Hidden /t REG_DWORD /d 0 /f > /dev/null
  5.  
  6. # Disable file extensions
  7. reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t REG_DWORD /d 0 /f > /dev/null
  8.  
  9. # Disable super hidden files
  10. reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowSuperHidden /t REG_DWORD /d 0 /f > /dev/null
  11.  
  12. echo "Visibility Options Disabled:\nHidden files, file extensions, and super hidden files are now Disabled."
  13.  
  14.  
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement