Accidentally Deleted Desktop Folder in Windows 11

Published by Nyau Wai Hoe - Updated on

If you’ve accidentally deleted (permanently or not) the entire Desktop folder in Windows 11, whether you want to recover the deleted files in the Desktop folder, or just want to get rid of the “Desktop is unavailable” error message, this guide will show you what you can do.

Also see: Recover Permanently Deleted Photos in Windows 11

Accidentally deleted the Desktop Folder in Windows 11

Check the Recycle Bin first

The first thing you should do when you accidentally delete any files or folders, including the Desktop folder, is to check the Recycle Bin. Windows automatically moves deleted files to the Recycle Bin unless you used Shift + Delete to delete them permanently.

  1. Open the Recycle Bin. If it’s not on the desktop, you can search for “Recycle Bin” via the Start menu.
  2. Search for the Desktop folder or any important files that may have been in it. If you find the folder or files in the Recycle Bin, you can easily restore them.
  3. Right-click on the folder or file and select “Restore“. This will move the Desktop folder back to its original location, and you should have your Desktop items back as they were.Restore deleted Desktop folder in Windows 11

If you can’t find the Desktop folder in the Recycle Bin, it means that the folder may have been permanently deleted or wasn’t moved to the Recycle Bin due to specific deletion settings.

Linked issue: “This Folder is Empty” in Windows 11 (Fix)

If you need to recover the permanently deleted files in the Desktop folder

If the Desktop folder was permanently deleted, there are still ways to try to recover your files. The following methods are worth trying to restore the lost data. However, if the data is extremely important, like files related to business or work, you should stop using your computer immediately to avoid overwriting any recoverable data and instead send it to a data recovery professional.

Check your OneDrive backup

If you had previously synced your Desktop folder with OneDrive, you might be able to recover it through your OneDrive account.

  1. Open OneDrive on your PC or log in to OneDrive online (https://onedrive.live.com) using your Microsoft account credentials.
  2. Go to the Desktop folder. OneDrive may have a copy of your deleted files if you had set it up to back up (syncing) your Desktop automatically.
  3. If you find the Desktop folder in OneDrive, you can download it back to your local system to restore your Desktop.OneDrive Desktop Folder Backup Recovery

Using OneDrive can be very convenient since it provides an automatic backup that can protect you from accidental deletions like this one.

Use System Restore

System Restore might be able to help you get your Desktop folder back, but it doesn’t always work. This method works by taking your system settings and files back to an earlier time. System Restore won’t affect your personal files, but it will restore system files, drivers, and settings.

  1. Go to the Start menu, type “sysdm.cpl” and press Enter to open the System Properties window.
  2. In the System Properties window, click on the System Restore button.How to open System Restore in Windows 11
  3. Pick a restore point from before you deleted the Desktop folder. If System Restore was enabled, there should be several restore points to choose from.System restore to recover deleted desktop folder
  4. Follow the steps to restore your system to that earlier time.

Once the restoration is done, check if the Desktop folder is back. This method can work well if a restore point was made recently.

Use a file recovery software

If neither OneDrive nor System Restore works for you, you may need to use file recovery software. These programs can scan your hard drive to locate and recover deleted files, even if they were permanently deleted.

  • One of the most popular recovery tools that’s totally free to use is Recuva. It helps recover files that were accidentally deleted.
    1. Download and install Recuva from its official website.
    2. Run a deep scan to locate deleted files.Recuva Enable Deep Scan
    3. Once it finds the files, select the files you would like to recover and click “Recover“.Recover permanently deleted images Windows 11
  • There are also paid recovery tools available, which may provide more advanced recovery capabilities.
    • Most paid tools have a free version that allows you to scan and preview recoverable files, but you may need to purchase the full version to actually recover them.

Note that even with professional recovery software, it’s not always possible to recover 100% of your deleted files. They are often fragmented or overwritten by new data, which can make recovery more difficult or sometimes impossible. The sooner you try to recover them after deletion, the better your chances will be. But if the files have already been replaced, even advanced software might not be able to recover them fully.

How to fix the “Desktop is unavailable” error

If you don’t care about the files that were deleted from the Desktop folder but simply want to get rid of the error message you’re seeing, you can easily recreate the Desktop folder.

After deleting the Desktop folder, you might keep seeing the following error message whenever you open File Explorer or sign into the desktop:

“C:\Users\user_name\Desktop is unavailable. If the location is on this PC, make sure the device or drive is connected or the disc is inserted, and then try again. If the location is on a network, make sure you’re connected to the network or Internet, and then try again. If the location still can’t be found, it might have been moved or deleted.”

Location C Users Desktop is unavailable error Windows 11

Create a new Desktop folder manually

If you keep seeing this error, it means that Windows is unable to locate your Desktop folder. You can manually create a new Desktop folder to fix this issue.

  1. Search for “cmd” in the Start menu, right-click Command Prompt, and select “Run as administrator“.Command Prompt Run as Administrator
  2. In the Command Prompt window, type the following command and press Enter:
    md %USERPROFILE%\Desktop

    Command line to create a new desktop folder

This command will create a new Desktop folder in your user directory. After doing so, the desktop should function normally, and you won’t see the error message again when you open File Explorer or sign into Windows.

Use File Explorer to restore the Desktop folder properly

If manually creating the Desktop folder doesn’t resolve the issue, and the new Desktop folder doesn’t behave like the original one (e.g., icons saved to it don’t actually appear on your desktop), you can try this method to restore it correctly:

  1. Open File Explorer and go to This PC.
  2. Right-click on the Desktop folder (if it’s available), and select Properties.Desktop folder properties
  3. Go to the Location tab.
  4. Click Restore Default and then click OK.Restore Desktop folder default location
  5. A confirmation window will appear telling you that the Desktop folder does not exist, and asking if you would like to create a new one. Click Yes to proceed.The desktop folder does not exist Windows 11

This will recreate the Desktop folder in its proper default location, which should allow it to function as expected, meaning that any files you save to the Desktop folder will now actually appear on your desktop.


Nyau Wai Hoe
Nyau Wai Hoe is the Founder and Chief Editor of WindowsDigitals.com. With a degree in software engineering and over 12 years of experience in the tech support industry, Nyau has established himself as an expert in the field, with a primary focus on the Microsoft Windows operating system. As a tech enthusiast, he loves exploring new technologies and leveraging them to solve real-life problems.

Share via
Copy link