Delete old windows folder from C or other drive

Open a Command Prompt with administrative privileges.
Run the following commands line by line, but in doing so, change "Z:\Program Files" to whatever you actually want to delete.

takeown /F "Z:\Program Files" /A /R /D Y
icacls "Z:\Program Files" /T /grant administrators:F
rmdir /s /q "Z:\Program Files"