Hello dear guest!

Boot Land is a community driven site established since 2006 and focused on data recovery/backup boot disks, research of Windows 2000/XP/2003/Vista/7 install/deployment/antivirus tools, customizing Windows PE systems and even learning how to recover from disaster situations.

How about joining our boot disk community? So do it. Life's short!

  - You get free access to our newsletter with all the interesting buzz about boot disks
  - We share publicity revenue with everyone who wishes to participate at the forums
  - Publicity is never, never, never displayed to members (along with many other cool things)
http://boot-land.net/register

2 Pages V   1 2 >  
Reply to this topic
 virtual storage driver, from Microsoft
post Dec 20 2008, 06:58 PM
Post #1
bilou_gateux
Frequent Member   ***
Group: Advanced user

  Joined: 1-August 06
Posts: 124
Thank(s): 7


France


This is an example of a VSS hardware provider. Vsssampleprovider along with the virtual storage driver (virtualstorage.sys) and virtual storage controller (vstorcontrol.exe) located in the "C:\Program Files\Microsoft\VSSSDK72\TestApps\hwprovst\bin" directory can be used to emulate the functionality of a hardware provider.

You will first need to download the VSS SDK.

Install it and play with it.

I hope The Finder will love it.
if this post is placed in the wrong subforum, Jaclaz rolleyes.gif will move it where it's more appropriate.





--------------------
>>> Good things do come in small packages. <<<


2 user(s) said "Thank you!" to bilou_gateux for this fantastic post:
ireneuszp, oriensol
+Quote Post
post Dec 20 2008, 07:22 PM
Post #2
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


QUOTE (bilou_gateux @ Dec 20 2008, 08:58 PM) *
I hope The Finder will love it.

I may, if I only could understand what it does or it is supposed to do.
Since you posted it in the IMDISK forum, I guess that it has something to do with Virtual Filesystem Driver.....

What the heck is a "VSS hardware provider"? w00t.gif, I know about "HSS hardware provider":
http://www.chinasuppliers.globalsources.co...s/Hss-Drill.htm
roll1.gif


QUOTE (bilou_gateux @ Dec 20 2008, 08:58 PM) *
if this post is placed in the wrong subforum, Jaclaz rolleyes.gif will move it where it's more appropriate.


Well, since you asked for it...wink.gif

Thanks for the link, I'll have a look at it, in the meantime, you can have a look at these:
Gizmo:
http://arainia.com/software/gizmo/overview.php?nID=4
Pismo:
http://www.pismotechnic.com/pfm/

Rhymes in "smo" appear to be going strong.....happy22.gif


jaclaz

P.S.:
Well now it's clear (from the linked page)
QUOTE
The Volume Shadow Copy Service (VSS) is a new service in Windows XP and Windows Server 2003. It is essentially a framework facilitating communication between applications, storage subsystems, and storage management applications (including backup applications) in order to define, persist and exploit point-in-time copies of storage data.



Is there a reason WHY the good MS guys cannot speak English? unsure.gif

With my (limited) knowledge of English as an alien, translation is:
QUOTE
The Volume Shadow Copy Service (VSS) is a new service in Windows XP and Windows Server 2003.
It is essentially bla-bla, storage bla-bla, more storage bla-bla (including backup applications) in order to bla-bla, bla-bla, bla-bla copies of bla-bla.


--------------------
+Quote Post
post Dec 20 2008, 08:15 PM
Post #3
bilou_gateux
Frequent Member   ***
Group: Advanced user

  Joined: 1-August 06
Posts: 124
Thank(s): 7


France


similar to:
Ken Kato VDK
Olof Lagerkvist ImDisk
and same as
'XP Embedded SDI virtual disk drive'
with more drive type supported: cd-rom cd-r cd-rw removabledisk fixeddisk

http://www.boot-land.net/forums/index.php?...amp;#entry32954
QUOTE (jaclaz @ Apr 9 2008, 06:32 AM) *
@strawtarget

FYI, VDK.EXE already creates a "PhysicalDrive" type of connection, though still not "good enough" to also work with device manager/disk manager.
virtual disk listed in Device Manager under Disk Drives and can be manipulated with 'Disk Management' snap-in (well not exactly, rather it communicates with the Logical Disk Manager service) & DiskPart.

Virtual drives can be created and deleted via the ‘vstorcontrol’ command:
CODE
Commands:
     install   - Installs the Virtual Storage Driver
     uninstall - Uninstalls Virtual Storage
     create    - Creates a drive
     remove    - Removes a drive
     insert    - Inserts a disk into the drive
     eject     - Ejects a disk from the drive
     resize    - Resizes a disk in the drive
     query     - Displays information about the drive
     list      - Lists all drives created on virtual storage
     help      - Displays detailed help for commands
vstorcontrol help <command> displays detailed help


Bin folder content:
QUOTE
Precompiled x86 versions of provider and kernel virtual storage driver as well as installation scripts


[edit]
removed broken RS download link
This file has been deleted.
Reason: No download for a longer period. Inactivity-timeout exceeded.
[/edit]

This post has been edited by bilou_gateux: May 20 2009, 09:26 AM


--------------------
>>> Good things do come in small packages. <<<
+Quote Post
post Dec 20 2008, 09:48 PM
Post #4
bilou_gateux
Frequent Member   ***
Group: Advanced user

  Joined: 1-August 06
Posts: 124
Thank(s): 7


France


DOSDEV.EXE - Utility to capture Drive Letter to Device mappings (version 5.1.3604.0)

download here select MPSRPT_CLUSTER.EXE extract from exe with parameters: /C /T:<some_path_here> /Q

With this tool, you can list, assign or delete letter to partition created on Virtual disks (and Physical disks)

Some examples:
CODE
vstorcontrol create fixeddisk -size 256M -memory


You can also create a script for Diskpart with the commands needed:
CODE
diskpart> list disk
  Disk 3  Online  251 MB
diskpart> select disk 3
  Disk 3 is now the selected disk.
diskpart> list partition
  There are no partitions on this disk to show.
diskpart> create partition primary
  DiskPart succeeded in creating the specified partition.
diskpart> list partition
  * Partition 1  Primary  251 MB
diskpart> list volume
  * Volume 6  Partition  251 MB  Healthy
diskpart> exit


Harddisk number and HarddiskVolume may be different on your box, depending of the number of disks you have and Partitions on these disks.
CODE
dosdev -a|find "PhysicalDrive"
dosdev -a -r Z: \Device\Harddisk3\Partition1
rem or
dosdev -a|find "Volume{"
dosdev -a -r Z: \Device\HarddiskVolume6
rem format the new partition
echo VDISK|FORMAT /FS:NTFS /Q /V:VDISK /A:512 Z: /Y


CODE
dosdev -d -r Z:
vstorcontrol remove \\.\PhysicalDrive3


--------------------
>>> Good things do come in small packages. <<<
+Quote Post
post Dec 20 2008, 10:16 PM
Post #5
JonF
Gold Member   *****
Group: .script developer

  Joined: 7-January 07 From: Boston, MA

Posts: 1,120
Thank(s): 202


United States


QUOTE (jaclaz @ Dec 20 2008, 02:22 PM) *
QUOTE
The Volume Shadow Copy Service (VSS) is a new service in Windows XP and Windows Server 2003. It is essentially a framework facilitating communication between applications, storage subsystems, and storage management applications (including backup applications) in order to define, persist and exploit point-in-time copies of storage data.


I've bolded the part that's importtant to me. VSS allows you to "fork" a disk, allowing one "fork" to change and preventing the other "fork" from changing. It, or its equivalent, is how all backup programs and imaging programs work in modern multitasking operating systems. How do you make an image which requires finite time to create when the contents of the disk are constantly changing on time scales far smaller than the image creation? A shadow copy.

Nobody's gotten VSS running in VistaPE, so DriveImage XML can't back up NTFS partitions in VistaPE. Kind of limiting. Ghost implements its own equivalent and works in VistaPE.
+Quote Post
post Jan 20 2009, 01:09 PM
Post #6
joakim
Frequent Member   ***
Group: Members

  Joined: 18-April 08 From: Bergen

Posts: 412
Thank(s): 86


Norway


QUOTE (JonF @ Dec 20 2008, 10:16 PM) *
Nobody's gotten VSS running in VistaPE, so DriveImage XML can't back up NTFS partitions in VistaPE. Kind of limiting. Ghost implements its own equivalent and works in VistaPE.

At least we have gotten vss running under 2k3 in a preinstallation environment. See my thread at http://www.911cd.net/forums//index.php?showtopic=22533 about StorageCraft ShadowProtect Server edition that is dependant on vss. It could be possible here by adapting the procedure to fit vista. Remember vista has a more matured version of vss than xp and 2k3 had. Check it out.

Joakim
+Quote Post
post Jan 20 2009, 08:17 PM
Post #7
JonF
Gold Member   *****
Group: .script developer

  Joined: 7-January 07 From: Boston, MA

Posts: 1,120
Thank(s): 202


United States


QUOTE (joakim @ Jan 20 2009, 08:09 AM) *
At least we have gotten vss running under 2k3 in a preinstallation environment. See my thread at http://www.911cd.net/forums//index.php?showtopic=22533 about StorageCraft ShadowProtect Server edition that is dependant on vss. It could be possible here by adapting the procedure to fit vista. Remember vista has a more matured version of vss than xp and 2k3 had. Check it out.


Thanks. I'll check it out ... may take some time. Lots of more important stuff on my plate now.
+Quote Post
post Sep 13 2009, 04:48 PM
Post #8
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


Nothing much useful unsure.gif, just the usual bunch of simple batches. wink.gif

  1. vsmount.cmd <-mount an image file, installing the virtualstorage.sys if needed
  2. vsUmount.cmd <-UNmount an image file, UNinstalling the virtualstorage.sys if there are NO other images mounted
  3. mkhelptxt.cmd <-creates a vstorhelp.txt file with all the options of vstorcontrol help


they should be placed in the same directory where:
  • vstorcontrol.exe
  • virtualstorage.inf
  • virtualstorage.sys


are.

cheers.gif

jaclaz
Attached File(s)
Attached File  VSSbatches.zip ( 2.25K ) Number of downloads: 109
 


--------------------
2 user(s) said "Thank you!" to jaclaz for this fantastic post:
bilou_gateux, ireneuszp
+Quote Post
post Sep 15 2009, 07:49 AM
Post #9
bilou_gateux
Frequent Member   ***
Group: Advanced user

  Joined: 1-August 06
Posts: 124
Thank(s): 7


France


QUOTE (jaclaz @ Sep 13 2009, 05:48 PM) *
Nothing much useful unsure.gif, just the usual bunch of simple batches. wink.gif



If Sherpya read this post, maybe could he write for us a nice shell extension like he has done in the past with filedisk character32.gif

this driver is one of my favorite and i like command line tools but sometimes a right click is very handy.


--------------------
>>> Good things do come in small packages. <<<
+Quote Post
post Sep 15 2009, 08:25 AM
Post #10
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


QUOTE (bilou_gateux @ Sep 15 2009, 09:49 AM) *
this driver is one of my favorite and i like command line tools but sometimes a right click is very handy.


Yep, everyone has his ways, I find right click very nice, but often I have systems with already too many options with right-clicking. scared9.gif

I prefer a "multiple desktop", with a desktop with shortcuts to utilities for each "chore" I'm going to perform.

JFYI, though I have NOT tested this feature, the mount and umount should work allright with drag'n drop the image file over the batch (or a link to it), if you just add:
CODE
CD /D %~dp0

before the:
QUOTE
IF %1.==. GOTO :Usage

in both batches.

(modified files attached)

cheers.gif

jaclaz
Attached File(s)
Attached File  VSSbatches_2.zip ( 2.26K ) Number of downloads: 107
 


--------------------
1 user(s) said "Thank you!" to jaclaz for this fantastic post:
ireneuszp
+Quote Post

2 Pages V   1 2 >
Reply to this topic
1 User(s) are reading this topic ()


  

Collapse

  Topic Replies Topic Starter Views Last Action
No new VirtualBox
3.0.6 Warning
16 psc 3,057 29th December 2009 - 03:22 PM
Last post by: dtdionne
No New Posts DriverForge with DPs packages - DrvF_DPS
DriverForge with DPs packages for LiveXP
9 Lancelot 2,650 15th December 2009 - 10:05 PM
Last post by: maanu
No New Posts Driver not loading
3 Eagle710 823 8th December 2009 - 10:46 PM
Last post by: Eagle710
No New Posts Driver integration: How to integrate all drivers at build-time
1 booty#1 1,264 7th November 2009 - 08:05 PM
Last post by: Lancelot
No New Posts VirtualBox for Win7RescuePE
0 psc 592 28th October 2009 - 02:06 PM
Last post by: psc