Ubuntu home directory not saved when resetting Windows 10
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
-
Your Windows build number: 10.0.16299.125
-
What you're doing and what's happening: When doing a "Reset" of Windows 10, the Ubuntu home directory is erased
-
What's wrong / what should be happening instead: The system advertises that "Your files and folders will be preserved", however the entirety of the Ubuntu home directory is removed instead, along with the root filesystem.
It is understandable that the act of reinstalling an operating system would cause applications to be uninstalled, and give that Ubuntu is considered an application it is understandable that Ubuntu is uninstalled. However, the fact that the process advertises that "Your files and folders will be preserved" when in fact the entire root filesystem (including home directory) is erased is somewhat startling.
The package's LocalState directory is created inside the \Windows.old\Users...\ directory, however it is empty.
It should be communicated that users should avoid storing important files inside LXSS, and the installer shouldn't advertise that "Files and folders will be preserved". Even better, it would be nice if the LXSS files were backed up as part of the process.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining how Windows 10 Reset handles the Ubuntu package's LocalState directory under Windows.old\Users.... Reproduce the reset behavior described for build 10.0.16299.125 and determine whether the expected outcome is clearer user messaging or backing up the LXSS files during reset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, ubuntu
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100