Diskpart Error with VistaPE
#1
Posted 03 September 2008 - 02:45 PM
I am having a problem using diskpart in VistaPE. I have checked device manager, and the hard disk and chipset drivers are installed OK. What I am trying to do is delete the partition of the hard disk and recreate it using the following commands in diskpart
select disk 0
clean
create partition primary
at this point diskpart hangs for about 5 minutes and then I get the following error:-
Virtual Disk Service Error:
The operation timed out
Dispart has referenced an object which is not up-to-date.
I then tried using the suggested rescan command, but still no joy. The version of Diskpart.exe I am using is 6.0.6001 and I am using a physical PC, not a VM. Any ideas?
#2
Posted 03 September 2008 - 02:53 PM
#3
Posted 03 September 2008 - 02:58 PM
#4
Posted 03 September 2008 - 03:05 PM
#5
Posted 03 September 2008 - 03:13 PM
"Creating Primary Partition of maximum remaining size on disk 0, Please wait....."
Then it just hangs in the same as as using the command line diskpart.
The data on the disk is readable on C: before I delete the partition.
#6
Posted 03 September 2008 - 03:38 PM
#7
Posted 04 September 2008 - 01:00 AM
Source : http://www.speedyvis...irtual_Disk.phpVirtual Disk
Windows Vista Service Details
Description:
Management services for disks. You can leave it on manual to run only when you need it.
Service Description:
Provides management services for disks, volumes, filesystems, and hardware array objects such as subsystems, controllers, and so on.
Consequences of Stopping:
.
All services listed in 'Required For' will be unable to function
Depends on:
DCOM Server Process Launcher, Plug and Play, Remote Procedure Call (RPC)
Required for:
None
And the additions of one script is :
RegHiveLoad,WB-System,%RegSystem%RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\vds","DisplayName","@%SystemRoot%\system32\vds.exe,-100"RegWrite,HKLM,0x2,"WB-System\ControlSet001\Services\vds","ImagePath","%SystemRoot%\System32\vds.exe"RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\vds","Description","@%SystemRoot%\system32\vds.exe,-112"RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\vds","ObjectName","LocalSystem"RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\vds","ErrorControl","1"RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\vds","Start","3"RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\vds","Type","16"RegWrite,HKLM,0x7,"WB-System\ControlSet001\Services\vds","DependOnService","RpcSs","PlugPlay"RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\vds","ServiceSidType","1"RegWrite,HKLM,0x3,"WB-System\ControlSet001\Services\vds","FailureActions","78","00","00","00","00","00","00","00","00",\"00","00","00","03","00","00","00","14","00","00","00","01","00",\"00","00","60","ea","00","00","01","00","00","00","c0","d4","01","00",\"00","00","00","00","00","00","00","00"RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\vds\Alignment",,"Alignment Settings in Bytes"RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\vds\Alignment","Between4_8GB","1048576"RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\vds\Alignment","Between8_32GB","1048576"RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\vds\Alignment","GreaterThan32GB","1048576"RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\vds\Alignment","LessThan4GB","65536"RegWrite,HKLM,0x3,"WB-System\ControlSet001\Services\vds\Security","Security","01","00","14","80","90","00","00","00",\"9c","00","00","00","14","00","00","00","30","00","00","00","02",\"00","1c","00","01","00","00","00","02","80","14","00","ff","01","0f",\"00","01","01","00","00","00","00","00","01","00","00","00","00",\"02","00","60","00","04","00","00","00","00","00","14","00","fd","01",\"02","00","01","01","00","00","00","00","00","05","12","00","00","00",\"00","00","18","00","ff","01","0f","00","01","02","00","00","00","00","00",\"05","20","00","00","00","20","02","00","00","00","00","14","00","8d","01",\"02","00","01","01","00","00","00","00","00","05","0b","00","00","00","00",\"00","18","00","70","00","00","00","01","02","00","00","00","00","00",\"05","20","00","00","00","27","02","00","00","01","01","00","00","00",\"00","00","05","12","00","00","00","01","01","00","00","00","00","00",\"05","12","00","00","00"RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\vds\SoftwareProviders\{A86AE501-EF73-4C8D-827E-98BA5046B05F}",,"Microsoft Virtual Disk Service Dynamic Provider"RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\vds\SoftwareProviders\{A86AE501-EF73-4C8D-827E-98BA5046B05F}","Clsid","{02A3586C-D264-40BF-97F7-FE40F7E3A882}"RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\vds\SoftwareProviders\{A86AE501-EF73-4C8D-827E-98BA5046B05F}","Version","2.0.0.1"RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\vds\SoftwareProviders\{A86AE501-EF73-4C8D-827E-98BA5046B05F}","VersionId","{61CBC199-5CCA-4214-BBA8-BFBFCE740CFD}"RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\vds\SoftwareProviders\{CA7DE14F-5BC8-48fd-93DE-A19527B0459E}",,"Microsoft Virtual Disk Service Basic Provider"RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\vds\SoftwareProviders\{CA7DE14F-5BC8-48fd-93DE-A19527B0459E}","Clsid","{DE010DA1-289B-4232-8CD0-5112DCA6A7B3}"RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\vds\SoftwareProviders\{CA7DE14F-5BC8-48fd-93DE-A19527B0459E}","Version","2.0.0.1"RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\vds\SoftwareProviders\{CA7DE14F-5BC8-48fd-93DE-A19527B0459E}","VersionId","{f5a11d0a-cd5d-43f9-b6a1-9e4ff8cfee7a}"RegHiveUnLoad,WB-System
#8
Posted 04 September 2008 - 05:57 AM
@ludovici: please change you post it is is far too wide...
#9
Posted 04 September 2008 - 11:06 AM
@ludovici: please change you post it is is far too wide...
I fixed it.
@ludovici
When pasting loooooooong lines in [ code ] [ /code ] tags, the thread is displayed according to the length of the longest line.
In this cases please use the [ codebox ] [ /codebox ] tags that provide horizontal and vertical scrolling bars.
jaclaz
#10
Posted 04 September 2008 - 02:19 PM
Thanks Jaclaz, where is the [ codebox ] [ /codebox ] tags that provide horizontal and vertical scrolling bars? (Wrap in code tags, insert list or other...)
lills1, Have you resolved your problem ?
#11
Posted 04 September 2008 - 05:01 PM
There is no button for codebox tags. You must actually type them!!1!1!!eleventy-one!Thanks Jaclaz, where is the [ codebox ] [ /codebox ] tags that provide horizontal and vertical scrolling bars? (Wrap in code tags, insert list or other...)
#12
Posted 22 September 2008 - 02:28 PM
sorry I understand
Thanks Jaclaz, where is the [ codebox ] [ /codebox ] tags that provide horizontal and vertical scrolling bars? (Wrap in code tags, insert list or other...)
lills1, Have you resolved your problem ?
ludovici
Sorry for the late reply, I have just got back from holiday. If I go into Computer Management\Services, no services are listed :-(
#13
Posted 22 September 2008 - 04:00 PM
Ctmag is right, normally this service should e running.
But if you have not this service listed, you can copy/paste my additions of one script in a script (exemple: CPL...) and the Virtual disk service will be listed...
Good Luck
#14
Posted 23 September 2008 - 10:12 AM
Hello Men
Ctmag is right, normally this service should e running.
But if you have not this service listed, you can copy/paste my additions of one script in a script (exemple: CPL...) and the Virtual disk service will be listed...
Good Luck
Thanks for your help everyone. I started a new VistaPE project from scratch and it appears to have fixed the problem, diskpart works fine now. I must have done something in the config somewhere that screwed it up
#15
Posted 26 September 2008 - 10:18 AM
When VistaPE didn't include devcon.exe, this would cause a slow pnp detection, and everything worked fine. As soon as I added devocn.exe to VistaPE, it caused a fast pnp detection and caused the diskpart problems to occur. After a bit of investigation I found that the fast pnp detection didn't run volume.inf and this was the source of the problem.
What I did to fix the issue was to use Mustang's "AddDrivers.script" and added volume.inf to the ISO using peimg.
Hope this helps anyone else who has had this problem.
If anyone knows why fast pnp detection omits volume.inf, let me know.
#16
Posted 26 September 2008 - 10:45 AM
#17
Posted 15 December 2008 - 05:25 PM
What I did to fix the issue was to use Mustang's "AddDrivers.script" and added volume.inf to the ISO using peimg.
Hi lills1,
from where did you take volume.inf file?
#18
Posted 16 December 2008 - 08:34 AM
Hi lills1,
from where did you take volume.inf file?
I took a copy from C:\Windows\Inf from a Vista installation.
#19
Posted 17 December 2008 - 04:52 PM
I am using WinBuilder 075 Beta 5 j to build VistaPE 12 (building from a WinXPSP3 box) which builds successfully. I am booting to a Dell 755 using the Intel ICH9R mass storage controller set to AHCI in the BIOS. I copied the build to a USB stick, booted to it, and started testing Diskpart to kill the hard drive partition and recreate it. That's where the same issue comes into play. I get the same error about the Virtual Disk Service when I try and do "create partition primary". It *appears* as though the controller driver is loaded properly as in I can see the hard drives and access them. The VDS is running, and I can manipulate the partition on the USB stick without a problem. It's just the hard drive I can't create a partition on. I tried loading the "volume.inf" using the AddDrivers.script and nothing seems to change. It still times out with the VDS error. I tried using a nonSP1 and SP1 Vista source, tried using WAIK 1.1 as source and still nada. I am doing a bone stock winbuilder build only using recommended to make sure I'm not screwing it up with extra stuff. I then tried installing iaachi.inf and iastor.inf (individually and together) for the ICH9 controller using the AddDrivers.script and that just gave me BSOD's. I've done my best to scour the forum for help and I think I'm just missing something. I found another driver source on the forum here but my WinBuilder build failed with that. I know this is a long post, but I am going crazy. Any more suggestions would be apprecited greatly. Thanks.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users