Posted November 30, 201311 yr Please help. Customizing Win7 is becoming a nightmare. I manually deleted the title folder, but some files can't be deleted (about 400Mb), then I realised I had to previously "unmount" or something, it seems to happen that these folders/files have only granted access to some hidden account. Aside from that, I'm really shooting at the dark here with Win Toolkit, I don't find any guides at all. I don't know where to put the setupcomplete.cmd, unattended.xml, etc. Once after 3 hours (having integrated hotfixes) Win Toolkit freezed my machine when stage of removing components (DVD Maker).On my second attempt, it finished promptly, so I think it did nothing at all, all the log says is: [0x8007007f] WimLazyInitialize:(1206).
November 30, 201311 yr Open and administrative command prompt and enter this command dism /Unmount-Wim /MountDir:<path_to_WinToolkit_Mount> /discard Also try running this as well dism /Cleanup-Wim
November 30, 201311 yr Author dism, as imagined : /I run the first code and I get error 50:log2013-11-30 22:00:48, Info DISM PID=216 Scratch directory set to 'C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\'. - CDISMManager::put_ScratchDir2013-11-30 22:00:48, Info DISM PID=216 Successfully loaded the ImageSession at "C:\WINDOWS\System32\Dism" - CDISMManager::LoadImageSession2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Getting Provider DISMLogger - CDISMProviderStore::GetProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Getting Provider DISMLogger - CDISMProviderStore::GetProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider2013-11-30 22:00:48, Info DISM DISM Manager: PID=216 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Getting Provider DISMLogger - CDISMProviderStore::GetProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider2013-11-30 22:00:48, Info DISM DISM.EXE: 2013-11-30 22:00:48, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->2013-11-30 22:00:48, Info DISM DISM.EXE: 2013-11-30 22:00:48, Info DISM DISM.EXE: Host machine information: OS Version=5.1.2600, Running architecture=x86, Number of processors=22013-11-30 22:00:48, Info DISM DISM.EXE: Executing command line: dism /Unmount-Wim /MountDir:C: /discard2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Loading Provider from location C:\WINDOWS\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Connecting to the provider located at C:\WINDOWS\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Loading Provider from location C:\WINDOWS\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Connecting to the provider located at C:\WINDOWS\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Loading Provider from location C:\WINDOWS\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Connecting to the provider located at C:\WINDOWS\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider2013-11-30 22:00:48, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.2013-11-30 22:00:48, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager2013-11-30 22:00:48, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.2013-11-30 22:00:48, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager2013-11-30 22:00:48, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider2013-11-30 22:00:48, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager2013-11-30 22:00:48, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Getting Provider WimManager - CDISMProviderStore::GetProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider2013-11-30 22:00:48, Info DISM DISM WIM Provider: PID=216 [C:] is not a WIM mount point. - CWimMountedImageInfo::Initialize2013-11-30 22:00:48, Error DISM DISM WIM Provider: PID=216 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1039 - CWimManager::InternalOpUnmount(hr:0x80070032)2013-11-30 22:00:48, Error DISM DISM WIM Provider: PID=216 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2318 - CWimManager::InternalCmdUnmount(hr:0x80070032)2013-11-30 22:00:48, Error DISM DISM WIM Provider: PID=216 Error executing command - CWimManager::InternalExecuteCmd(hr:0x80070032)2013-11-30 22:00:48, Error DISM DISM WIM Provider: PID=216 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:516 - CWimManager::ExecuteCmdLine(hr:0x80070032)2013-11-30 22:00:48, Error DISM DISM.EXE: WimManager processed the command line but failed. HRESULT=800700322013-11-30 22:00:48, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.2013-11-30 22:00:48, Info DISM DISM.EXE: 2013-11-30 22:00:48, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->2013-11-30 22:00:48, Info DISM DISM.EXE: 2013-11-30 22:00:48, Info DISM DISM Image Session: PID=216 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider2013-11-30 22:00:48, Info DISM DISM Provider Store: PID=216 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProviderI didn't run the second because I just finished to build an image after almost 5 hours, and don't want to mess anything (Win Toolkit is still open). A file called install.wim is created, what am I supposed to do now? Where do I put setupcomplete.cmd and unattended.xml.After that I guess I create the ISO right away. Edited November 30, 201311 yr by Dogway
December 1, 201311 yr Author Ok got deleted after I shut down Win Toolkit. I was brave enough and finished the image. Now I got all sorts of issues, but I will open a new thread for that.
December 4, 201311 yr I recommend you start a new image if you forced Win Toolkit to close. Although it should be fine if you 'discarded' the image. I will have a look at the DVD Maker freezing issue.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.