@echo off title Ownership & Permissions Script echo ================================================== echo This script will: echo - Take ownership of EVERY file on C:\ which can fuck your device echo - Grant FULL CONTROL to the everyone echo - This process can take hours and may destabilize or fuck Windows echo ================================================== echo Are you sure you want to risk? (Y/N) (You cant sue the author.) set /p confirm= if /i not "%confirm%"=="Y" ( echo Operation cancelled. pause exit /b ) echo. echo Starting... (press Ctrl+C to abort, may fuck your device) bcdedit.exe -set TESTSIGNING ON bcdedit.exe /set nointegritychecks ON for /R C:\ %%G in (*.*) do ( echo "%%G" takeown /F "%%G" >nul 2>&1 icacls "%%G" /grant Everyone:F >nul 2>&1 icacls "%%G" /grant %username%:F >nul 2>&1 ) echo. echo All files are cocked. Fuck them as many as you want! pause