VMware Communities
Anywho
Contributor
Contributor

Create a linked clone of the host?

Is it possible to create a linked clone of the host where the VM is installed? Basically I don't have to install anything, the VM just runs whatever the host has and any changes are kept from there on. Kind of like Sandboxie does.

Sorry if this has been asked before. It's too generic, no keywords for an effective search. Thanks.

Tags (2)
0 Kudos
2 Replies
continuum
Immortal
Immortal

Yes - it is possible - but it doesn't make any sense !

A linked clone creates a redolog (snapshot-file) - all changes will then be written into that redo-log.

Fine - with some manual tricks you can persuade VMware to create and use such a redolog.

Well - now comes the crux of the biscuit - normally you stop changing the base-disk once you created that redo-log.

This is obviously impossible in case this disk is used by your host.

So lets sum up: you can do what you thought - but using it once will corrupt your setup again.

It really is useless - you will only mess up your data.

Wanna hear a different - reduced idea: create a sandbox for a single user only ?

Lets say you are admin and want to create a sandbox for user "malwaremagnet"

Create a new malwaremagnet.vmdk - format it and mount it with vdk to W:

vdk.exe open * "malwaremagnet.vmdk /rw /L:W:

As admin create new directory C:\documents and settings\malwaremagnet.

Create junction like this

junction.exe "C:\documents and settings\malwaremagnet" W:\

Create new idiot-user-account "malwaremagnet"

Log in as "malwaremagnet" and configure your home to your liking.

When satisfied log off.

As admin create a redolog (snapshot) like this

vdk.exe open * malwaremagnet.vmdk /undo /L:W:

Now you can login as "malwaremagnet" and do some stupid things with your browser.

All changes to your user-profile will go to the redolog.

When done with your surfing log out.

As admin run vdk.exe close *

and delete the redolog.

Next time you log in as "malwaremagnet" changes have been discarded and you can start at point zero again.

If you are into scripting automate it with batchs ...

vdk.open open * malwaremagnet.vmdk /undo /l:w:

now login and logout

vdk.exe close * del /s /q malwaremagnet.vmdk.redo

Sounds interesting ? - wait - this is no closed sandbox - if you mess in the windows directory this is not included !

You may find this useful if you need a always clean looking browser for obscure sites ... or peer to peer usage ...

You find that complicated ? - well what you originally wanted is much trickier and advanced.

___________________________________

description of vmx-parameters:

VMware-liveCD:


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
Anywho
Contributor
Contributor

Thanks. You are right. Even if it worked, it wouldn't behave the same as a sandbox since it has to carry the overhead of a virtual machine. That makes it no diffierence

from running a regular VM. They serve different purpose.

Unfortunately, Sandboxie wil no longer work with Vista and other 64-bit Windows. Wish there were some replacement in the working.

0 Kudos