Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country


Posts posted by Gremo

  1. I run these during sources\$OEM$\$\SETUP\Scripts\OOBE.CMD which run's automatic

    cscript %windir%\system32\slmgr.vbs -ilc %windir%\system32\oem\OEM.xrm-ms

    cscript %windir%\system32\slmgr.vbs -ipk xxxxx-xxxxx

    Thank you, that should work. However i would prefer a "dism approach" as i can append my custom and activated wim to an AIO with other editions that don't need to be activated that way.

    Anyone else have tried my approach? How can i test it without formatting my actual notebook? I think virtual machine wouldn't work because the lack of slic...

  2. Ok, now i have my sticker product key and cert.xrm-ms file (extracted from original recovery media). I've copied cert.xrm-ms into C:\Windows\System32\OEM and 'ive run:

    slmgr.vbs -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

    On reboot windows says it's activated. That's good. However with SLIC_ToolKit_V3.2 i still get No OEM Certificate found !(Run as Adminstrator). :unsure: There is something else i have to do?

    Edit: i copied the file also in C:\Windows\SysWOW64\OEM and now SLIC_ToolKit_V3.2 says it's ok. Thank you!!! :thumbup To finalize my install.wim do you think this is the correct way to save the activation status (without using setupcomplete.cmd to run slmgr.vbs):

    dims /Imagex:C:\offline /Set-Productkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    mkdir C:\offline\Windows\System32\OEM
    xcopy C:\Windows\System32\OEM\cert.xrm-ms C:\offline\Windows\System32\OEM\cert.xrm-ms
    mkdir C:\offline\Windows\SysWOW64\OEM
    xcopy C:\Windows\System32\OEM\cert.xrm-ms C:\offline\Windows\SysWOW64\OEM\cert.xrm-ms

  3. Still i can't understand. With OEM:COA + Slic 2.1 should i restore the original OEM.xrm-ms (i will take it from original restore DVD) or backup using Token Restore? I will put the relevant files directly into my custom install.wim file...

    http://www.mydigital...e-product-keys/ explains better than me

    Yes takeownership and replace.

    Might check if your bios is 2.1 then you need the OEM\OEM.xrm-ms copied from original dvd

    You have to call and activate because yours is an OEM:COA. then you can backup with a smalll program Token Restore from here http://forums.mydigi...keys-and-retail

    all it does is save 2 files from an activated PC and your install key

    You could have saved the OEM certificate from an original computer but not now

  4. I think the msp is only accessed if you remove the Sp1. Updates have their own msp file. Try it out in a VM and let me know the result. I haven't tried it.

    Problem here, SP1 is not listed under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall. I think because it's listed under "Updates" in control panel... but i can't find the reg key. Do you know where is it?

  5. delete the uninstall entry from HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall and delete the corresponding MSI/MSP from the folder C:\Windows\Installer

    Thanks, i'm going to try this in a virtual machine. It's a "safe" method? I mean if it's possible to apply future updates even if C:\Windows\Installer items are missing.

  6. The OEM\OEM.xrm-ms is different compared to other 2 files but before I got new PC with slic 2.1 I was using that method updating my oem disk with updates

    Setupcomplete runs before GUI so that should work. Trouble is all I see is flashes on the screen running cmd files so you don't know if anything goes wrong unless you pause them and look after desk loads

    Ok forget the setupcomplete.cmd method, how do i inject those 3 files in my wim? Simply copy over existing files?

  7. Since you are OEM with valid OEM key you can do that

    Not sure they will work SetupComplete.cmd I inject those into my .wim. Also by using $OEM$ this is also in place C:\Windows\System32\OEM\OEM.xrm-ms

    I prefer the solution of injectpkeyconfig.xrm-ms and tokens.dat in the wim. However pkeyconfig.xrm-ms in my activated installation is the same (i've checked md5) on that in the wim file. Also both pkeyconfig.xrm-ms are hard links... :unsure:

  8. I have used dism.exe to set the product key of my custom install.wim. La PC is a laptop so (OEM) i have to activate using phone, a long and boring call. Any chance to save activation status? I have read that i should backup these 3 files:




    and then:

    net stop sppsvc

    (copy that 3 files)

    slmgr.vbs -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

    net start sppsvc

    My question is, will it work in SetupComplete.cmd?Anyone has tried this already? Thanks

  9. Imagine having two media and you need to put install.wim that is 9000Mb in size:

    - Media 1: free 4000Mb

    - Media 2: free 5000Mb

    If you run:

    imagex /split install.wim install.swm 4000

    then you get 3 fragments install.swm (4000Mb), install2.swm (4000Mb) and install3.swm (1000Mb). But of course you only need 2 fragments. How can i merge, append install2.swm and install3.swm in order to get a fragment of 5000Mb? Thanks for helping :blushing:

  10. Yes, you can also put it in "Windows\Setup\Scripts" of Install wim as well.

    Thanks for helping. Do you think i can use the variable %~dp0 for referring to C:\ Windows\Setup\Scripts? And, will this work (removing the entire directory after completion)?


    regedit /s %~dp0Tweaks.reg


    cd %~dp0

    attrib -R -A -S -H *.*

    RMDIR /S /Q "%WINDIR%\Setup\Scripts"

  11. Ok this is working very well. What if I add another image to the existing .wim file? Can I add more metadata in Autoattend.xml and more default keys, letting people choose a certain version?

    After many tests, I see this is possible to use an Autounattend.xml file without enter keys, but some dialog boxes will be displayed:


    Maybe that can help you!

    Wll I endend up setting default product keys and without using autounattend.xml. I still have to accept eula (right after the partition selection) and to specify languages and international settings at OOBE. Not a big problem, but i thank you for the product key tip (i dind't know it) :)

  12. You can find help here about your question, I think. Read my post #28

    All availables images are inside install.wim file!

    You can use: imagex /info C:\%DVD_Folder%\sources\install.wim


    I followed your post, now each edition has its key. Using the autounattend.xml in attachment all works quite fine. The only difference is, without the key in the xml, setup still ask for license agreement (just after disk partitioning).


  13. You can use the default product key for silent installation. There are located inside the product.ini file for each Windows version.

    Choose the one you need!

    Look: %DVD%\sources\product.ini

    Really really thank you! :thumbup

    Just a little problem: when Autounattend.xml is placed on the root of the dvd, setup stop at choose version (even if there is a ei.cfg) showing a blank line... :wacko:

  • Create New...