Error "[123] The filename, directory name, or volume label syntax is incorrect"

  • Thread starter Thread starter Deezul
  • Start date Start date
D

Deezul

Guest
Yes, I know it is - I deleted an install.wim file before unmounting it because I wanted to make a new image. Any attempts to unload a bad image will fail, since it can't unmount what doesn't exist. How can I get NTLite to stop trying to mount a bad image? I tried uninstall and reinstall, yet it still shows the bad mounted image. when I restart. If I try to add the directory again, it says it's already in use.
 
Please reboot, try again, if tried or didn't help, how about the Erase option next to File - Settings - Temp folder box?
 
Rebooted, and no go. Tried the erase option and get an error that I have to unload all images from the Source page when I try.
 
Can't unload the start directory either, same error.
 
Last edited by a moderator:
OK, please export then delete:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WIMMount\Mounted Images

I'll then check why the tool could not do that itself.
And retry the Erase after that.

Thanks.
 
That did it. It doesn't show up in NTLite and I was able to mount a new image. Thanks.
 
Good, where is my export? :)
I may have another report to go by to fix it, it's ok, I wasn't precise enough with my request.
 
Ha, I thought you just wanted me to export the key in case of error. Here you go.
 
This thread is from March 2019. Do you see this error on the current version of NTLite (v2023.5.9257)?
 
NTLite manages the image and temp folders under a stateful model, to preserve data integrity.
You shouldn't remove mounted folders or images if they're under NTLite's direct control.

Click the Refresh button on the Image toolbar and clean up by selecting the Invalid image, right menu -> Forget
 
I have not removed any mounted folder or images. Fresh did not work, and selecting forget did not work. My computer had shut off during a power surge when entire house lost power. I have even tried running nlite from another computer since im using nlite from a portable usb drive.
 
Run this command as Administrator:
Code:
DISM /Get-MountedWimInfo

Check to see if the PC crash left DISM thinking it still has a mounted image. If so, run:
Code:
DISM /Unmount-Image /MountDir:[path] /discard
 
no luck, i had also tried. It's acting like no matter what PC I move the thumbdrive the settings follow it.
 
Are you using portable mode? Open up settings.xml with Notepad and look at the bottom for <Images>...</Images>
 
If that's not a valid image, then exit NTLite and use Notepad to remove that one line.
 
Back
Top