Jump to content

Deleting redundant Windows files from a drive - help appreciated

So recently I moved my operating system to a new drive, but I want to delete the old windows folders on the original drive. Unfortunately even though I am the administrator it won't allow me to do so.

 

Any advice on how to do so would much be appreciated!

Link to comment
Share on other sites

Link to post
Share on other sites

Just re-Format it, in Disk Management

I frequently edit any posts you may quote; please check for anything I 'may' have added.

 

Did you test boot it, before you built in into the case?

WHY NOT...?!

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Eighjan said:

Just re-Format it, in Disk Management

Would reformatting remove everything on that disk?

 

The reason i ask is because there is some data I don't want to lose on there

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, TristanD79 said:

Would reformatting remove everything on that disk?

 

The reason i ask is because there is some data I don't want to lose on there

Transfer that off, first, re-format & then transfer back... only way I'm aware of as I don't do that specific task too often.

I frequently edit any posts you may quote; please check for anything I 'may' have added.

 

Did you test boot it, before you built in into the case?

WHY NOT...?!

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Eighjan said:

Transfer that off, first, re-format & then transfer back... only way I'm aware of as I don't do that specific task too often.

Sadly transferring it off isn't an option as the old drive is 1TB HDD and the new one a 240 GB SSD

Link to comment
Share on other sites

Link to post
Share on other sites

15 minutes ago, TristanD79 said:

So recently I moved my operating system to a new drive, but I want to delete the old windows folders on the original drive. Unfortunately even though I am the administrator it won't allow me to do so.

 

Any advice on how to do so would much be appreciated!

If you want to delete just the old windows folders, from within windows, you're going to have a bad time.

 

Either

a) Reformat the drive using the OS installer

or

b) boot a rescue disk command line tool (eg Windows own tools, or a Linux rescue disc/flash drive that can write to NTFS)

 

Trying to delete a previous windows installation you didn't upgrade from is not supported by the disk cleanup tool which is the way you'd do it if it was on the same drive.

 

Link to comment
Share on other sites

Link to post
Share on other sites

9 minutes ago, TristanD79 said:

Sadly transferring it off isn't an option as the old drive is 1TB HDD and the new one a 240 GB SSD

Ohh... ideally a 3rd/'rent-a-drive' would be useful - unless you have a DVD burner.

I frequently edit any posts you may quote; please check for anything I 'may' have added.

 

Did you test boot it, before you built in into the case?

WHY NOT...?!

Link to comment
Share on other sites

Link to post
Share on other sites

Just boot onto Linux through a live usb flashdrive. No install required. It will let you edit files on the drive if you mount it. From there you can delete the entire Windows folder, pagefile, hiberfile, etc etc.

CPU: AMD Ryzen 3700x / GPU: Asus Radeon RX 6750XT OC 12GB / RAM: Corsair Vengeance LPX 2x8GB DDR4-3200
MOBO: MSI B450m Gaming Plus / NVME: Corsair MP510 240GB / Case: TT Core v21 / PSU: Seasonic 750W / OS: Win 10 Pro

Link to comment
Share on other sites

Link to post
Share on other sites

what error are you getting when trying to delete?, you might need to "take ownership" of all the files on that drive to be able to delete them properly

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, TristanD79 said:

Here is a screen shot of it.

340b02c46bb6e50e965028f9682b358b.png

ok, so first thing to try is to right click on the drive and select properties, then click on the security tab and click on the advanced button. Next click on the button at the bottom that says change permissions, then beside owner click on the change link and type in your username and click ok, finally check the checkbox to "replace all child object permission entries with inheritable permission entries from this object" then click ok, it will go through and make you the owner of all the files on the drive so that you can delete them

Link to comment
Share on other sites

Link to post
Share on other sites

9 minutes ago, truescot said:

ok, so first thing to try is to right click on the drive and select properties, then click on the security tab and click on the advanced button. Next click on the button at the bottom that says change permissions, then beside owner click on the change link and type in your username and click ok, finally check the checkbox to "replace all child object permission entries with inheritable permission entries from this object" then click ok, it will go through and make you the owner of all the files on the drive so that you can delete them

This doesn't seem very safe lol

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, TristanD79 said:

This doesn't seem very safe lol

it is 100% safe, if you do not have the operating system or program files on that disk anyway there is nothing that can go wrong.  It is an operation i have carried out litterally 10's of thousands of times in my 25 years in IT operations ;), or if by safe you mean that anyone who has got your hard drive has access to your files, then yea, the only way around that is to encrypt your drive 😛

Link to comment
Share on other sites

Link to post
Share on other sites

Windows security settings are a pain in the ass... if truescot's tip does work or not (wouldn't be surprised either way), i would strongly advice you to get an external drive big enough to backup your data. 1st for transfers like this one and 2nd, more important: to have a BACKUP. If your drive fails, chances are good you loose all your data! Just think about it: how bad would it be to loose the data on that drive? If it's not worth to buy a backup drive, it also should be ok to format the drive...

Link to comment
Share on other sites

Link to post
Share on other sites

Thankfully I have now sorted it, got an extra drive and temporarily transferred stuff, then reformatted. Overall was the simplest solution

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×