Error when deleting a disk

Started by Alex

Alex

Error when deleting a disk   19 November 2021, 13:16

I am receiving a BSOD 0x1e while attempting to remove a disk by ding this:
"C:\Program Files\SoftPerfect RAM Disk\ramdisk.exe" /add:"type=boot, fs=NTFS, size=1000M, mount=yes, save=yes, letter=R"
"C:\Program Files\SoftPerfect RAM Disk\ramdiskc.exe" /del:R /force
SoftPerfect Support forum - Ann avatar image
Ann

Re: Error when deleting a disk   19 November 2021, 13:23

You seem to be adding the RAM disk with ramdisk.exe (GUI version) but deleting it with ramdiskc.exe (console version), and that's not a correct way to do it.

If you simply need to create a disk, use it, and then delete it, please use ramdiskc.exe for every step. It's a console interface without user prompts designed to be used in scripts and automation for on-demand disks.

Whereas ramdisk.exe command line parameters exist mainly for the initial configuration; for example if you wanted to add a disk after installing the RAM Disk application. Using these command line switches for creating and deleting RAM disks on demand is not recommend because:
  • This creates and modifies configuration the GUI uses.
  • There is a possibility of dialog prompts and user interaction may be needed.
  • The GUI itself uses system resources without need.
  • There may be problems with more than one instance overwriting each other's configuration.

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 ********  **    **   *******   **      **  **     ** 
 **         **  **   **     **  **  **  **  **     ** 
 **          ****    **     **  **  **  **  **     ** 
 ******       **      ********  **  **  **  **     ** 
 **           **            **  **  **  **  **     ** 
 **           **     **     **  **  **  **  **     ** 
 **           **      *******    ***  ***    *******  

Message: