Solved Cannot delete "windows" and "program files" from old hdd

thedodo

Member
Member
Messages
24
Hi,
I recently installed a new ssd and did a fresh install of windows 8.1 on it. I am now using my old hdd as my main data drive in my laptop caddy. My problem is I did not back up my data on my hdd and format it. So I need to delete the "windows" , "program files" and "program files (x86) " folders from that hdd to free up some space.
I understand I have to give ownership to those folders for me to be able to do delete the folders. I have tired the methods suggested by this guide http://www.eightforums.com/tutorial...le-folder-drive-registry-key-windows-8-a.html

I tried both of those commands
(To grant currently logged on user ownership of)

takeown /F "full path of folder or drive" /R /D Y


(To grant administrators group ownership of)

takeown /F "full path of folder or drive" /A /R /D Y

and it was succesful, however I still couldn't delete the folders. I would appreciate if anyone could enlighten me.

 
A lot is protected by trusted installer. I do that kind of thing with a win7 winpe disc/usb. I have a special driver which ignores permissions and gives complete control.
 
Back
Top