none
Initialize disk says "incorrect function"

    Question

  • I have an external HDD disk that works fine with another computer. When I try to get it to install I get the "USB device installed
    correctly" tone but nothing shows up in the Computer panel.

    I then go to Computer Management and check on the disk. It is showing
    with a tiny red mark of some kind (very hard for my eyes to see) and the
    word "unknown" under Disk1. In addition, 'not initialized' is under the
    unknown notification.

    Right click on the disk and choose Initialize Disk. The pop up shows
    Disk 1 as checked and the radio button for MBR is pushed. Clicking "OK"
    produces the error "Incorrect Function" - which is what baffles me. How
    can it be an incorrect function if it is the only one selected? Is this
    a bug or an indication of some esoteric error that the disdk manager
    can't deal with?
    Tuesday, November 02, 2010 6:22 PM

Answers

  • Hi,

    I have a similar problem (Disk Management returning an "Incorrect function" error when trying to initialize a disk), so I tried your solution. In Diskpart, LIST DISK didn't show the disk (though its number was skipped), but it could be selected nonetheless with SELECT DISK <disk #>, and it was online. But DETAIL DISK didn't work, as though it couldn't access anything on the disk.


    Hi,

    Thanks for posting in forums. But you'd better create a new thread and post your question there so that the communities won't get messed up with this thread, and we can assist you more efficiently. Thanks for your understanding.

    BTW, the issue you described can be caused by bad or incompatible hard disk controller, please contact the hard disk manufacturer to get the latest controller and see how it works.

    Best Regards

    Dale


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    Tuesday, November 09, 2010 1:42 AM
    Moderator

All replies

  • Hi,

     

    What is the Operating System installed on the current machine? What is the Operating System installed on another machine? What is the format of the disk? Is it a SAN disk?

     

    In order to do a further research, please use diskpart to get the details of the disk.

     

    1)    Open a Command Prompt in elevated privilege.

    2)    Run diskpart

    3)    List and Select the disk (List disk followed by SELECT DISK <disk #>).

    4)    If the disk is offline, bring it online by running: online disk

    5)    View the attributes by running: detail disk

     

    Then copy and paste the details in your reply.

     

    Best Regards

    Dale


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    • Proposed as answer by jatin26 Monday, December 31, 2012 12:20 PM
    • Unproposed as answer by jatin26 Monday, December 31, 2012 12:20 PM
    Wednesday, November 03, 2010 5:34 AM
    Moderator
  • No response? Is there any update information? Is the issue resolved?

    Best Regards

    Dale


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    Monday, November 08, 2010 1:13 AM
    Moderator
  • Hi,

    I have a similar problem (Disk Management returning an "Incorrect function" error when trying to initialize a disk), so I tried your solution. In Diskpart, LIST DISK didn't show the disk (though its number was skipped), but it could be selected nonetheless with SELECT DISK <disk #>, and it was online. But DETAIL DISK didn't work, as though it couldn't access anything on the disk.

    Monday, November 08, 2010 5:32 PM
  • Hi,

    I have a similar problem (Disk Management returning an "Incorrect function" error when trying to initialize a disk), so I tried your solution. In Diskpart, LIST DISK didn't show the disk (though its number was skipped), but it could be selected nonetheless with SELECT DISK <disk #>, and it was online. But DETAIL DISK didn't work, as though it couldn't access anything on the disk.


    Hi,

    Thanks for posting in forums. But you'd better create a new thread and post your question there so that the communities won't get messed up with this thread, and we can assist you more efficiently. Thanks for your understanding.

    BTW, the issue you described can be caused by bad or incompatible hard disk controller, please contact the hard disk manufacturer to get the latest controller and see how it works.

    Best Regards

    Dale


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    Tuesday, November 09, 2010 1:42 AM
    Moderator
  • Can you enable the vds logs and send it across to me?

    To enable the VDS trace log:
    1.     Exit all VDS clients and stop the VDS service: net stop vds
    2.     Clear any previous log that might have been made previously: del %SYSTEMROOT%\system32\$vds$.log
    3.     Enable debug logging: reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vds\DebugLog /v Level /t REG_DWORD /d 255 /f
    4.     Start up VDS and reproduce the issue.
    5.     VDS should continue tracing to %SYSTEMROOT%\system32\$vds$.log

    Once you have enabled the vds logs do the following

    diskpart> lis dis

    diskpart> sel disk <problem-disk>

    diskpart> detail disk

    diskpart> convert MBR

    share vds logs with me and I will have a look,

    Regards

    Satish

    Friday, March 30, 2012 1:12 PM
  • I am using windows vista. In disk management, it shows "unknown"  and "not initialized". When i try initializing it, i get error as "The request could not be performed because of I/O device error"/

    This is what i am getting when i run that command. Need help asap.

    Thanks in advance.

    DISKPART> detail disk

    WD Elements 1042 USB Device
    Disk ID: 00000000
    Type   : USB
    Bus    : 0
    Target : 0
    LUN ID : 0
    Read-only  : No
    Boot Disk  : No
    Pagefile Disk  : No
    Hibernation File Disk  : No
    Crashdump Disk  : No

    There are no volumes.

    Sunday, May 06, 2012 3:34 PM
  • Hi Dale - 

    Any time I go to detail disk after selecting "disk 2" (The disk in question, shows 0b/0b size/free) Diskpart stops responding and opens a new instance.

    Shall I try Satish's response below?

    Thanks,

    JV

    Wednesday, November 14, 2012 11:41 PM
  • Hi Satish - this is all that shows up when I follow your guide

    (PID:6048,TID:5692,18:44:54.972) ENTER CVdsLoader::CVdsLoader()
    (PID:6048,TID:5692,18:44:54.973) LEAVE CVdsLoader::CVdsLoader()
    (PID:6048,TID:5692,18:44:54.975) ENTER CVdsLoader::LoadService()
    (PID:6048,TID:5692,18:44:54.976) ENTER IsLocalComputer()
    (PID:6048,TID:5692,18:44:54.977) LEAVE IsLocalComputer()
    (PID:6048,TID:5692,18:44:54.979) LEAVE CVdsLoader::LoadService()
    (PID:6048,TID:5692,18:44:54.980) ENTER CVdsLoader::~CVdsLoader()
    (PID:6048,TID:5692,18:44:54.981) LEAVE CVdsLoader::~CVdsLoader()
    (PID:5176,TID:5488,18:45:31.212) ENTER CVdsLoader::CVdsLoader()
    (PID:5176,TID:5488,18:45:31.214) LEAVE CVdsLoader::CVdsLoader()
    (PID:5176,TID:5488,18:45:31.216) ENTER CVdsLoader::LoadService()
    (PID:5176,TID:5488,18:45:31.217) ENTER IsLocalComputer()
    (PID:5176,TID:5488,18:45:31.218) LEAVE IsLocalComputer()
    (PID:5176,TID:5488,18:45:31.219) LEAVE CVdsLoader::LoadService()
    (PID:5176,TID:5488,18:45:31.221) ENTER CVdsLoader::~CVdsLoader()
    (PID:5176,TID:5488,18:45:31.222) LEAVE CVdsLoader::~CVdsLoader()

    Wednesday, November 14, 2012 11:46 PM
  • DISKPART> detail disk

    Virtual Disk Service error:
    The system's information about the object may not be up to date.


    DiskPart has referenced an object which is not up-to-date.
    Refresh the object by using the RESCAN command.
    If the problem persists exit DiskPart, then restart DiskPart or restart the
    computer.
    Monday, December 31, 2012 12:21 PM
  • Hi Jatin,

    This disk has some hardware issues. Therefore you are not seeing this disk. If you do a rescan on diskpart you can see that disk disappearing from the disk list.

    diskpart internally uses VDS service which does talk to drivers to figure details of the disk port/mini port drivers. These errors are most likely coming from miniport drivers and therefore vds cannot do much here.

    I can give you exact detail if you can provide me the vds logs

    Following are the steps,

    To enable the VDS trace log:
    1.     Exit all VDS clients and stop the VDS service: net stop vds
    2.     Clear any previous log that might have been made previously: del %SYSTEMROOT%\system32\$vds$.log
    3.     Enable debug logging: reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vds\DebugLog /v Level /t REG_DWORD /d 255 /f
    4.     Start up VDS and reproduce the issue.
    5.     VDS should continue tracing to %SYSTEMROOT%\system32\$vds$.log

    Share complete $vds.log and I can get you further detail,

    Regards

    Satish

    Monday, December 31, 2012 2:44 PM