Hi, Sameh.
You should be aware that DiskPart.exe opens its own shell in the Command
Prompt window. This is NOT just Command Prompt! DiskPart is a very
powerful utility, which means that it can do a lot of good when used
properly, but it also is powerful enough to do a LOT of damage if you are
not very careful.
Unless you understand hard disks and know what you are trying to do, use
Disk Management, not DiskPart. DM can do most of what DP can do - with more
protection for the user.
RC
--
R. C. White, CPA
San Marcos, TX
Microsoft Windows MVP
(Running Windows Mail in Vista Ultimate x64)
"Sameh" <> wrote in message
news:C3C3F423-E0CA-450E-B3A3-...
> Hi Rick,
>
> I didn't try that, but how can I do it, could you please give me the steps
>
> "Rick Rogers" wrote:
>
>> Hi Sameh,
>>
>> Was that disk part of a dynamic disk previously?
>> Have you tried running diskmgmt.msc and using the 'import foriegn disk'
>> function?
>> Why are you trying to do this from the command prompt?
>>
>> --
>> Best of Luck,
>>
>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>>
>> "Sameh" <> wrote in message
>> news:69B100B3-D074-47B8-9654-...
>> > Since I installed windows vista home premium I can not put my secondary
>> > hard
>> > disk online, when I go to disk part on the command prompet it shows the
>> > following:
>> > Disk1 invalid 149 GB dyn
>> > when I try to put it online it gives me the following message:
>> > "DiskPart encountered an error while onlining the objects in the pack
>> > associated with the selected disk"
>> >
>> > So can anybody help how to retrive my hard disk as it consist of data I
>> > don't want to loose