I've always created a logical drive but I wanted to switch to a physical drive to try OSFMount - Incorrect function. ShellExecuteEx failed option 1.
Using command line below I seem to be getting "Not initialized" disk in "Disk management".
Any suggestions? Thank you very much for your work!
Windows 26H2 Pro (23300.981

Seems to work fine if I do it through the desktop app - initialize, format, and even assign a preferred letter (this one not supported in CLI with "physical" option).
Using command line below I seem to be getting "Not initialized" disk in "Disk management".
Any suggestions? Thank you very much for your work!
Code:
C:\Program Files\OSFMount>osfmount.com -a -t vm -o physical,rw,hd,format:ntfs:"RAM Disk" -s 3G Creating device... OK Setting disk attributes... Done.
Code:
osfmount --version PassMark OSFMount Command Line Interface. Version V3.3 (Build 1000) - (Compiled Aug 11 2026)
Code:
osfmount -l [logical disks] [physical disks] \\.\PhysicalDrive2
Seems to work fine if I do it through the desktop app - initialize, format, and even assign a preferred letter (this one not supported in CLI with "physical" option).