Menu

ImDisk RamDisk Configuration Error:the volume cannot be formatted.

Juan Pablo
2020-08-27
2021-12-12
  • Juan Pablo

    Juan Pablo - 2020-08-27

    Hi,

    I don't get this:
    Installed the latest version (2020-07-27) under Windows 10 version 2004.
    I worked without any problem. (Created a 32GB RAMdisk R:\ for TEMP folders and such.)

    Today when i booted up, got al kinds on errors that had to do with TEMP folders missing.
    And indeed no more R-drive. (Launch at Windows startup option selected)

    Now i cannot get it working anymore when using the "ImDISK RamDisk Configuration" tool.
    i get: "Error:the volume cannot be formatted." as shown in image1.

    Strange thing is that i cán create a ramdrive with "ImDisk Virtual Disk Driver" tool which i then can format from the explorer.
    Seems that "ImDisk RamDisk Configuration" cannot complete the format somehow.

    I have re-installed etc. ,but cannot get it working again.
    What could this be?
    I haven't found anything similair in this duscussion so far.

     

    Last edit: Juan Pablo 2020-08-27
  • v77

    v77 - 2020-08-28

    Unusual indeed...
    The GUI relies on the format.com executable that is assumed to be in the System32 directory of Windows.
    Is this executable still present? Can you use it from a command prompt?

     
  • Juan Pablo

    Juan Pablo - 2020-08-28

    Yes it's present

    C:\WINDOWS\system32>format.com
    Required parameter missing -

    C:\WINDOWS\system32>format.com /?
    Formats a disk for use with Windows.

    FORMAT volume [/FS:file-system] [/V:label] [/Q] [/L[:state]] [/A:size] [/C] [/I:state] [/X] [/P:passes] [/S:state]
    FORMAT volume [/V:label] [/Q] [/F:size] [/P:passes]
    FORMAT volume [/V:label] [/Q] [/T:tracks /N:sectors] [/P:passes]
    FORMAT volume [/V:label] [/Q] [/P:passes]
    FORMAT volume [/Q]

    When i initially want to create ramdrive via GUI

    The R-drive apears with no capacity and de GUI is stuck as seen in image2

    regards,
    JP

     

    Last edit: Juan Pablo 2020-08-28
  • v77

    v77 - 2020-08-28

    Can you try this command from an elevated command prompt and copy here the output?

    imdisk -a -m Z: -s 100M -p "/fs:NTFS /q /y"

     
  • Juan Pablo

    Juan Pablo - 2020-08-28

    Yes, see result:

    C:\WINDOWS\system32>imdisk -a -m Z: -s 100M -p "/fs:NTFS /q /y"
    Creating device...
    Created device 1: Z: -> Image in memory
    Formatting disk Z:...
    The type of the file system is RAW.
    The new file system is NTFS.
    QuickFormatting 100,0 MB
    Creating file system structures.
    Format complete.
    100,0 MB total disk space.
    97,8 MB are available.
    Notifying applications...
    Done.

    I have a working Z-drive then.

     
  • v77

    v77 - 2020-08-28

    OK thanks. For now I cannot explain what's wrong.
    As a workaround, you can try to create a scheduled task with a command such as
    imdisk -a -m R: -s 32G -p "/fs:NTFS /q /y"
    (first, use the Unmount button from the GUI to unregister the current ramdisk)

     
    👍
    1
  • Juan Pablo

    Juan Pablo - 2020-08-28

    Workaround works fine via a scheduled task. (system startup)
    You think the issue wil be looked at in the future ?
    Am i the first with this issue ?

    Thanks for your help so far, much appreciated.

    Ragards,
    JP

     
  • v77

    v77 - 2020-08-28

    This is the first report I see for this error.
    It's not consistent. If RamDiskUI.exe fails to call format.com, then it should be the same for imdisk.exe because they have the same privileges.

    Are you using an antivirus? Which one? Have you tried to disable it?

     
  • Juan Pablo

    Juan Pablo - 2020-08-28

    I use Symantec Endpoint Protection.
    I disabled it, but no effect.
    ImDisk GUI has worked with this antivirus enabled the day i installed it.

     
  • Pat M

    Pat M - 2020-09-17

    I had this problem as well. Windows Security had flagged as a threat. Set to "Allow" fixed it for me.

     
    👍
    1
  • piotr

    piotr - 2021-01-13

    "I had this problem as well. Windows Security had flagged as a threat. Set to "Allow" fixed it for me."
    I bump the old thread what does this sentence mean? where to change it? If I have windows defender disabled, I don't use any antivirus and still can't format the drive?
    I have been using imdisk for over a dozen years, but on win10 the last build is not working as it should, please help.

     
  • James Chen

    James Chen - 2021-12-12

    I had the same problem on Win 10 20H2. It was resoled by Switching the Controlled folder access setting to Off, set up the RAMDisk, and then Switch the Controlled folder access setting to On. Here is detail:
    Controlled folder access in Windows Security reviews the apps that can make changes to files in protected folders and blocks unauthorized or unsafe apps from accessing or changing files in those folders.
    1. Select Start > Settings > Update & Security > Windows Security > Virus & threat protection.
    2. Under Virus & threat protection settings, select Manage settings.
    3. Under Controlled folder access, select Manage Controlled folder access.
    4. Switch the Controlled folder access setting to On or Off.
    Here is the link: https://support.microsoft.com/en-us/windows/allow-an-app-to-access-controlled-folders-b5b6627a-b008-2ca2-7931-7e51e912b034

     
  • piotr

    piotr - 2021-12-12

    Thank you James :) I had to change the ramdisk because I did not find a solution to this problem, I will check it in a moment, all best.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.