Hello,
Windows Server 2008 and alter version are shipped with a tool called diskshadow. This program can be used to create snapshots of disks and expose them as Folder or as DriveLetter means files are in a consistent state and you can save openfiles.
Some examples. Starting diskshadow. It accept a parameter /l for a logfile. And a Parameter /s for a (diskshadow) script file to execute. diskshadow has the same “look and feel” like diskpart 🙂 and start with a prompt:
C:\Windows\system32>diskshadow
Microsoft DiskShadow version 1.0
Copyright (C) 2013 Microsoft Corporation
On computer: windev, 12.06.2014 20:28:33
DISKSHADOW>
First set diskshadow in defined state with reset
DISKSHADOW> reset
Continue reading Windows: Backup with diskshadow.exe →
Hi,
sometimes you want to modify some offline Vmware virtual disks from command line. For example to copy or edit config files or set some parameters in the Windows sysprep.xml file.
The VMware Workstation does not provide a command line utility for this procedure. But there is a way to do this. Download and install the Virtual Disk Development Kit.
After installation a vmware-mount.exe command exists in the bin Folder of the installation directory.
To mount a disk readonly, choose a drive letter (X: in this example), start a cmd.exe as Administrator type the command like this:
first, change to the VMware Virtual Disk Development Kit Program folder
cd "C:\Program Files\VMware Virtual Disk Development Kit"
or append the program bin folder to PATH variable
set PATH=%PATH%;C:\Program Files\VMware Virtual Disk Development Kit\bin;
vmware-mount.exe X: d:\temp\VirtualDisk.vmdk
to mount the disk writable append /m:w at the end of the command:
vmware-mount.exe X: d:\temp\VirtualDisk.vmdk /m:w
Unmounting is quite simple:
vmware-mount.exe X: /d /f
Have fun
Michael
My Knowledgebase for things about Linux, Windows, VMware, Electronic and so on…