Home
ImDisk is a wonderful piece of software. But I don't need two icons: one in the start menu and one in control panel. How do I remove the icon in control panel? It doesn't show up in the usual location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\Namespace Thanks.
Can the drive letter of an iso file mounted with the imdisk application be changed with the imdisk console commands? I need this for a project I searched a lot on the internet but couldn't find it. Example command: imdisk H: K: H: current driver letter K: new drive letter
Thanks for testing. I switched my main ramdisk to AIM (dynamic of course), and I have no issue. For now, I am working to restore all the language files. Even in english, I forgot a few points. The other language files will have the changed parts in english but will be usable. Once this done, I will remove the beta statut. It seems there is no problem with the main features so there is no reason to maintain it.
So far everything is working fine. After 4 days ~100 downloads, not bad ;)
Finally ! :)
First beta release. FOR TESTING ONLY! Please report bugs on Discussion or Tickets sections of https://sourceforge.net/projects/aim-toolkit/
About language files: Adding a tiny feature sometimes requires more time to spend on language files than to make the feature. This removes all the fun. I can no longer accept that. Therefore, I think I will keep the current system, but I will no longer contact each translator for changes or new features. For now, only english and french are available. In order to make a first release as soon as possible, I will keep the current installation package, but I will retry a self-extracting one later. If...
All the code is done (hence this update of ImDisk Toolkit, which could be the last one). I'm preparing some changes for the translations because this point takes me too much time to maintain. I would like to make something online, where anyone could improve the translations. But that would not be respectful of those who made the original translations. On the other hand, with time, some translators give up or become unreachable. So finally, I see no good solution.
It has always been C only. However, Olof uses C++ for the AIM driver and native tools, and C# for using DiscUtils (through a tool named aim_cli.exe). On my side, I dislike these languages :) and I prefer not explain why.
wow amazing :) Can you tell a layman what language you do all this in?
MountImg.exe: done. Finally, I managed to avoid the full rewrite and I kept a large part of the code. However, I had to remove the preview of the partitions. All that remains is the installer and the language files. It will likely be the biggest part.
ImDisk-Dlg and ImDiskTk-svc: done. Now, about MountImg: Olof has released a completely different command line tool in order to use the DiscUtils library with AIM. Besides, with AIM, we are not mounting volume but whole disks, and this new tool does not allow to mount only one partition. So in short, I have to rewrite MountImg almost from scratch. It should be much more simple to write though, and I also want this GUI for myself.
I think that the vast majority of users, if not almost all, care about dynamic ramdisk, Mounting and other add-ons can wait, it's not the most important thing ;) Good luck .
I now have a RamDyn that works with AIM. That was the easy part... For those who want to test: Download the AIM driver: https://github.com/ArsenalRecon/Arsenal-Image-Mounter/raw/refs/heads/master/DriverSetup/DriverSetup.7z Install it with the "aim_ll" command line tool: aim_ll --install setup_directory Then, in a folder, put this RamDyn.exe, aim_ll.exe, aimapi.dll, imdisk.cpl. And you're done. You can now create AIM dynamic ramdisks, or even static ones with aim_ll.
RamDiskUI: done. Despite a few difficulties, it was faster than I thought. I cannot release it because it depends on other components that are not ready yet. The new project will likely include the GUIs and most features of ImDisk Toolkit. However, I know nothing about MountImg and what can be done for it. Next step: ImDisk-Dlg.
Thanks for testing. Because of the MBR of the virtual disk, the created volume is 1 MB smaller than the specified size. I will fix that. I am now trying to convert RamDiskUI. It should be possible but of course there are some difficulties. To answer ood, I obviously have the permission of Olof. The full Arsenal Image Mounter software is very different from this toolkit, especially with its paid part. The targeted people are also different, so it can hardly considered as a rival tool. And I have no...
I now have a RamDyn that works with AIM. That was the easy part... Woah! great news:) I installed and testing, I have no problems at the moment
I now have a RamDyn that works with AIM. That was the easy part... For those who want to test: Download the AIM driver: https://github.com/ArsenalRecon/Arsenal-Image-Mounter/raw/refs/heads/master/DriverSetup/DriverSetup.7z Install it with the "aim_ll" command line tool: aim_ll --install setup_directory Then, in a folder, put this RamDyn.exe, aim_ll.exe, aimapi.dll, imdisk.cpl. And you're done. You can now create AIM dynamic ramdisks, or even static ones with aim_ll.
Hello, I have an ARM processor laptop and I had to manually configure ImDisk on my laptop, I followed the steps found here https://github.com/LTRData/ImDisk/wiki/ARM64-setup. I ran into a bit of an issue with these steps, there is no sysarm32 directory on my laptop and I keep getting a warning that the files that are supposed to be in that directory are missing. From what I can tell my R drive seems to be working without issue, but I am still getting this popup after each boot. Does anyone know how...
Also, are you interested in developing on Github? Because it is easier to track code changes and make it easier for more people to contribute to your project. In addition, can we integrate better translation methods? For example, using some crowdsourcing services.
I'm glad to see you decided to develop a new project. Considering that Olof Lagerkvist made Arsenal Image Mounter as commercial software, I guess using the AIM acronym might require his permission, and even clarifying whether the new project needs to be restricted to commercial use like Arsenal Image Mounter (commercial requires an additional license). Although I know that ImDisk and Arsenal Image Mounter drivers have a lot of features, most people just use it as a RAM drive, so I hope the name can...
It's been a while since I tested AIM. Olof really did a great job for the command line tool "aim_ll.exe". Besides the syntax similar to imdisk, I like the fact that a volume, with the related partition, can be created immediately along with the disk. And also that we can dismount a whole disk with only a drive letter (instead of the number of a disk or device). All that will be extremely helpful. I think to rebuild GUIs from scratch. ImDisk Toolkit has become difficult to maintain because of everything...
thanks guys, the most important thing is that there is hope for the future of this great program :) "I have been using it since I got my first SSD" I use imdisk even before creating a graphical ui, I remember threads with screenshots.But I forgot my login.V77 don't worry about the comments idiots generation z, unfortunately we are doomed by such people.
Yes, it's just a mitigation, it doesn't really fix the issue. In fact it was inspired by your .bat installation method, as it makes it unnecessary to check the certificate of files.cab. As you know, there is a high chance that Microsoft will not fix it at all, the only way is to move on and find new replacement drivers with signatures. Thank you for your long-term contribution to this project, excellent project, I have been using it since I got my first SSD, looking forward to seeing your progress...
Well done! Thanks for sharing! That said, this remains a workaround. So it changes nothing for me, but I hope it will be helpful for others.
Thank you
A similar project is based at Arsenal, maybe you could work on it together? https://github.com/tmcdos/ramdisk/
I created a small fix for this, but somehow I can't post the github link here. An anti-spam filter deleted it. Anyway, searching github for " Win11-RAMDisk-Admin-Fix" should take you to my fix.
I recently updated to Windows 11 LTSC (based on 24H2) and discovered that ImDisk's RAM Disk could not run the .exe as an administrator, so I spent a few hours researching a solution. I eventually figured out how to bypass it with the command prompt, and made a little registry fix for it: https://github.com/oood/Win11-RAMDisk-Admin-Fix
Disabling the UAC changes nothing, because it just makes the elevation silent. And even as a workaround, I don't consider that as an acceptable solution.
"I'm not Olof. "sorry, I didn't know ;) thanks for the explanation. And doesn't completely disabling uac solve the problem? I know it's the atomic option, but if it could be temporary. Yes, for me dynamic ram is also a necessary option, I keep my fingers crossed for success anyway :)
All the messages are now subject to moderation, and I will delete any message or entire thread that are not constructive in my point of view. I really cannot afford to spend my time to explain everything to some frustrated kids. So, once and for all: I have no obligation to fix promptly every new bug at each new version of Windows. I never received money for this project. I do what I want, when I want. If you are not happy with that, you can create a fork of this project (good luck ;)). I stole nothing....
I'm not Olof. :) This issue is likely the same as always: an incompatibility of some Windows functions such as "GetFinalPathNameByHandle" with the ImDisk volumes. Some softwares, especially a lot of installers (including installers from Windows Update), are affected. But now, this function is also very likely used by the UAC itself. Therefore, it leads to an error when an executable calls the UAC. Some incompatibilities were still acceptable. But now, its' all the executables requiring UAC that are...
Hi Olof :) Why do you keep saying that it's UAC/Windows' fault, if primo ramdisk works without a problem, and even dynamic ram works too? And from what I understand, there hasn't been any primo update for about a year, so they probably didn't have this problem at all.This is not a complaint, I just have an idea, maybe the situation is not as bad as you say? Maybe installing a trial version of primo will lead you to some solution to the situation?Anyway good luck, i hope you find a solution. until...
As I just said here, an issue in Windows 11 24H2 with the UAC prevents executables to run from inside the volume if they require elevation. It is highly unlikely that Microsoft fix it. After some thoughts, I have a personal interest to find a solution. It's time to see what can be done with Arsenal Image Mounter. But it's a huge work. In any case, don't expect something before several months at least.
I just did a few tests with Windows 11 24H2. Like others, I get an error "incorrect function" if I try to run an executable from an ImDisk drive that requires elevated privileges. No matter if the UAC is called from an embedded manifest or not. The error also occurs if I do a right-click on the .exe and select "run as administrator". If I "disable" the UAC, the issue remains. No problem with executables that don't require elevated privileges. It's the only regression I see but it's a major one. It...
Please, did anyone find a working solution? This holding me from update my working PC to 24H2. So far I was solving this issue by disabling Defender completely, which worked up until now. Not for 24H2. So I wonder if: 1) Is possible to do some extra steps to prevent Defender from doing this 2) If there is some free (preferably open source) RAM disk alternative. I tried many and nothing was working as well. I need dynamically allocating RAM disk, which releases memory on file deletion. I often use...
I have ram disk 30 GB, and on sync at shutdown , but there on problem it always save all 30GB not only changes. So qustion is it possible to make save only changes to Image at shutdown like it work at softperfect ram disk ? if examble there delete 10mb , it will save only that change not all 30GB.
my email address: makcan@gmail.com
Hello Thanks for this translation. Do you have an address mail? There are various issues. Don't worry, there are always adjustments to make for each translation. The file is unusable as is. It must be in unicode format (UTF-16 LE). You cannot add your name yourself in the credits because it creates a shift in all the following translations (for the [Setup] section). Despite that, I tried to use it for the GUI of the setup, and the text of the button "Credits" does not fit in the button (this is the...
Turkish lang file : https://gist.github.com/akcansoft/c069c45a93b413f6f0d7ff37fa529ed6 Türçe dil dosyası
RamDyn works under the "System" account. So it can works without you are logged in. The only dependency of "ImDisk RamDisk starter" is the driver, and it appears in the properties of the service. So, there should be no issue with the service start order. This is very frustrating...
I installed the toolkit on my laptop (which came with Windows 11) and no issues there. I checked the settings of both services; the virtual disk driver helper was set to manual instead of automatic, and I replicated that on my desktop, but that didn't help. I also tried uninstalling, cleaning the registry out of any ImDisk related entries, then reinstalling; that didn't help. I ran searches for 'ImDisk' in Event logs on both machines; no difference. Both machines' sign-in settings are also ident...
1) I tried, and I can't access R: unless the RAM Disk is indeed present in Explorer 2) I have dynamic memory management ticked. RamDyn.exe is not showing up in Task Manager while the drive is missing. And yeah, my money is on something related to the order of operations between services, seeing as there's two separate ones. Or maybe the problem is that I need to be signed-in (password entered and all)
Did you try to access the drive directly in Explorer and a command prompt by typing the drive letter, for instance "R:"? Are you using the dynamic memory management? In this case, do you see the RamDyn.exe process in the Task Manager? It would be surprising, but there could be a new notification issue... As the service works manually or with a delayed start, I can hardly suspect anything else (such as the antivirus).
"Launch at Windows Startup" not working after upgrade to Windows 11
When Windows starts, it checks for a pagefile on a drive that does not yet exists. You have to create the pagefile after the drive is created (and so, not with the options of Windows). You can do that for instance with "swapadd", a commande line utility available here: https://ltr-data.se/opencode.html/#CmdUtils
When Windows starts, it checks for a pagefile on a drive that does not yet exists. You have to create the pagefile after the drive is created (and so, not with the options of Windows). You can do that for instance "swapadd", a commande line utility available here: https://ltr-data.se/opencode.html/#CmdUtils
Hello. I want to use imdisk for pagefile to test some things. When I run it via scheduler as imdisk -a -t vm -s 500M -m P: -p "/fs:ntfs /q /y" -o fix I get a system error saying pagefile can't be mounted when I configure the RAM drive via Toolkit (checkbox "Launch at Windows Startup") I get the same error (see attachment) My question here is how to use ImDisk to mount a disk suitable for pagefile.
Hi, I'm interested if you have any plans to add compatibility with Arsenal Image Mounter? Right now the RamDiskUI.exe doesn't work but RamDyn.exe seems to work just fine eg. with the following command RamDyn.exe R: 2097152 -1 0 20 " -S 4096 -p \"/FS:NTFS /V:RamDisk /Q /X /Y\"". The reason I'm asking is because with the release of Windows 11 24H2 I've seen that on some PCs ImDisk Toolkit (or rather RamDiskUI.exe SVC) seems to fail to mount the ramdisk at startup while using ImDisk Toolkit. That and...
Microsoft have named Office installation images .img for many years now and I would think that they are not going to change that any time soon. I think their idea at some point might have been that these images do not use the ISO9660 file system but instead UDF and therefore they did not want to use the .iso extension. Although that is just a guess. They call many other UDF images .iso, so the logic behind it is not entirely clear.
Hello v77, thanks for responding. Understood, thank you - I will take a mental note to rename these to ISO until such a time that Microsoft adopts a fix going forward.
I don't have this version of Windows, but I see in your screenshots "Microsoft family features". Windows Defender has parental control features. Did you checked that? That said, the "unknown error" you get later is suspect...
Accidentally I figured out what was the cause. Windows defender is to blame. This can be fixed by disabling Windows Defender realtime protection. Very misleading error prompt though,
The extension is important. This tool considers .img files as direct copies of volumes or full disks. Here, you have an ISO file. Just rename it with the .iso extension. No need for any conversion, as this is already the ISO format. I think Microsoft did a mistake by giving this file the .img extension. That said, with Windows 11, Explorer opens it directly, so at least it works, but this file should have the .iso extension. Of course, various tools perform analyses of the file to determine its type,...
Cannot mount image in 'img' format
It is better with AWE disabled, not sure if Ultra RAMDisk was using AWE too. Hopefully these will be useful to someone
This is mostly for information purposes. See the attached benchmark - left is dynamic ImDisk, right is dynamic Ultra RAMDisk. I also attach the results for my SSD. There are some serious performance issues that overall make it almost worse than my SSD. However, I tried Ultra RAMDisk for an hour and it caused a BSOD during heavy read-write workload... so yes I'm forced to stay with ImDisk...
I'm sorry, but I still can't create Microsoft SQL Server database snapshots with ImDisk. I'm now using the RAMDisk program from Dataram. It does create a database snapshot. Just FYI.
OK, thank you.
I copied a large file (more than 1 GB) onto the ramdisk (no matter the name, let's say "Z:\test"), and then I used fsutil sparse setFlag Z:\test 1 fsutil sparse setRange Z:\test 0 536870912 The first 512 MB was set to 0, and I retrieved a free space of 512 MB.
The fsutils tool, of course, I can use that to test. What commands exactly did you used? If they work for me too, I can ask Microsoft why a database snapshot cannot be created.
Strange... I just did a few tests on a dynamic ramdisk with the "fsutil sparse" commands, and everything works fine. I can convert a file to a sparse file and set a region to 0 (with the region properly unallocated). So I assume an incompatibility from the driver (don't expect a fix). But this has nothing to do with sparse files.
Yes. I think only NTFS supports sparse files.
Did you format as NTFS?
I was able to successfully configure a system so that Microsoft SQL Server uses the ramdisk for databases. These do not have to be persistent, they are created, used for a short time and then deleted again. Unfortunately, a database snapshot cannot be created. The command CREATE DATABASE xx AS SNAPSHOT OF yy shows the following error: Msg 1823, Level 16, State 2, Line 10 A database snapshot cannot be created due to an error during startup. Msg 5119, Level 16, State 1, Line 10 The file "D:\Temp\TestSnapshot.mdf.snapshot"...
Hi everyone, It's been a few months since the last version of the ImDisk Toolkit has been released. I wonder when we'll have a new version, and what it'll bring.
I have same problem on Windows 11. It isn't happened on Windows 10 for years of usage(!), but in Windows 11 it happens in 1-3 days when RAM Drive is active. I tried not only ImDisk but also OSFMount. It have same problem on Windows 11(sic!) - may be some memory managment functions changed in Windows 11? I use Windows 11 x64 with 32Gb RAM
I have same problem on Windows 11. It isn't happened on Windows 10 for years of usage(!), but in Windows 11 it happens in 1-3 days when RAM Drive is active. I tried not only ImDisk but also OSFMount. It have same problem on Windows 11(sic!) - may be some memory managment functions changed in Windows 11?
Update. After many tests, I can say that in my case the crashes were caused by the program itself. Imdisk and dynamic ram allocation don't go well in my pc. Static ramdisk is not a problem. Tried also Softperfect ramdisk (that has only static disk option) and never had a crash. Now I'm using the program Primo Ramdisk. This one can be configured as a dynamic ramdisk and so far, after weeks, I never had a crash. So I'll stick with this one with this machine. Unfortunally it's not free, it costs 25$....
Hi everyone, In my last post I alluded to the fact that when you create multiple RAM Disks with ImDisk Toolkit, settings from one RAM Disk tend to be also used for the other. For example, if I set two RAM Disks, both sharing the same size, file system and general settings, and I want one of them to host a Temp folder the old-fashioned way, and the other via a junction to ProgramData, I can't. I can have one or the other, but not both. Am I missing something? Is there a command line argument I can...
Thanks for the tip(s)! Problem is, when you have multiple RAM disks, the GUI tends to snowball the settings of one disk onto the others (file system, size, for example). Using a .bat file solved that for me. I'm gonna try to run my script from inside the GUI, though. I've set up my RAM disk .bat file to start when I open my session, because I've got Throttlestop launching on startup (scheduled task) and it tends to reside in my Temp folder. Maybe I'll try to launch the .bat file on Windows startup...
By the way, the GUI now allows to start a script just after the ramdisk creation. As it run as a service at system startup, you could have your ramdisk ready sooner. About the options of the command line utility "imdisk.exe", I would recommend to enter "imdisk.exe" in a command prompt, without argument, to see the (very long) syntax help.
Hi everyone, I've used ImDisk Toolkit for a good number of years now, and oh boy, the things we take for granted! For example, I've written .bat files to create a RAM Disk on startup and install a pagefile in it. In fact, I've created two of those, and I've written the .bat file by following an example I found on a website somewhere (can't remember where, don't ask!). The thing is, I'm curious. I know what curiosity did to the cat, but I really want to know more about the syntax I use in that .bat...
Hi everyone, I've used ImDisk Toolkit for a good number of years now, and oh boy, the things we take for granted! For example, I've created .bat files to create a RAM Disk on startup and install a pagefile in it. In fact, I've created two of those, and I've written the .bat file by following an example I found on a website somewhere (can't remember where, don't ask!). The thing is, I'm curious. I know what curiosity did to the cat, but I really want to know more about the syntax I use in that .bat...
The synchronization of all the ramdisks created with the synchronization option can be called from command line, with something like: "C:\Program Files\ImDisk\ImDiskTk-svc.exe" SYNC Of course, it requires administratives privileges. With that, you can either create a shortcut to manually start it from the desktop or the taskbar, or create a scheduled task to start it periodically.
I've lost so much video editor work stored on my IMram scratch disk due to Windows 10 just randomly blue screen crashing. To backup the drive to harddrive, I would periodically shutdown and restart my computer to force a write out to platter disk. Then I thought, wouldn't be great if they had a Syncronize Windows Tray Icon or something I could just click on? So I went searching, and found the Syncronize Now button on the Data Tab of the IMDisk Configure. And I was like, hallilueah! I just have to...
I've lost so much video editor work stored on my IMram scratch disk due to Windows 10 just randomly crashing out of the blue. To backup the drive to harddrive, I would periodically shutdown and restart my computer to force a write out to platter disk. Then I thought, wouldn't be great if they had a Syncronize Windows Tray Icon or something I could just click on? So I went searching, and found the Syncronize Now button on the Data Tab of the IMDisk Configure. And I was like, hallilueah! I just have...
Yes sorry, it seems I missed some parts of your first message. Perhaps a last thing to test if you want: try a dynamic ramdisk with AWE (see in Advanced tab). As the memory allocation method is very different, it might help to locate the issue.
I was using the dynamic disk with NTFS all the time. I changed to exFAT to see if this could fix the crash problem. But didn't. I will try with a different drive letter from tomorrow. The crashes didn't give any error message, because consisted always in a system restart, with no BSOD. Anyway, as I've said, the crash/restart happened always when I was moving a big file of folder (1-5GB or more) in the ramdisk. I use the ramdisk for the browser cache (the browsers create their cache in this path:...
I am now testing exFAT. No crash to report. I will continue the test for a few days. Another thing you could try: use a drive letter other than A or B. It would be surprising, but it is not impossible that there is something with that.
Thanks. The last change in RamDyn.exe is more than 3 years old and it is used by a lot of people. Another point that is surprising: this is a user mode process, so it should be impossible to make Windows crash. The worst thing that could happen is to make the driver wait infinitely, which can lead to a freeze of the system. However... As you are using exFAT, RamDyn uses a special cleanup function to release the memory no longer used by deleted files. I am pretty sure that if you use NTFS (which not...
Hello. All these days I tried using the static disk option and the ramdisk worked fine, no crashes when deleting files inside it. Tried different sizes and using the letter A for the disk. So looks like my crash problem was caused by the dynamic version.
Hello. I tried using the static disk option and the ramdisk worked fine, no crashes when deleting files inside it. Tried different sizes and using the letter A for the disk. So looks like my crash problem was caused by the dynamic version.
Thank you very much for providing such a useful tool. I was able to successfully mount a VirtualBox image in Windows as a drive letter, add some data to it and then access that data through the VM. Exactly what I wanted to do!
std::filesystem::(weakly_)canonical excepts when using the path to ramdisk
Thanks for the answers. I'll try using a static ramdisk and to change the letter of the drive. Then report back asap.
Also, is it safe to use the letter A, knowing that it used to be allocated to floppy drives? Even Windows 10 still has a little of MS-DOS lurking in the basement... :-)