DISM Error #6


  1. Posts : 129
    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 : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #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 : 18,044
    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 05:32.
      My Computer


  4. Posts : 129
    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 02:28.
      My Computer


  5. Posts : 15,490
    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 : 6,328
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #6

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


  7. Posts : 1,203
    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 : 6,328
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #8

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


  9. Posts : 1,203
    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 08:57.
Find Us




Windows 10 Forums