MSMG Toolkit 1.08 won't let me delete it!

Discussion in 'Windows 8' started by MonarchX, Jul 17, 2014.

  1. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60
    I don't know WTH is going on, but I can't delete MSMG Toolkit 1.08 folder even after a restart. The specific folders are "Mount", which contains "Boot" , "Install" , "WinRE". These folders seem to mimic my drive C:\. I already deleted the rest of the files and folders. I can't start MSMG Toolkit 1.09 either! How do I delete this crap? No offense to developer, but ATM its taking a whole lot of space and doesn't want to be deleted.
     
  2. PaulDesmond

    PaulDesmond MDL Magnet

    Aug 6, 2009
    6,979
    7,149
    240
    did you try to unistall in the first place prior to just delete the program? If you encounter more problems with that deletion of files you might try to use unlocker found with using google
     
  3. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    #3 s1ave77, Jul 17, 2014
    Last edited by a moderator: Apr 20, 2017
    #1. That problem normally appears when the process is aborted (mostly due to user intervention) without unmounting the Images properly. In that case the system handles them as still mounted and refuses deletion attempts.

    Check for mounted WIMs:
    Code:
    dism /get-MountedWimInfo
    #2. That's not a problem of the used tool but a general DISM one, if used improperly.

    #3. To discard mounted Images:
    Code:
    Dism /unmount-wim /mountdir:"path to mount folder here" /discard
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    Unlocker won't work here ... the system will still protect the mount folders. It's similiar to trying to delete an ISO which is mounted in Explorer :cool2:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. PaulDesmond

    PaulDesmond MDL Magnet

    Aug 6, 2009
    6,979
    7,149
    240
    thanks bud. I thought unlocker performs a similar task like the one you mentioned above
     
  6. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    #6 s1ave77, Jul 17, 2014
    Last edited by a moderator: Apr 20, 2017
    One of the few things unlocker is helpless :cool2:.

    If any Install Image is mounted:

    Code:
    dism /get-MountedWimInfo 
    Answer if any is mounted:

    Code:
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17029
    
    Mounted images:
    
    Mount Dir : j:\win\mount
    Image File : E:\IMAGES\DISC_IMAGES\WIN_8\MICROSOFT.WINDOWS.8.1.UPDATE.1.X64.GERMAN.DVD\
    default\boot.wim
    Image Index : 1
    Mounted Read/Write : Yes
    Status : Ok
    
    The operation completed successfully.
    
    Discard:
    Code:
    Dism /unmount-wim /mountdir:"j:\win\mount" /discard
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. nima1024

    nima1024 MDL Member

    Sep 18, 2010
    240
    42
    10
    Unlocker actually works very well although it takes a lot of time.

    Some days ago, I actually forced to abort DISM operation and thus let mounted image be still running and as usual system did not allow me to remove the mounted folder, so I had to use Unlocker, it perfectly removed the whole folder but it moved all of them into Recycle Bin, but since then, I can not clear Recycle Bin and it tells me that I don't have required permission, I did everything but still not possible to clear Recycle Bin.

    So, I strongly recommend not to abort any DISM operations, unless it itself cancel the job and most importantly, try not to remove that folder yourself but do unmount /discard and it will be gone forever.
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,211
    84,860
    340
    #8 abbodi1406, Jul 18, 2014
    Last edited by a moderator: Apr 20, 2017
    Code:
    dism /Cleanup-Mountpoints
     
  9. Hadron-Curious

    Hadron-Curious MDL Guru

    Jul 4, 2014
    3,730
    603
    120
    #9 Hadron-Curious, Jul 18, 2014
    Last edited by a moderator: Apr 20, 2017
    You can try it from the run dialog:
    Code:
    cleanmgr
     
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,411
    15,487
    210
    It's a common problem.. when servicing wim images if the process is terminated in between the mounted image folder gets locked up.. I have added the option to cleanup the mount folder at the start and close operation.. but still some mounted registry files won't get deleted due to the termination of dism operation..

    I use the unlocker to cleanup that folder.. you must do reboot once in order to get that folder to be deleted..

     
  11. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60
    BTW, why doesn't this software work in a directory with a space in its name? If I use a "Windows8.1 2" folder directory, then it won't even start, saying that it cannot find "Windows8.1" directory since it is obviously not registering the " 2". Is it a DOS limitation? Any way around it? I am a bit OCD, so I like when all is where I want to be and not where it wants itself to be!