MSFN Forum: How to avoid customer having to enter product key? - MSFN Forum

Jump to content



  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

How to avoid customer having to enter product key? OPK/OEM install with key in autounattend.xml but OOBE still prompts

#21 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 August 2011 - 11:53 AM

open admin cmd prompt and type slmgr -dli | slmgr -xpr | slmgr -dlv
if OEM then then under description it will say OEM_SLP channel

That is done with Slic 2.1 bios and the key only. Automatic activation. You must create OEM folders and add those files to your DVD\sources\$OEM$ exactly where they are in the recovery. Make sure you get the *.xrm-ms from Windows\System32\OEM and place in DVD\sources\$oem$\$$\System32\OEM

This post has been edited by maxXPsoft: 01 August 2011 - 12:00 PM



#22 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 August 2011 - 02:22 PM

I will give it a shot.

Now that I think about it, in the worst case I will install the machines with the OEM keys which are on the stickers on their sides. It's just that I still hope I will be able to do it with the Lenovo key without having to type anything anywhere (and bothering with activation).

This post has been edited by TheWalrus: 01 August 2011 - 02:23 PM


#23 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 August 2011 - 06:50 PM

OEM structure created in DVD\souces folder
$OEM$
  $$     <<- C:\Windows       $$\Web\Wallpaper     <<- Wallpapers here
      Setup\Scripts     <<- setupcomplete.cmd
      System32     <<- $$\System32\OEM     <<- OEM *.xrm-ms + valid Product Key
  $1     <<- Drive Root
      Drivers     <<-  where some OEM place driver files
      Install       <<- where I place most things and call from there. EX:   %SystemRoot%\Install\Firstlog.cmd


Done a lenovo some time back messed up with viruses here was the folders I copied from Recovery part
Plug your key in anywhere within the cmd files

Attached File(s)


This post has been edited by maxXPsoft: 01 August 2011 - 06:58 PM


#24 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 7,349
  • Joined: 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 02 August 2011 - 08:54 AM

View PostTheWalrus, on 01 August 2011 - 02:22 PM, said:

Now that I think about it, in the worst case I will install the machines with the OEM keys which are on the stickers on their sides.


Those keys cannot be used for an install. Those keys can only be used for Telephone Activation.

#25 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 August 2011 - 09:18 AM

I tried and they work.

#26 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 August 2011 - 09:00 AM

I finally got time to dig into this and copied the recovery images from one machine. After lots of hopeless looking around for the OEM folder which is not present at all, I found whole bunch of the xrm-ms. Really no idea which ones I need though. Perhaps you could help me out?




Do I understand it correctly that I just need one or more of these placed in specific DVD folder and the automatic activation will work?

#27 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 August 2011 - 02:52 PM

leave it to lenovo to do something different. d:\mount2\swwork\OEM\lenovo.xrm-ms

#28 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 August 2011 - 03:28 PM

Are you suggesting I should forget the whole thing?

#29 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 August 2011 - 03:41 PM

No thats just where they put the file, you can copy that whole OEM folder to DVD\sources\$OEM$\$$\System32\OEM

look above and copy them folders

Quote

Done a lenovo some time back messed up with viruses here was the folders I copied from Recovery part


some OEM use a script located in Windows\Setup\Scripts and it is deleted after you install.
cscript %windir%\system32\slmgr.vbs -ilc %windir%\system32\oem\oem.xrm-ms
REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "EditionID" | FINDSTR /I "Ultimate"
IF NOT ERRORLEVEL 1 SET PIDKEY=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
cscript %windir%\system32\slmgr.vbs -ipk %PIDKEY% 

This post has been edited by maxXPsoft: 05 August 2011 - 03:42 PM


#30 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 August 2011 - 03:23 AM

Question:

Simply adding $OEM$ folder into DVD\sources will make the setup copy its contents into %windir%? Or do I need some other settings from the unattended file maybe?



#31 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 August 2011 - 08:15 AM

View PostTheWalrus, on 07 August 2011 - 03:23 AM, said:

Question:

Simply adding $OEM$ folder into DVD\sources will make the setup copy its contents into %windir%? Or do I need some other settings from the unattended file maybe?
yes Look at Waik.chm Understanding Distribution Shares and Configuration Sets

Quote

Important:
Do not overwrite existing files carried and serviced by the operating system. Using $OEM$ to update or overwrite these files can cause the operating system to behave unexpectedly and result in serious issues.


#32 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 August 2011 - 06:47 AM

I must confirm that

cscript %windir%\system32\slmgr.vbs -ilc %windir%\system32\OEM\lenovo.xrm-ms
cscript %windir%\system32\slmgr.vbs -ipk xxx




works like a charm.



#33 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 August 2011 - 08:34 AM

View PostTheWalrus, on 08 August 2011 - 06:47 AM, said:

I must confirm that

cscript %windir%\system32\slmgr.vbs -ilc %windir%\system32\OEM\lenovo.xrm-ms
cscript %windir%\system32\slmgr.vbs -ipk xxx




works like a charm.

Will only work for newer PC with Slic 2.1 bios. OEM typically

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy