Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

How to avoid customer having to enter product key?


  • Please log in to reply
32 replies to this topic

#1
Jimmo

Jimmo
  • Member
  • 3 posts
  • Joined 15-July 11
  • OS:none specified
  • Country: Country Flag
Hello there!

I've had a search within the forum and around the 'net and really need to double-check with folks here...

I use the OPK to do OEM installs (non-royalty) of Windows 7 onto new build systems which are then shipped to customers. This all works fine and the unattended install completes ok without any prompting (the product key is specified in the answer file). I then add any drivers specific to the config and reseal using sysprep.

The problem is that the out of box experience prompts the end customer for the product key, which often means squinting at the label stuck to the PC case under a dark desk etc..

I'm trying to figure out the best way to avoid this for the customer. I either need to pre-activate WIndows before shipping, or at least ensure the product key is retained somewhere so that the customer system can be activated once connected to the internet. The former is ideal but the latter will do, anything that avoids the end user having to punch the product key in themselves.

I've seen posts about storing keys in the BIOS or manually adding a call to slmgr.vbs in some startup script to set the product key etc. but I'd like to check what the best method actually is. After a smooth, painless automated install, it seems a bit kludgy to have to manually add a BIOS key or script call.

Please can anyone advise on an approach?

Also - and apologies for tagging a second question in here - but I'd like to test the out of box experience after resealing so I can verify what the end customer will experience. Naturally I'd like to do this without having to activate Windows or expire the SkipRearm limit, as it may take more than 8 iterations to fine tune the environment. Any advice on how best to do this would be gratefully received! :)

Many thanks in advance for taking the time to help...

Cheers,
Jim.


How to remove advertisement from MSFN

#2
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,021 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag

Donator

#1 - unless you provide the product key in the unattend you pointed sysprep to when you reseal it, the only way around it is to use token activation (as the royalty OEMs do). You need to provide the key in the unattend you pass to sysprep, otherwise the user has to enter the key or skip activation altogether.

#2 - Use a virtual machine and snapshots, and get things 100% setup before you then do the same setup/configuration on your real hardware.
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#3
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,931 posts
  • Joined 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

I use the OPK to do OEM installs (non-royalty) of Windows 7 onto new build systems which are then shipped to customers.

I'm trying to figure out the best way to avoid this for the customer.


You are not allowed to do this. Since you are using the OPK, open the Windows OPK User's Guide. Under OEM User Experience Guidelines, License Requirements click OEM Requirements. Read the second paragraph under the "Anti-Piracy Support" section. If you have any further questions regarding Microsoft licensing, you should contact your Microsoft Partner account rep.

Since specific OPK documentation is communicated under NDA, I cannot post a quote from that guide.

MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
tpxmsfn1_zps393339c1.jpg


#4
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,021 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag

Donator

Thanks Trip - I forget which licensing terms apply to OEMs that aren't royalty anymore. Trip is right :).
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#5
Jimmo

Jimmo
  • Member
  • 3 posts
  • Joined 15-July 11
  • OS:none specified
  • Country: Country Flag
Thanks folks!

I did check out the reference and saw the difference between royalty OEM and system builder (me). Thanks Tripredacus!

This is ok, having the end user activate is perfectly fine, I just want to avoid the end customer being prompted for the product key itself during OOBE "first use" setup process.

If I understand the user guide/license requirements correctly, having the product key "pre-installed" but still requiring the user to activate their copy of windows is still legitimate for a system builder OEM, because this is not pre-activation.

I'll see about pointing sysprep at an unattend.xml as cluberti suggests (shame it doesn't pick this up from the autounattend.xml answer file which already has the key specified).

Thanks again for the help! (And the VM tip, d'oh - I should have thought of that)

Cheers
Jim

#6
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,931 posts
  • Joined 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

This is ok, having the end user activate is perfectly fine, I just want to avoid the end customer being prompted for the product key itself during OOBE "first use" setup process.

If I understand the user guide/license requirements correctly, having the product key "pre-installed" but still requiring the user to activate their copy of windows is still legitimate for a system builder OEM, because this is not pre-activation.


No it is not correct. It plainly states what is required. The only product key that should be "pre-installed" is the install key, which gets removed during sysprep anyways.

If the information I pointed to you is not present in your OPK Guide, contact your rep to get an updated copy. Also ask your rep if you should be using the OPK or if you should be using the WAIK.

MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
tpxmsfn1_zps393339c1.jpg


#7
Jimmo

Jimmo
  • Member
  • 3 posts
  • Joined 15-July 11
  • OS:none specified
  • Country: Country Flag
Got it now! I downloaded a fresh copy to be sure and yes, saw the part about the product key prompt being a mandatory part of the Windows welcome sequence.

Thanks for your patience and support.

Cheers,
Jim

#8
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,120 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Oh, this looks like exactly what I am/will be dealing with.

I am working on customized syspreped image for Lenovo desktops. When installed from the DVDs that ship with them (or more like the recovery ones I ordered), they come activated already - of course. While looking at the command prompt, I noticed a product key was being applied by standard DISM command. No activation was required after installation and everything worked. After reading this thread, I am not sure at which point shall I add the key to the image. Do I need to put it in my autounattended.xml? Or do I need to do it in a different way? So far I have syspreped the image and plan to further customize it through SIM. Will adding the product key to autounattended.xml that way work?



#9
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,931 posts
  • Joined 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

Oh, this looks like exactly what I am/will be dealing with.

I am working on customized syspreped image for Lenovo desktops. When installed from the DVDs that ship with them (or more like the recovery ones I ordered), they come activated already - of course. While looking at the command prompt, I noticed a product key was being applied by standard DISM command. No activation was required after installation and everything worked. After reading this thread, I am not sure at which point shall I add the key to the image. Do I need to put it in my autounattended.xml? Or do I need to do it in a different way? So far I have syspreped the image and plan to further customize it through SIM. Will adding the product key to autounattended.xml that way work?


The type of Windows you are using is different from the OP. The OP can't hide the product key because he is a reseller and using the OPK.

The systems you have are using OA from whoever you bought them from. The rules in the OPK would not apply to you in this case because you did not create that image. The image you make will only work on those Lenovo systems and you do not need to specify a product key. The only time activation would be needed is if you tried to put those images on other hardware.

MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
tpxmsfn1_zps393339c1.jpg


#10
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,120 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Ok then. I assume the key is only meant to be used for installation and is checked vs MS servers, but cannot be activated in the usual way, right? So simply doing dism /set-productkey (or whatever the syntax is) in autounattended.xml should be enough in my case?

#11
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,931 posts
  • Joined 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

Ok then. I assume the key is only meant to be used for installation and is checked vs MS servers, but cannot be activated in the usual way, right? So simply doing dism /set-productkey (or whatever the syntax is) in autounattended.xml should be enough in my case?


There is a different key used for installations. That one cannot be activated. If you are capturing an image based on an OEM install, it already has the product key in it, and you shouldn't have to do anything about product keys.

MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
tpxmsfn1_zps393339c1.jpg


#12
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,120 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Hm, I am actually using image downloaded from MSDN, because the one that comes from Lenovo is full of junk I don't want installed, and on top of that they do not have one with SP yet (and probably never will).

The key I discovered is being reported by 3rd party tools from live installations, so I though it was the one. No idea where to look for a different one. Either way, it can't be activated anyway. Getting confused here.



#13
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,878 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
Using image from MS don't contain things needed although it is better with SP1

Look at on

When installed from the DVDs that ship with them

System32\OEM. will probably find the files
lenovo.oemcert.100036.xrm-ms
Now also look at SETUP\SCRIPTS which probably contains .cmd files
Example:
cscript %windir%\system32\slmgr.vbs -ilc %windir%\system32\oem\lenovo.oemcert.100036.xrm-ms
cscript %windir%\system32\slmgr.vbs -ipk xxxxx-xxxxx-xxxxx

Once installed it usually deletes them .cmd files
You can look in live install Windows\Panther and find xml they use to install but product key gets stripped from it but will point at lenovo images you need also

Edited by maxXPsoft, 27 July 2011 - 07:03 AM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#14
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,120 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Nothing useful on live computers at all, and the recovery media do not contain anything visible either :(

I'll just try to throw the key that's being reported after installation into unattended file and see if it works. I guess not though.



#15
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,878 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
yes remember that now, Dell sent me an upgrade to Win 7 and all it was Microsoft Windows 7 Dvd exactly

Do you have recovery partition? I have opened that up and looked at things in the past.
I repair some PCs here so I dig under the hood to the extreme.
Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#16
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,120 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Yup, the recovery partition is present but there are only a couple of random files and images. Nothing to see.

Maybe I could install the system from the recovery DVDs and try to go to audit mode to see if there are still files to be looked for on the disk?



#17
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,878 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
yes could do that in VM actually.

Really strange you cannot see the files, are you sure you have all options unchecked under folder op[tions

Trying to remember how I took control of my entire recovery partition and was able to browse it. Have a laptop new I'll test later on
something like this run from a Admin cmd prompt. replace Administrators with your language version of it
echo y| icacls "D:\*" /grant Administrators:F /T
attrib -R -A -S -H "D:\" /S /D

Edited by maxXPsoft, 28 July 2011 - 02:48 PM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#18
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,120 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Ok I mounted the recovery partition image and found a few batch files. Each is specific to a windows edition and only contains a command for adding product key to the image used. It's the same key installed PCs report as being installed with. Is the activation done through some command, or how do they do it? Because naturally no activation is needed once the system is installed.

#19
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,931 posts
  • Joined 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

Ok I mounted the recovery partition image and found a few batch files. Each is specific to a windows edition and only contains a command for adding product key to the image used. It's the same key installed PCs report as being installed with. Is the activation done through some command, or how do they do it? Because naturally no activation is needed once the system is installed.


The image in the recovery partition should be activated already.

MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
tpxmsfn1_zps393339c1.jpg


#20
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,120 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

But that's not what I need/am asking about... How! How!?

#21
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,878 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
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

Edited by maxXPsoft, 01 August 2011 - 12:00 PM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#22
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,120 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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).

Edited by TheWalrus, 01 August 2011 - 02:23 PM.


#23
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,878 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
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 Files


Edited by maxXPsoft, 01 August 2011 - 06:58 PM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#24
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,931 posts
  • Joined 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

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.

MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
tpxmsfn1_zps393339c1.jpg


#25
Octopuss

Octopuss

    I am the walrus

  • Member
  • PipPipPipPipPipPip
  • 1,120 posts
  • Joined 31-January 07
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

I tried and they work.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users