• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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


thedodo

Member
Member
Posts
24
#1
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.

 

My Computer

System One

  • OS
    Windoes 7, Windows 8.1, Ubuntu 14.04 LTS
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Lenovo z580
    CPU
    i3 (Sandy Bridge)
    Memory
    6 GB
    Graphics Card(s)
    intel hd 3000 i think
    Monitor(s) Displays
    some acer led screen
    Hard Drives
    sandisk ssdsdp128G
    hitachi hdd in optical bay drive

SIW2

Well-Known Member
Team Member
Posts
5,360
#2
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.
 

My Computer

System One

  • OS
    7/8/ubuntu/Linux Deepin
    Computer type
    PC/Desktop

thedodo

Member
Member
Posts
24
#3
Gave up on trying to takeover ownership.
I ended up creating a puppy linux drive and deleted all of them.
 

My Computer

System One

  • OS
    Windoes 7, Windows 8.1, Ubuntu 14.04 LTS
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Lenovo z580
    CPU
    i3 (Sandy Bridge)
    Memory
    6 GB
    Graphics Card(s)
    intel hd 3000 i think
    Monitor(s) Displays
    some acer led screen
    Hard Drives
    sandisk ssdsdp128G
    hitachi hdd in optical bay drive