# Cursor Deleted/wiped my whole hard drive

**URL:** <https://forum.cursor.com/t/cursor-deleted-wiped-my-whole-hard-drive/161468>\
**Category:** Bug Reports\
**Tags:** terminal, auto-run, security\
**Created:** [May 24, 2026, 8:49pm UTC](https://forum.cursor.com/t/cursor-deleted-wiped-my-whole-hard-drive/161468 "2026-05-24T20:49:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![MidnightOak](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/midnightoak/32/77882_2.png) [@MidnightOak](https://forum.cursor.com/u/MidnightOak)\
**Post date:** [May 24, 2026, 10:47pm UTC](https://forum.cursor.com/t/cursor-deleted-wiped-my-whole-hard-drive/161468/5 "2026-05-24T22:47:29Z")

</div>

> [@The cursor completely formatted my C drive while I was running the project](https://forum.cursor.com/t/the-cursor-completely-formatted-my-c-drive-while-i-was-running-the-project/156170):
>
> Where does the bug appear (feature/product)? Cursor IDE Describe the Bug Two hours ago, the cursor completely formatted my C drive. I usually use a MacBook, but today I sat down at the PC. I’ve already been working with the cursor on a PC for about the last three months. But something went wrong today. I cloned my project from github, and then asked the AI agent to study the project and launch it. It was a regular project on react, but the cursor said that it had found some errors and continu…

> [@Cursor wiped out my hard disk](https://forum.cursor.com/t/cursor-wiped-out-my-hard-disk/158882):
>
> Where does the bug appear (feature/product)? Cursor IDE Describe the Bug Cursor deleted both my hard disk and my OneDrive without being asked to, removing important system files too. I asked it to fetch a github repo and make a copy on my OneDrive, but it fetched a wrong repo, so I told it “delete that repo copy and make one with this exact repo” and gave it the link. It proceeded not only to delete the folder it created, but my whole OneDrive and my main hard disk. While I tried recovering my …

> [@Cursor Wiped my Entire Computer](https://forum.cursor.com/t/cursor-wiped-my-entire-computer/159286):
>
> Cursor just wiped my entire computer on the first day of using it. I understand now from reading other posts that there is a proper set-up which I clearly didn’t have. What am I supposed to do to restore my files?

> [@Cursor wiped ~300GB from my system after a simple cache cleanup request (critical issue)](https://forum.cursor.com/t/cursor-wiped-300gb-from-my-system-after-a-simple-cache-cleanup-request-critical-issue/159065):
>
> Where does the bug appear (feature/product)? Cursor IDE Describe the Bug Cursor executed destructive filesystem operations after a simple cache cleanup request, resulting in massive unintended data loss (~300GB) and partial corruption of my Windows environment. The request was limited to: cleaning Expo / Android / build cache However, the AI escalated this into recursive deletion commands that affected directories outside the project scope, including user-level folders. This behavior is ext…

> [@AI Error - Wiped Hard Drive](https://forum.cursor.com/t/ai-error-wiped-hard-drive/155485):
>
> As an FYI to devs, cursor was helping me cleanup cached and unnecessary files from an app and deleted a 756 GB hard drive that is now unrecoverable. And then proceeded to tell me that it did not delete any files even though it literally couldn’t find anything to look at because the entire drive was gone. I understand that I clicked yes on the command because it told me it was deleting node\_modules and I didn’t inspect it enough. But to lose 25 years of photos and videos to one command and then e…

> [@Agent ran rmdir /s /q on Windows and deleted user profile data outside the project](https://forum.cursor.com/t/agent-ran-rmdir-s-q-on-windows-and-deleted-user-profile-data-outside-the-project/160888):
>
> Describe the Bug While working in Agent mode on a Next.js project, I asked the agent to revert a recent change by removing a subfolder (tools/conedison). Instead of only deleting that folder, the agent used Windows recursive delete commands (Remove-Item -Recurse -Force and rmdir /s /q) with incorrect path quoting. The command did not stay scoped to the project. Large portions of my Windows user profile under C:\Users\<username\> were deleted, including Desktop, Documents, Downloads, my git repo, a…

> [@Why cursor? why](https://forum.cursor.com/t/why-cursor-why/154415):
>
> Where does the bug appear (feature/product)? Cursor IDE Describe the Bug As a result of a safe prompt that did not foreshadow trouble Cursor deleted ABSOLUTELY EVERYTHING from my SSD drive where the project he was working on was stored. What should I do? I’m panicking and frustrated. Thousands files of data and documents and projects are lost. It’s good that at least the browser was on another drive and I can write this. Steps to Reproduce git clone Expected Behavior ??? Screenshots / Screen…

> [@Title: Cursor wiped my entire PC – months of work, family photos, everything gone. How is this possible and what can I do?](https://forum.cursor.com/t/title-cursor-wiped-my-entire-pc-months-of-work-family-photos-everything-gone-how-is-this-possible-and-what-can-i-do/152054):
>
> I’m in complete shock right now. After using Cursor on my Windows PC with agent capabilities enabled, it appears that my entire system has been wiped. My Desktop is empty. My Documents, Downloads, Pictures – everything is gone. Family photos, months of development work, business files – all gone. Even programs that were previously installed seem to have disappeared or are no longer accessible. The Recycle Bin is empty. I did not manually delete anything. The only thing I was doing was work…

> [@Possible catastrophic deletion triggered by Remove-Item path expansion in Cursor (F:\\ drive wiped)](https://forum.cursor.com/t/possible-catastrophic-deletion-triggered-by-remove-item-path-expansion-in-cursor-f-drive-wiped/138966):
>
> Where does the bug appear (feature/product)? Cursor IDE Describe the Bug Command type: PowerShell (executed via Cursor terminal or command runner) Drive affected: F:\ (secondary internal drive) While using Cursor IDE, I executed a PowerShell command intended to remove a specific nested directory inside a project. Unexpectedly, the command seems to have wiped my entire F:\ drive instead of the intended subfolder. After running the command, the entire F:\ drive was wiped. All files and direc…

🍻

---

_[View the full topic](https://forum.cursor.com/t/cursor-deleted-wiped-my-whole-hard-drive/161468)._
