I recently lost a VirtualBox 4.3.20 Linux VM that took me months to build - the \.VirtualBox and \VirtualBox VMs folders just suddenly disappeared. Fortunately I had a fairly fresh backup of the host (a Win 8.1 machine).
1. What could have caused this (I suspect something like Ccleaner)?
2. More importantly, is there any way to protect these folders so nothing can remove them?
Thanks.
How to protect against disappearing VMs
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: How to protect against disappearing VMs
VirtualBox does not perform any deletion of that kind, so some third party software is. There is no way to know from a VirtualBox point of view.francob wrote:1. What could have caused this (I suspect something like Ccleaner)?
Well... Nothing in VirtualBox canfrancob wrote:2. More importantly, is there any way to protect these folders so nothing can remove them?
Bottom line: you should really double check what software installed on your machine is doing... Nothing we can do here I am afraid.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: How to protect against disappearing VMs
FWIW, CCleaner would not normally delete those folders unless it was used to uninstall VirtualBox. CCleaner is fairly good at finding ALL files associated with a program.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: How to protect against disappearing VMs
VirtualBox does allow you to delete VMs, but it has no function to delete the ".VirtualBox" and "VirtualBox VMs" folders.
Are you sure you didn't just log in as a different user? Have you been doing any fiddling with user accounts on that PC? Come to think of it, I have no idea what happens to user doc folders if you delete a user profile on Windows. I assume they remain behind, but accessible only if you have admin rights.
Are you sure you didn't just log in as a different user? Have you been doing any fiddling with user accounts on that PC? Come to think of it, I have no idea what happens to user doc folders if you delete a user profile on Windows. I assume they remain behind, but accessible only if you have admin rights.