Hack Forums
[Shell] Remove Security tab from Drives, Files, and Folders Properties in Windows 10 - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Shell] Remove Security tab from Drives, Files, and Folders Properties in Windows 10 (/showthread.php?tid=6003728)



Remove Security tab from Drives, Files, and Folders Properties in Windows 10 - Emre_ - Aug 31, 2019

Code
::  Remove Security tab from Drives, Files, and Folders Properties in Windows 10

@Echo Off & Cls

net sess>nul 2>&1||(powershell start cmd -ArgumentList """/c %~0""" -verb Runas & exit)



Cls & Mode CON  LINES=11 COLS=85 & Color 0D & Title Created By FreeBooter
Echo.
Echo.
Echo.
Echo.
Echo        Remove Security tab from Drives, Files, and Folders Properties (Y/N)?  
Echo.      
Echo.
Echo.


Set /p input= RESPONSE:

If /i  Not %input%==Y (Goto :_Ex) Else (Goto :_Start)

:_Ex
If /i Not %input%==N  (Goto :EOF) Else (Goto :_RegRestore)



:_Start

Reg.exe delete "HKCR\*\shellex\PropertySheetHandlers\{1f2e5c40-9550-11ce-99d2-00aa006e086c}" /f > Nul
Reg.exe delete "HKCR\Directory\shellex\PropertySheetHandlers\{1f2e5c40-9550-11ce-99d2-00aa006e086c}" /f > Nul
Reg.exe delete "HKCR\Drive\shellex\PropertySheetHandlers\{1f2e5c40-9550-11ce-99d2-00aa006e086c}" /f > Nul


Cls & Mode CON  LINES=11 COLS=40 & Color 0D & Title Created By FreeBooter
Echo.
Echo.
Echo.
Echo.
Echo            Removing Security tab  
Echo.
Echo.
Echo.
Ping -n 6 localhost >Nul
Exit


:_RegRestore

Reg.exe add "HKCR\*\shellex\PropertySheetHandlers\{1f2e5c40-9550-11ce-99d2-00aa006e086c}" /f > Nul
Reg.exe add "HKCR\Directory\shellex\PropertySheetHandlers\{1f2e5c40-9550-11ce-99d2-00aa006e086c}" /f > Nul
Reg.exe add "HKCR\Drive\shellex\PropertySheetHandlers\{1f2e5c40-9550-11ce-99d2-00aa006e086c}" /f > Nul
Reg.exe delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoSecurityTab" /f > Nul
Reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /f > Nul



Cls & Mode CON  LINES=11 COLS=40 & Color 0D & Title Created By FreeBooter
Echo.
Echo.
Echo.
Echo.
Echo           Restoring Security tab  
Echo.
Echo.
Echo.
Ping -n 6 localhost >Nul
Exit