Jump to content

Error by Integrade Windows 7 Key.


Jelmer Visser
 Share

Recommended Posts

Hi All,

I have tried to integrade my Windows 7 Product Key in my Installation with the cmd command:

@echo off

rem The /Set-ProductKey option can be used to enter the product key for the current edition in an offline Windows image.

DISM.exe /image:F:\7WORK\MOUNT /Set-ProductKey:MyProductKey

pause

When i did this i get an error.

DISM Log:

CDISMProviderStore::Internal_DisconnectProvider

2009-10-22 08:44:04, Info DISM PID=4616 Scratch directory set to 'C:\Users\GEBRUI~1\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir

2009-10-22 08:44:04, Info DISM PID=4616 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadImageSession

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2009-10-22 08:44:04, Info DISM DISM Manager: PID=4616 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2009-10-22 08:44:04, Info DISM DISM.EXE:

2009-10-22 08:44:04, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->

2009-10-22 08:44:04, Info DISM DISM.EXE:

2009-10-22 08:44:04, Info DISM DISM.EXE: Host machine information: OS Version=6.1.7600, Running architecture=amd64, Number of processors=4

2009-10-22 08:44:04, Info DISM DISM.EXE: Executing command line: DISM.exe /image:F:\7WORK\MOUNT /Set-ProductKey:

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Loading Provider from location C:\Windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Connecting to the provider located at C:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Loading Provider from location C:\Windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Connecting to the provider located at C:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2009-10-22 08:44:04, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.

2009-10-22 08:44:04, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager

2009-10-22 08:44:04, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.

2009-10-22 08:44:04, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager

2009-10-22 08:44:04, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider

2009-10-22 08:44:04, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager

2009-10-22 08:44:04, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.

2009-10-22 08:44:04, Info DISM DISM Provider Store: PID=4616 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection

2009-10-22 08:44:05, Info DISM DISM Provider Store: PID=4616 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection

2009-10-22 08:44:05, Error DISM DISM Manager: PID=4616 Could not create the image session. The specified image is not in a valid state. - CDISMManager::CreateImageSession(hr:0xc1510114)

2009-10-22 08:44:05, Error DISM DISM.EXE: Could not load the image session. HRESULT=C1510114

2009-10-22 08:44:05, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.

2009-10-22 08:44:05, Info DISM DISM.EXE:

2009-10-22 08:44:05, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->

2009-10-22 08:44:05, Info DISM DISM.EXE:

2009-10-22 08:44:05, Info DISM DISM Image Session: PID=4616 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect

2009-10-22 08:44:05, Info DISM DISM Provider Store: PID=4616 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider

2009-10-22 08:44:05, Info DISM DISM Provider Store: PID=4616 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider

2009-10-22 08:44:05, Info DISM DISM Provider Store: PID=4616 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect

2009-10-22 08:44:05, Info DISM DISM Provider Store: PID=4616 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider

2009-10-22 08:44:05, Info DISM DISM Provider Store: PID=4616 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

Can someone help me with this error?

Greetz Jelmer.

(Sorry for bad english, i'm dutch :))

Link to comment
Share on other sites

Hi All,

I have tried to integrade my Windows 7 Product Key in my Installation with the cmd command:

@echo off

rem The /Set-ProductKey option can be used to enter the product key for the current edition in an offline Windows image.

DISM.exe /image:F:\7WORK\MOUNT /Set-ProductKey:MyProductKey

pause

When i did this i get an error.

DISM Log:

Can someone help me with this error?

Greetz Jelmer.

(Sorry for bad english, i'm dutch :))

Just try this out. This is GUI version for DISM tool.

DISMTOOL.7z

Link to comment
Share on other sites

Try this:

Create a new folder give it a name like 7Work.

Inside this folder create a folder called "Mount".

Also create folder called "DVD", extract win7 image in here.

And then a script like this should do the job:

@echo Off

rem ##################################################

rem # Configure Paths Here #

rem ##################################################

set DRIVE=D:

set WORKDIR=7Work

rem ##################################################

rem # DONT TOUCH THE NEXT !!!! #

rem ##################################################

set WIM=%DRIVE%\%WORKDIR%\Mount

set WD=%DRIVE%\%WORKDIR%\DVD

Echo Give in the version you want to edit , Make the good choice !!! :

Echo 1 - Starter x86 HOMEBASIC x64 or Entreprise ISO

Echo 2 - HOMEBASIC x86 or HOMEPREMIUM x64

Echo 3 - HOMEPREMIUM x86 or Professional x64

Echo 4 - Professional x86 or Ultimate x64

Echo 5 - Ultimate x86

Set /p EDITION=Number:

Echo.

cd\%WORKDIR%

echo OK ...

pause

echo =====================================

echo Mount "install.wim"

echo =====================================

echo.

echo Mount "install.wim" to "%WIM%"...

DISM.EXE /Mount-Wim /WimFile:%WD%\sources\install.wim /index:%EDITION% /MountDir:%WIM%

Pause

rem ##################################################

rem # PUT YOUR PRODUCTKEY AT XXXXX-etc !!!! #

rem ##################################################

echo Set Productkey

DISM.EXE /Image:"%WIM%" /Set-ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

echo Save changes and Unmount "install.wim" ...

DISM.EXE /Unmount-Wim /MountDir:%WIM% /commit

echo Done ...

Pause

(DISM.EXE /Image:"%WIM%" /Set-ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx, xxxxx must be changed to your productkey).

Then just save it to SetProductkey.BAT and put it in %WORKDIR% (DRIVE\7Work).

And then ofc run the .BAT

Edited by Raoul
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...