Would be nice if someone made a DISM/WAIK tool that allows you to disable packets and features(the "Add or Remove Windows Features" dialog) So that you may have certain features disabled after install like IE8,WMP12 and so on
Well, don't expect this to be the next vLite or anything, but I could probably code removal of the more common packages/features.
Thanks for tool but, i can't get it to mount or even show wim info. Code: Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. E:\Windows_7_rtm_x86\sources>DISM /Get-WimInfo /WimFile:E:\Windows_7 rces\install.wim Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Error: 87 The get-wiminfo option is unknown. For more information, refer to the help by running DISM.exe /?. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log E:\Windows_7_rtm_x86\sources> Code: 2009-09-14 18:16:58, Info DISM PID=3716 Scratch directory set to 'C:\Users\George\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir 2009-09-14 18:16:58, Info DISM PID=3716 Successfully loaded the ImageSession at "E:\Windows_7_rtm_x86\sources" - CDISMManager::LoadImageSession 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2009-09-14 18:16:58, Info DISM DISM Manager: PID=3716 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2009-09-14 18:16:58, Info DISM DISM.EXE: 2009-09-14 18:16:58, Info DISM DISM.EXE: <----- Starting Dism.exe session -----> 2009-09-14 18:16:58, Info DISM DISM.EXE: 2009-09-14 18:16:58, Info DISM DISM.EXE: Host machine information: OS Version=6.1.7600, Running architecture=x86, Number of processors=4 2009-09-14 18:16:58, Info DISM DISM.EXE: Executing command line: DISM /Get-WimInfo /WimFile:E:\Windows_7_rtm_x86\sources\install.wim 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Loading Provider from location E:\Windows_7_rtm_x86\sources\WimProvider.dll - CDISMProviderStore::Internal_GetProvider 2009-09-14 18:16:58, Warning DISM DISM Provider Store: PID=3716 Failed to Load the provider: E:\Windows_7_rtm_x86\sources\WimProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e) 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Loading Provider from location E:\Windows_7_rtm_x86\sources\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Connecting to the provider located at E:\Windows_7_rtm_x86\sources\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Loading Provider from location E:\Windows_7_rtm_x86\sources\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Connecting to the provider located at E:\Windows_7_rtm_x86\sources\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2009-09-14 18:16:58, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table. 2009-09-14 18:16:58, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager 2009-09-14 18:16:58, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider 2009-09-14 18:16:58, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager 2009-09-14 18:16:58, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager. 2009-09-14 18:16:58, Warning DISM DISM.EXE: Failed to load WimManager. Try running from the Deployment Tools Command Prompt. If the issue persists, ensure that wimgapi.dll and wimserv.exe are up to date. 2009-09-14 18:16:58, Warning DISM DISM.EXE: Failed to add any commands. 2009-09-14 18:16:58, Error DISM DISM.EXE: No providers were found that support the command(get-wiminfo). HRESULT=0 2009-09-14 18:16:58, Info DISM DISM.EXE: Image session has been closed. Reboot required=no. 2009-09-14 18:16:58, Info DISM DISM.EXE: 2009-09-14 18:16:58, Info DISM DISM.EXE: <----- Ending Dism.exe session -----> 2009-09-14 18:16:58, Info DISM DISM.EXE: 2009-09-14 18:16:58, Info DISM DISM Image Session: PID=3716 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider 2009-09-14 18:16:58, Info DISM DISM Provider Store: PID=3716 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
Yeah, now I am seeing that error, but only after I use "Choose WIM" button Think something must be up with the select file dialogs. (also notice the directory being changed in cmd.exe after using Choose WIM).. Can you verify this by pasting the install.wim path into the text field without using the choose wim button and see if it works then.
Yes it works for wim info when pasting install.wim path into text field but not for mounting image. Code: Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\>DISM /Get-WimInfo /WimFile:E:\Windows_7_rtm_x86\sources\install.wim Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Details for image : E:\Windows_7_rtm_x86\sources\install.wim Index : 1 Name : Windows 7 STARTER Description : Windows 7 STARTER Size : 7,936,340,784 bytes Index : 2 Name : Windows 7 HOMEBASIC Description : Windows 7 HOMEBASIC Size : 7,992,394,907 bytes Index : 3 Name : Windows 7 HOMEPREMIUM Description : Windows 7 HOMEPREMIUM Size : 8,432,859,356 bytes Index : 4 Name : Windows 7 PROFESSIONAL Description : Windows 7 PROFESSIONAL Size : 8,313,318,889 bytes Index : 5 Name : Windows 7 ULTIMATE Description : Windows 7 ULTIMATE Size : 8,471,060,645 bytes The operation completed successfully. C:\>
Image is mounting now ok Code: Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. E:\Windows_7_rtm_x86\sources>c: C:\>DISM.exe /Mount-Wim /wimfile:E:\Windows_7_rtm_x86\sources\install.wim /index :4 /MountDir:C:\Test Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Mounting image [==========================100.0%==========================] The operation completed successfully. C:\> If you select path at choose wim part and also mount dir it doesn't remeber those settings when you select mount wim you have to select wim image and folder again. When you select integrate cert folder opens you select certificate then explorer opens i cant see certificate in mounted folder
It is a front end for DISM so you can mount and edit wim images saves you typing in commands into cmd windows
Not sure what I am doing wrong, can you take a look at this? keeps telling me that "Error: 87 The mount-wim option is unknown." Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Windows7RTMX64\sources>c: C:\Windows7RTMX64\sources>DISM.exe /Mount-Wim /wimfile:C:\Windows7RTMX64\sources \install.wim /index:1 /MountDir:C:\working Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Error: 87 The mount-wim option is unknown. For more information, refer to the help by running DISM.exe /?. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log C:\Windows7RTMX64\sources>
Not a valid win32 application It should be going back to the program directory C:\Program Files\Windows OPK\Tools\PETools>
LOL, every where ther was a : D (but without the space) it was turned into The error at the top is from the gui, below that shows where I changed the path statement according to your instructions. Looks like an easy fix. BTW, I have a DISM.EXE in my system32 folder, on the root of C: and in my sources folder, where do you suggest DISM be and where are you invoking it from? I have the AIK installed. C:\7RTMX64\sources>c: C:\7RTMX64\sources>DISM.exe /Mount-Wim /wimfile:C:\7RTMX64\sources\install.wim / index:1 /MountDir:\test Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Error: 87 The mount-wim option is unknown. For more information, refer to the help by running DISM.exe /?. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log C:\7RTMX64\sources>cd\ C:\>dism.exe /mount-wim /wimfile:c:\7rtmx64\sources\install.wim /index:1 /mountd ir:\test Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Mounting image [==========================100.0%==========================] The operation completed successfully. C:\>