Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Problem with Diskpart since SP2

Reply
Thread Tools Display Modes

Problem with Diskpart since SP2

 
 
Kay Davis
Guest
Posts: n/a

 
      03-28-2007
We have a script which has diskpart send a volume listing to a text file for
subsiquent processing. The Server was a Windows Server 2003 R2. Since we
installed SP2 if I run the batch 5 times the Volume numbers change seemingly
randomly. Any suggestions has this has me scratching my head.....
Kay


Here is more detail...
the test batch that I used to confirm that I wan't nuts ...

echo on
diskpart /s c:\test\diskpart1.txt >c:\test\volume.txt
diskpart /s c:\test\diskpart1.txt >c:\test\volume2.txt
diskpart /s c:\test\diskpart1.txt >c:\test\volume3.txt
diskpart /s c:\test\diskpart1.txt >c:\test\volume4.txt
diskpart /s c:\test\diskpart1.txt >c:\test\volume5.txt
diskpart /s c:\test\diskpart1.txt >c:\test\volume6.txt
Pause
-----------------------------------------------------------------
contents of diskpart1.txt

list volume
exit
-----------------------------------------------------------------------
Output to Volume.txt
Microsoft DiskPart version 5.2.3790.3959
Copyright (C) 1999-2001 Microsoft Corporation.
On computer: TESTSVR

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 D NTFS Removeable 75 GB Healthy
Volume 1 G CD-ROM 0 B Healthy
Volume 2 C NTFS Partition 88 GB Healthy
System
Volume 3 B Data NTFS Partition 50 GB Healthy
Volume 4 F SWAP FAT32 Partition 10 GB Healthy

Leaving DiskPart...
----------------------------------------------------------------------
Output of Volume2.txt
Microsoft DiskPart version 5.2.3790.3959
Copyright (C) 1999-2001 Microsoft Corporation.
On computer: TESTSVR

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 D NTFS Removeable 75 GB Healthy
Volume 1 C NTFS Partition 88 GB Healthy
System
Volume 2 B Data NTFS Partition 50 GB Healthy
Volume 3 F SWAP FAT32 Partition 10 GB Healthy
Volume 4 G CD-ROM 0 B Healthy

Leaving DiskPart...
-------------------------------------------------------------------------------
Output of Volume3.txt (edited to show only the volume info this time)
Volume 0 C NTFS Partition 88 GB Healthy
System
Volume 1 B Data NTFS Partition 50 GB Healthy
Volume 2 F SWAP FAT32 Partition 10 GB Healthy
Volume 3 D NTFS Removeable 75 GB Healthy
Volume 4 G CD-ROM 0 B Healthy
-------------------------------------------------------------------------------
Output of Volume4.txt (edited to show only the volume info this time)
Volume 0 G CD-ROM 0 B Healthy
Volume 1 C NTFS Partition 88 GB Healthy
System
Volume 2 B Data NTFS Partition 50 GB Healthy
Volume 3 F SWAP FAT32 Partition 10 GB Healthy
Volume 4 D NTFS Removeable 75 GB Healthy
-------------------------------------------------------------------------------
Output of Volume5.txt (edited to show only the volume info this time)
Volume 0 G CD-ROM 0 B Healthy
Volume 1 D NTFS Removeable 75 GB Healthy
Volume 2 C NTFS Partition 88 GB Healthy
System
Volume 3 B Data NTFS Partition 50 GB Healthy
Volume 4 F SWAP FAT32 Partition 10 GB Healthy
-------------------------------------------------------------------------------
Output of Volume6.txt (edited to show only the volume info this time)
Volume 0 C NTFS Partition 88 GB Healthy
System
Volume 1 B Data NTFS Partition 50 GB Healthy
Volume 2 F SWAP FAT32 Partition 10 GB Healthy
Volume 3 D NTFS Removeable 75 GB Healthy
Volume 4 G CD-ROM 0 B Healthy







 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows problem? IIS Problem? MS SQL Problem? titanlee Windows Server 0 11-25-2005 06:08 AM
URGENT PLEASE RRAS PROBLEM JMS Windows Server 2 06-25-2005 09:37 AM
strange problem with share and up to 8 character name subdir. Marco Tonoli Windows Server 3 06-19-2005 07:21 AM
Re: Problem with Task Manager Guus Ellenkamp Windows Server 1 05-10-2005 09:04 AM
Problem seeing all Windows 2003 Servers Steve D Windows Server 0 08-12-2004 03:16 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59