delete “Access Denied” file on Windows
net user Administrator pass123 //change administrator pass to pass123 //enable administrator account in windows Open “Run” with [Windows] + [R]. Type “cmd” and press [Ctrl] + [Shift] + [Enter]. Type “net user administrator /active:yes”. //the administrator account is now activated.
runas /user:Administrator cmd.exe //run cmd as administrator
TAKEOWN /F //type in the path of folder that you want to take access ICACLS //type in the path of folder that you want to take access> /grant administrators:F
rmdir /s /q //paste folder path del //paste file path #eof















