Menu

#116 Win 10 "You need to format the disk in drive....."

1.0
open
nobody
None
2020-02-25
2017-01-11
No

Win 10 when insterting raw volume, get "You need to format the disk in drive X: before you can usee it", see attachment. This is problematic because "Format Disk" may accidently be clicked. According to "http://superuser.com/questions/49382/how-do-i-disable-you-need-to-format-this-disk-message-in-windows-vista-7" this maybe fixed by changeing the partion type from FAT 0x06 to something else. How about an option when creating the raw volume???

1 Attachments

Related

Tickets: #116

Discussion

  • Kevin Boardley

    Kevin Boardley - 2017-01-18

    Hi This is a Windows message. This is how windows has always identified drives encrypted with TC. VC is probably no different. I think that's probably just how it is. I'm no expert but probably a bit of a conundrum to start getting VC to interfere with how Windows identifies the drive.

    If you are attaching an external drive you are aware of what has produced the message so you can just cancel the Windows message and mount the drive manually. If Windows could recognise the disk as accessiible then it wouldn't be encrypted. If the disk was lost, what would you want to happen? That the person in possession of your machine could simply access the encrypted partition/device or be informed that the drive was encrypted with VC? They would just be invited to format it. Exactly what I would want to happen.

    If the message is produced from trying to access an internal drive it is possible to add the drive/partition as a system favourite/favourite volume and select to have VC to mount it automatically at boot. Then you won't see the Windows message.

     
  • silicon83

    silicon83 - 2017-03-20
    Post awaiting moderation.
  • john gregg

    john gregg - 2018-05-14

    Open disk manager, right click on offending drive, select change drive letter, click remove.

     
  • lightproof

    lightproof - 2020-02-25

    Theis post covers the two solutions there are: https://superuser.com/a/49385/623845

    Basically, you either remove the drive letter in disk management, which removes the prompt for known disks, or use a simple AutoHotKey script to automatically close the format prompt for you. Or both.

    The AHK script for english version of Windows will look like this:

    Loop {
      WinWait, Microsoft Windows ahk_class #32770, Format disk
      WinClose
    }
    

    What it does, it looks for a window titled "Microsoft Windows" with a class 32770 that has a "Format disk" button in it, and then simply closes it. If your OS is in different language, then you'll have to replace "Format disk" with the button text in your language.

    This works on Vista, 7 and 8, and it should work fine on Windows 10, unless Microsoft changed the window class/title. But even if it did, you can use AHK's own window spy to determine the new window parameters.

    EDIT: sorry, I didn't realise you linked to the same post and are asking for the implementation of other solution (changing partition type id) into VeraCrypt. If so, you can disregard my comment altogether.

     

    Last edit: lightproof 2020-02-25
    • john gregg

      john gregg - 2020-02-27

      I used to remove the drive letter and it worked fine, but now windows won't
      open disks without a drive letter.

      On Tue, 25 Feb 2020 at 22:35, lightproof lightproof@users.sourceforge.net
      wrote:

      This post covers the only two solutions there are:
      https://superuser.com/a/49385/623845

      Basically, you either remove the drive letter in disk management, which
      removes the prompt for known disks, or use a simple AutoHotKey script to
      automatically close the format prompt for you. Or both.

      The AHK script for english version of Windows will look like this:

      Loop {
      WinWait, Microsoft Windows ahk_class #32770, Format disk
      WinClose
      }

      What it does, it looks for a window titled "Microsoft Windows" with a
      class 32770 that has a "Format disk" button in it, and then simply closes
      it. If your OS is in different language, then you'll have to replace
      "Format disk" with the button text in your language.

      This works on Vista, 7 and 8, and it should work fine on Windows 10,
      unless Microsoft changed the window class/title. But even if it did, you
      can use AHK's own window spy to determine the new window parameters.


      Status: open
      Milestone: 1.0
      Created: Wed Jan 11, 2017 02:19 AM UTC by Stephen Masser
      Last Updated: Mon May 14, 2018 03:38 AM UTC
      Owner: nobody
      Attachments:

      Win 10 when insterting raw volume, get "You need to format the disk in
      drive X: before you can usee it", see attachment. This is problematic
      because "Format Disk" may accidently be clicked. According to "
      http://superuser.com/questions/49382/how-do-i-disable-you-need-to-format-this-disk-message-in-windows-vista-7"
      this maybe fixed by changeing the partion type from FAT 0x06 to something
      else. How about an option when creating the raw volume???


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/veracrypt/tickets/116/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #116


Log in to post a comment.