DISM Error #6


  1. Posts : 89
    Windows 10 Pro
       #1

    DISM Error #6


    When I ran DISM to create a Install.wim file, I got error 6 invalid handle , is there a solution mWy wim file is on the W: drive. The Windows U: Drive is the wim I am creating. How do I get rid of the error at 17% of the wim file created?
      My Computer


  2. Posts : 13,957
    Windows 10 Pro X64 21H1 19043.1503
       #2

    You gave us absolutely no information to work with. The command you used and the exact error message you received would be a good start.
      My Computers


  3. Posts : 16,147
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #3

    Hello @RBCC,

    System Specifications

    Please update your system [ hardware ] specifications => How to Fill in your System Specs at Ten Forums.
    It will help us to help you!

    Thanks.
    Last edited by Paul Black; 05 Mar 2022 at 04:32.
      My Computer


  4. Posts : 89
    Windows 10 Pro
    Thread Starter
       #4

    the handle is invalid screens


    Here is the Line using dism:
    dism /capture-image /imagefile:x:\Image\install.wim /capturedir:W:\ /ScratchDir:C:\Scratch /name:"Windows 11 Golden" /description:"Golden Custom Image" /compress:maximum /checkintegrity /verify
    I am using dism in Windows 10 2h21 and the capture dir is Windows 11.
    DISM Error #6-screen1.jpg

    I t has been the above screen on for 5 minutes and counting... I am running a batch as administrator with the above line in it!
    At 23% this screen is shown:
    DISM Error #6-screen2.jpg

    It says the Handle is invalid
    I got a the file name ,directory name or volume label syntax is incorrect in the log file, what file name , directory or volume name ?
    Last edited by RBCC; 05 Mar 2022 at 01:28.
      My Computer


  5. Posts : 13,684
    Windows10
       #5

    RBCC said:
    Here is the Line using dism:
    dism /capture-image /imagefile:x:\Image\install.wim /capturedir:W:\ /ScratchDir:C:\Scratch /name:"Windows 11 Golden" /description:"Golden Custom Image" /compress:maximum /checkintegrity /verify
    I am using dism in Windows 10 2h21 and the capture dir is Windows 11.
    DISM Error #6-screen1.jpg

    I t has been the above screen on for 5 minutes and counting... I am running a batch as administrator with the above line in it!
    At 23% this screen is shown:
    DISM Error #6-screen2.jpg

    It says the Handle is invalid
    I got a the file name ,directory name or volume label syntax is incorrect in the log file, what file name , directory or volume name ?
    I had a similar issue, and I tracked it down to a onedrive issue. I uninstalled onedrive before doing image capture, and then reinstalled it after I reinstalled from the iso. Might be worth trying that?
      My Computer


  6. Posts : 4,080
    Windows 7 HP 64 - Windows 10 Pro - Lubuntu
       #6

    For Win 11 issues, please post on Windows 11 Forum
      My Computers


  7. Posts : 907
    11 Home
       #7

    Megahertz said:
    For Win 11 issues, please post on Windows 11 Forum
    The OP is running Windows 10 Pro ver. 21H2.
      My Computers


  8. Posts : 4,080
    Windows 7 HP 64 - Windows 10 Pro - Lubuntu
       #8

    My assumption:
    On the Dism cmd: "Windows 11 Golden"
      My Computers


  9. Posts : 907
    11 Home
       #9

    Megahertz said:
    My assumption:
    On the Dism cmd: "Windows 11 Golden"
    Look at the top of the 2nd screenshot.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 20:21.
Find Us




Windows 10 Forums