Windows 7 OEM automatic activation?

Discussion in 'Windows 7' started by FattysGoneWild, Jun 9, 2010.

  1. FattysGoneWild

    FattysGoneWild MDL Member

    Mar 7, 2010
    247
    28
    10
    I extracted and backed up my cert/key from my OEM HP machine that came with 7. When doing a clean install. Is there a way to add the cert/key into the install for automatic activation? I am using a 7 iso and the MS usb tool. I deleted the ei.cfg file to install what ever version. But like I said. Just need to add the cert/key to the install for automatic activation on my machine.
     
  2. ippytattoo

    ippytattoo MDL Senior Member

    Jul 17, 2008
    401
    85
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. FattysGoneWild

    FattysGoneWild MDL Member

    Mar 7, 2010
    247
    28
    10
    Hi,

    I read the sticky last night and was able to insert the key/cert fine manually. Which worked out fine btw. Maybe I should have been more clear in my post. I wanted to add the cert/key into my usb stick and when windows 7 installs. It will be activated already with out me having to do it manually. If there is even a way to do that with in 7?
     
  4. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,681
    18,589
    340
  5. FattysGoneWild

    FattysGoneWild MDL Member

    Mar 7, 2010
    247
    28
    10
    Just what I was looking for! Thank you both.
     
  6. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,681
    18,589
    340
    Welcome dude.... :D
     
  7. urie

    urie Moderator
    Staff Member

    May 21, 2007
    9,039
    3,388
    300
    #9 urie, Jun 9, 2010
    Last edited by a moderator: Apr 20, 2017
    Here are two registry files that will allow you to take ownership of the folder from context menu.

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\*\shell\runas]
    @="Take Ownership"
    "NoWorkingDirectory"=""
    
    [HKEY_CLASSES_ROOT\*\shell\runas\command]
    @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
    
    [HKEY_CLASSES_ROOT\Directory\shell\runas]
    @="Take Ownership"
    "NoWorkingDirectory"=""
    
    [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
    @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
    Save as: InstallTakeOwnership.reg

    Code:
    Windows Registry Editor Version 5.00
    
    
    [-HKEY_CLASSES_ROOT\*\shell\runas]
    
    [-HKEY_CLASSES_ROOT\Directory\shell\runas]
    Save as: RemoveTakeOwnership.reg
     
  8. catdog215

    catdog215 MDL Senior Member

    Oct 21, 2009
    419
    22
    10
    #10 catdog215, Jun 9, 2010
    Last edited by a moderator: Apr 20, 2017
    Hi, where does these code (above) go in ISO? So far, i have "7 Oem Sources Folder Project" in ISO - source
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. urie

    urie Moderator
    Staff Member

    May 21, 2007
    9,039
    3,388
    300
    I was replying to FattysGoneWild, this has nothing to do with making oem slp dvd.
     
  10. catdog215

    catdog215 MDL Senior Member

    Oct 21, 2009
    419
    22
    10
    sorry. i thought with that code i can intergrate in oem slp dvd so it give ownership because some folder when i click it say i not admin.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Phazor

    Phazor MDL Expert

    Sep 1, 2009
    1,144
    518
    60
    If you only want automatic activation i would simply use an OEM folder.

    Its clean, simple and quick.

    Just drop the Cert in, add a CMD that installs the PKey, install and enjoy.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. FattysGoneWild

    FattysGoneWild MDL Member

    Mar 7, 2010
    247
    28
    10
    Thanks all!
     
  13. jasikajohnson

    jasikajohnson MDL Novice

    Jun 11, 2010
    4
    0
    0
    Here a step mentioned are really a nice and easy for all who install Windows 7 OEM,that is good you try this step then it easuly activate it install automaic activation on machine.