Can't delete folder with desktop.ini folder inside it

I have a D:/folder folder and I can't delete it.

The folder is apparently empty. However, when I try to delete it from Windows 10, nothing happens, no error, but folder doesn't disappear.

From the command line, I use the dir /a command and I can see that there is a desktop.ini folder (not file) with date 17/11/8725 inside my undeletable folder.

However, I cannot remove it with rd desktop.ini, nor can I open it (dir desktop.ini).

My disk is NTFS.

Other information:

  • I was able to rename the folder and move it to a parent directory, this is, from D:/something/something/initialfolder to D:/folder.
  • When I try to delete it from cmd the error message is The directory name is invalid.
  • When I try to dir it from cd the error message is:

Volume in Drive D is (drive name)

Volume Serial Number is (serialnumber)

Directory of D:\folder\desktop.ini

File Not Found

Why is this happening and how can I fix it?

Checkdisk utility finds no error on the disk.

11

2 Answers

To me this is suspicious and suggests malware.

The invalid year in the date is a sure sign that something abnormal has occurred. Since your disk check is normal, you should run a Windows Defender scan of your computer.

If Windows Defender doesn't find anything, do another full scan using the free Malwarebytes edition.

1

Hard disk drive seems to be phisically faulty. Finally I bought a new HDD and I could copy all folders but that ghostly "desktop.ini" folder.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like