PC Review


Reply
Thread Tools Rate Thread

How to do a diskmgmt.msc "initialize disk" in diskpart ?

 
 
kevinma
Guest
Posts: n/a
 
      11th May 2009
I have new hard drive, I use diskmgmt to to an "Initialize" and then I do a
partition to use the drive. I now have to do this a lot and want to script
it to do this.

I am using diskpart to do what diskmgmt GUI does but they don't map well.

I need to be able to do what diskmgmt GUI does when it does an "Initialize
disk". How do I do this ? Some googlin pointed to doing a rescan. Rescan
seems to run and look for drives but it does not do what the GUI does which
is to take the disk from unknown to being a "basic" drive so I can then
partition it and use it.


 
Reply With Quote
 
 
 
 
Andrew E.
Guest
Posts: n/a
 
      13th May 2009
For scripts,go to:http://www.microsoft.com/technet
At TechNet,locate the script center,try the library as a script might
already be
made for that.Also,try youre hd mfg web page,locate the MS-DOS hd utility,
download to a formatted MS-DOS floppy,boot pc to floppy,most of these
utilities
let you format & partition(s) the hd as you like.....

"kevinma" wrote:

> I have new hard drive, I use diskmgmt to to an "Initialize" and then I do a
> partition to use the drive. I now have to do this a lot and want to script
> it to do this.
>
> I am using diskpart to do what diskmgmt GUI does but they don't map well.
>
> I need to be able to do what diskmgmt GUI does when it does an "Initialize
> disk". How do I do this ? Some googlin pointed to doing a rescan. Rescan
> seems to run and look for drives but it does not do what the GUI does which
> is to take the disk from unknown to being a "basic" drive so I can then
> partition it and use it.
>
>

 
Reply With Quote
 
Manogaran
Guest
Posts: n/a
 
      29th May 2009
I think u do not have any option for initializing disk in diskpart.

U can try this

1.sel disk 1
2.clean
now disk 1 shows " Not initialized"
3.create par ext
4.del par

Now ur disk will show as "online"



"Andrew E." wrote:

> For scripts,go to:http://www.microsoft.com/technet
> At TechNet,locate the script center,try the library as a script might
> already be
> made for that.Also,try youre hd mfg web page,locate the MS-DOS hd utility,
> download to a formatted MS-DOS floppy,boot pc to floppy,most of these
> utilities
> let you format & partition(s) the hd as you like.....
>
> "kevinma" wrote:
>
> > I have new hard drive, I use diskmgmt to to an "Initialize" and then I do a
> > partition to use the drive. I now have to do this a lot and want to script
> > it to do this.
> >
> > I am using diskpart to do what diskmgmt GUI does but they don't map well.
> >
> > I need to be able to do what diskmgmt GUI does when it does an "Initialize
> > disk". How do I do this ? Some googlin pointed to doing a rescan. Rescan
> > seems to run and look for drives but it does not do what the GUI does which
> > is to take the disk from unknown to being a "basic" drive so I can then
> > partition it and use it.
> >
> >

 
Reply With Quote
 
New Member
Join Date: Sep 2010
Posts: 1
 
      15th Sep 2010
attributes disk clear readonly
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
convert.exe, diskpart.exe, and "access denied" errors sstoneb@gmail.com Windows XP Security 1 11th Jul 2006 10:27 AM
Differences of Acronis "OS Selector","Partition Expert" and "Disk Director" ?? Frank Callone Windows XP General 3 5th Mar 2006 03:59 PM
Differences of Acronis "OS Selector","Partition Expert" and "Disk Director" ?? Frank Callone Windows XP Help 0 5th Mar 2006 12:29 PM
"Disk defragmenter could not initialize" :( Jon B Microsoft Windows 2000 File System 1 9th Feb 2005 11:13 AM
"Disk defragmenter could not initialize" :( Jon B Microsoft Windows 2000 Applications 0 25th Jan 2005 03:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:06 AM.