Long story short - Upgraded from windows 7 to windows 10 a few months ago, decided to backup Windows 7. Came to the realization that I wan't gonna downgrade and Windows.old was taking up substantial space so I decided to delete it via Disk Cleanup. One folder remained that I could not delete or compress, it was named "System.Printing.dll", all I could do was move it to my Desktop. Every time I try to delete or open it I get a message that saying that file in not accessible and the directory name is invalid. The folder isn't hurting anything, it's just an eyesore. Any help would be appreciated. Thank you.
Are you sure that's a folder? On my other Win7 PC it's an actual dll file under c:windowswinsxs...
Perhaps its directory listing has been corrupted. Try running Chkdsk from an administrative command prompt and see if it fixes it.
If that finds no errors, try right-clicking on it and select 'Properties'. On the Security tab the 'Advanced' button will let you take ownership. You should be able to delete it then.
If that fails, try downloading Linux and make a bootable 'live' USB. From Linux you can delete anything you want (so be careful).
I've run chkdsk and sfc, no errors or corrupted files. I've reset file permissions, I've tried deleting is safe mode w/o networking - no avail.
Time to boot Linux from a USB then. I once had to do that for a similar 'undeletable' file.
It is quite common that you can't delete Windows.old but in safe mode? I don't believe you. The file you are trying to delete is "system.printing.dll" is not loaded in safe mode normally. Are you sure?
Every upgrade I get xxxx.dll (from intel) that can't be deleted but I always can in safe mode.
Anyway, if you really can't delete it (of course I could be wrong) then as @Bree says you could boot from Linux.
Alternatively you could hold down the <shift> key and restart. That will reboot you into the RE environment. Go to a command line and then just delete it (or anything else).
When you boot into WinRE then Windows directory is not locked and you can do what you want (as long as it is not encrypted). Just type delete C:whateverwhatever.dll
Despite the name, it certainly appears to be a folder and not an actual dll - the 0 bytes size is a bit of a give-away.
As windows complains that its name is invalid, have you tried renaming it?
Renaming does nothing, directory still invalid.
Did you actually succeed in renaming it, or did it fail with the 'invalid' error?
Perhaps you can delete it by using its 8.3 name. Open a command prompt, then type cd Desktop to go into that directory. Now type dir /xto list the 8.3 names as well as the long names. Now try deleting it using its 8.3 short name.
In the command prompt I see you used the command 'del c:usersgarydesktopsystem.printing.dll'
That won't actually work for a directory, you need to use the RMDIR command, DEL just works on files.