OEM Prestage media

Hi We have environment where we have SCCM 2012 R2 with integration of MDT 2013.
Need to configure a solution for OEM Prestage media however could not find any detailed document/step by step guide for that.
Would be thankful for any guidance or document.

Some good guidance is here:
http://blogs.technet.com/b/system_center_configuration_manager_operating_system_deployment_support_blog/archive/2014/04/02/how-to-apply-task-sequence-prestaged-media-on-multi-partitioned-disks-for-bios-or-uefi-pcs-in-system-center-configuration-manager.aspx
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

Similar Messages

  • SCCM 2007 - task sequence - prestaged media - self-signed certificates - error message 'Certificate has expired for this media'

    Hi there
    Quick scenario.
    We have created a task sequence prestaged media .wim file (SCCM 2007, client OS is Windows XP).
    Recently some of these swap-out machinses, on delivery and start up, have started showing this message:
    'Certificate has expired for this media'.
    This is because the self-signed certificate created during the prestaged media creation process has expired.
    My question is: is it possible to mount the image using dism or imagex and then inject an updated sertificate?
    Best regards
    John

    the disk that has the prestaged media applied must be the boot partition.
    create a task sequence to stage the prestaged media. In this task run a format and partition step which configures both the system disk and the os disk, though make the os disk the active boot partition. Then apply the prestage wim.
    On your deploy task, somewhere after the OS has applied create a group that runs only if the media is OEM (from memory  _SMSTSMedia =
    OEMMedia)
    in this group run the command bcdboot C:\Windows /s F: /f ALL where f: is the drive letter assigned to the system disk, then run another step that removes the drive letter and reboots. The deploy task will now continue and you will be booting to the system
    partition.
    So I wanted to get back to working on this issue.  I noticed that when I said it Worked that it was actually still booting from C drive instead of the reserved partition.  For the past few days I have been trying to get the prestaged to work like
    a network deploy but fail every time.  I cannot get the prestaged to boot from any other partition other then the partition where windows was imaged too.
    So where I am at today.  When I do as suggest above the D drive (The reserved Boot volume) return on reboot. it will not stay hidden.  also the OS is till booting from C and does not change to the D drive or no drive letter drive with the above
    commands.  I think there is some other command missing that tells it to boot from a new location that is not bcdboot.
    Has anyone seen any guides for how to use prestaged and bitlocker enabled task sequence?  I think that would help me figure out my current issues as with bitlocker you must have this other partition.

  • Error: 80070057 Apply Prestage Media

    Hi all
    I am using the task sequence by Frank Rojas (http://tinyurl.com/k2va766
    ) to Apply prestage media. For what ever reason, it keeps failing, and sometime works, I have no idea why.
    The error
    Failed to run the action: Error in the task sequence. This is usually caused by a problem with the program. Please check the Microsoft Knowledge Base to determine if this is a known issue or contact Microsoft Support Services for further assistance.
    The parameter is incorrect. (Error: 80070057; Source: Windows)]LOG]!><time="16:49:53.863+360" date="01-15-2015" component="TSManager" context="" type="3" thread="924" file="instruction.cxx:895">

    I cant see anything else other than the one I posted, and it does not look like it is reconized as a refresh. Might that be the issue?
    http://1drv.ms/1BzEVQu
    SOLVED, seems to be ZTIGather error not recognizing the fact that this is a REFRESH. Neither _SMSTSMediaType or _SMSTSLaunchMode
    are recognized.

  • OSD: apply prestaged media in TS2, reboot, then run TS1 automatically

    Hi,
    Please see my previous thread
    http://social.technet.microsoft.com/Forums/en-US/b2da9a0a-eb00-4dc9-bc84-5a253e6cf2ba/osd-prestaged-media-apply-reboot-and-run-specific-ts?forum=configmanagersecurity
    The solution provided is correct for 1 task sequence, but not for 2 task sequences.
    What I found is this great guide from Torsten: 
    http://www.mssccmfaq.de/2012/08/14/prestart-command-und-smstspreferredadvertid/
    It should make the following possible:
    1.create prestaged media from TS1 =  full TS (NOT selecting “allow unattended operating system deployment”, since I won’t deploy it mandatory (correct?)
    2.set vbscript in prestaged media, step customization “enable prestart”, cscript.exe setpreferadvid.vbs
    set objOSDenv = CreateObject ("Microsoft.SMS.TSEnvironment")
    objOSDenv ("SMSTSPreferredAdvertID") = "TS1"
    3.apply this prestaged media in TS2
    4.create standalone media from TS2 and set it with the same as step 2 but then TS2 as SMSTSPreferredAdvertID
    5.Write this ISO to DVD/USB
    This should result in booting from a DVD/USB and applying TS2 (= prestaged media of TS1) then rebooting (wpeutil reboot in TS2) and automatically select TS1.
    This should work, right?
    Pls advise. J.
    Jan Hoedt

    From Torstens blog:
    An alternative solution would be to use of "required" (ie mandatory) deployments, but this is not always feasible in this form.
    Here now comes so again the prestart-command to set the SMSTSPreferredAdvertID into play.
    One of my simple example I have used the following script:
    You mention to make TS1 mandatory, but TS2 has to be mandatory too. As I mentioned, I don't see howto make 2 task sequences mandatory (there can only be one mandatory).
    Let me clarify:
    1. prestaged media from TS1 (prestaged.wim), in this prestaged media you would set the 
    SMSTSPreferredAdvertID = TS1, but then this TS1 has to be mandatory
    2. import this prestaged.wim and apply it in TS2, this TS2 has also to be mandatory
    I first want to deploy the TS2 via sccm, when ok, make standalone media (it takes an hour to make the mediafiles to I need first to be sure the process works).
    If I understand Torstens blog, with the script you don't need to set the TS to be mandatory. That gives us flexibility to set automatically the TS without worrying about mandatory or not.
    ... or do I see this wrong?
    Practically: do I need to set the media to "allow unattended operating system" in my prestaged media/standalone and can I avoid the mandatory assigments by the script.
    J.
    Jan Hoedt
    In other words: TS2 runs prestaged media in which TS1 is set mandatory, how can TS2 then run (TS1 will run because it is mandatory).

  • SCCM 2012 Prestage media - and bootwim prestart commands?

    Hi,
    I am using SCCM 2012 SP1 with MDT 2012 and will be using the Bootwim prestart commands.
    Prestart Commands for Task Sequence Media in Configuration Manager
    http://technet.microsoft.com/en-us/library/jj651034.aspx
    Specifically:
    "Enable prestart command - Commaand line"
    "Include files for prestart command - Source directory"
    Windows PE Background - specify custom background image (UNC Path):"
    Ok so far so good. Now we want to create prestart media - to give to our
    hardware vendor. Am I going to have an issue that the prestage media might
    include the bootwim plus its customizations - and can go out of date.
    So lets save I give it to the vendor on Monday - all fine. I then make a
    change to it on Tuesday - update something inside the boot wim.
    How smart is this prestage media will it check the server for a later copy
    and use that or am it going to be locked in from when I give it to them.
    I also might want to put things like active directory lookups for machine
    validate as well.
    So can somebody please clarify how the above would work.
    Thanks,
    Ward.

    Normally when you run a Task Sequence and the assigned boot image is different from the boot media you initiated the Task Sequence from, it will download the correct boot image, stage it, and reboot.  By default though this creates an issue because
    it assumes you booted from removable media and will prompt you to remove it before rebooting to continue.  There's a way to bypass this via the tsmbootstrap.ini file, but the default behavior is to prompt.
    I have also seen issues with boot image concurrence between prestaged media images and the selected Task Sequence when the functionality was originally introduced in CM07 (http://myitforum.com/myitforumwp/2012/07/12/multi-site-dell-cfi-follow-up/) but I
    have not heard of it being an issue recently.  It should be relatively easy to test; apply the prestaged media image to a test machine, change or update the assigned boot image for the Task Sequence, then see if it successfully pulls down and boots to
    the updated WinPE.
    Another option is to have your prestart script be relatively generic and have it download the files from a server at run time (ex - download a .CAB from a web server, expand the contents, and launch a script from those downloaded files). That way all you
    have to do to update functionality is update the .CAB file, not the prestaged media or boot image.

  • Prestaged Media doesn't use local package content with UDDI TS.

    I created UDDI TS in SCCM 2012 R2.  I have Office available for user if they wish(package). 
    I created prestaged media where I added explicitely the Office package and put the wim on harddisk.
    When I am running TS and choose Office through UDDI it still downloads all content from DP instead of having it from local content. 
    Any ideas ?
    When I put Office as explicit "install package" step then the content is not dowloaded.

    Hi,
    Please check smsts.log to find more information. When you deploy a task sequence that uses prestaged media, the wizard checks the local task sequence cache for valid content first, and if the content cannot be found or has been revised, the wizard downloads
    the content from the distribution point.
    Best Regards,
    Joyce

  • Create Prestaged Media task sequence fail - Failed to mount WIM file (0x80070002) & Failed to create media (0x80070002)

    Hi there
    Experiencing an OSD task sequence failure.
    The failure messages at the end are:
    Failed to mount WIM file (0x80070002)
    Failed to create media (0x80070002)
    Have looked into this, however 0x80070002 appears to be a generic error code which can cover a variety of problems.
    One thing I'm not sure about at all is the CreateTempDirectory process. I'm not sure about this because the Temp Directory it creates is, according to Task32, stored in a cached profile which no longer exists on the machine I'm running the SCCM console from.
    Could this be a problem?
    Looking at the CreateTSmedia.log via task32, these lines are viewable:
    CreateTSMedia
    Requested output path: C:\temp
    CreateTempDirectory
    Temp Directory C:\DOCUME~1\PROFILE~1\LOCALS~1\Temp\_tsmedia_1612 created
    That path cannot exist because that profile is no longer present on the machine - so where exactly is the task sequence storing these temp files??
    Can someone confirm if this Temp Directory path is vital to the task sequence successfully completing or not, and if it IS important how to set the Temp Directory?
    Thank
    John

    Ok, can rule out the issue with Temp Directory path. 
    Uninstalled SCCM admin console, defined new temp and tmp folders in env var, installed SCCM admin console, started another PreStage media job, failed again with same errors.
    Failed to mount WIM file 0x80070002
    Failed to create media 0x80070002
    CreatTSMedia failed with error 0x80070002 details MediaGenerator 
    Can't figure out what 'The system cannot find the file specified' means, the temp files are clearly being created during the media creation process and I have local administrator rights to the machine I am using.
    John

  • Prestaged Media Creation Failure 2012 R2

    Hi All
    I am attempting to create a pre-staged media file for a task sequence. When I run it against my captured image, I get this:
    Staging OS Image Package in OEM media scenario LPS000FA CreateTsMedia 31/01/2014 16:54:13 16104 (0x3EE8)
    Loaded C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\x86\DISM\wimgapi.dll CreateTsMedia 31/01/2014 16:54:13 16104 (0x3EE8)
    Applying wim image w7ENTx64.wim (package LPS000FA) to C:\Users\SA_MCG~1\AppData\Local\Temp\_tsmedia_16104\stage CreateTsMedia 31/01/2014 16:54:13 16104 (0x3EE8)
    Opening image file G:\SCCMContentLib\FileLib\A10E\A10E7F2D1E6032BE7C1AD5D9DEA9EEE6FC8F23E6EFD17D62E235E31E13FD725D CreateTsMedia 31/01/2014 16:54:13 16104 (0x3EE8)
    Applying image 1 to volume C:\Users\SA_MCG~1\AppData\Local\Temp\_tsmedia_16104\stage CreateTsMedia 31/01/2014 16:54:13 16104 (0x3EE8)
    Set TS Variable - OS TargetSystemRoot=WINDOWS CreateTsMedia 31/01/2014 16:57:56 16104 (0x3EE8)
    Set TS Variable - OS ImageVersion=1 CreateTsMedia 31/01/2014 16:57:56 16104 (0x3EE8)
    Set TS Variable - OS ImageCreator=Stephen McGuigan CreateTsMedia 31/01/2014 16:57:56 16104 (0x3EE8)
    Set TS Variable - OS Architecture=9 CreateTsMedia 31/01/2014 16:57:56 16104 (0x3EE8)
    Back up OS bootsystem files from C:\Users\SA_MCG~1\AppData\Local\Temp\_tsmedia_16104\stage to a subfolder C:\Users\SA_MCG~1\AppData\Local\Temp\_tsmedia_16104\stage\OEMMedia CreateTsMedia 31/01/2014 16:57:56 16104 (0x3EE8)
    Closing image file G:\SCCMContentLib\FileLib\A10E\A10E7F2D1E6032BE7C1AD5D9DEA9EEE6FC8F23E6EFD17D62E235E31E13FD725D CreateTsMedia 31/01/2014 16:57:56 16104 (0x3EE8)
    Failed to create media (0x80070490) CreateTsMedia 31/01/2014 16:57:56 16104 (0x3EE8)
    CreateTsMedia failed with error 0x80070490, details='LPS000FA' CreateTsMedia 31/01/2014 16:57:56 16104 (0x3EE8)
    MediaGenerator::~MediaGenerator() CreateTsMedia 31/01/2014 16:57:56 16104 (0x3EE8)
    LPS000FA CreateTsMedia 31/01/2014 16:58:52 16104 (0x3EE8)
    Media creation process that was started from Admin Console completed.
     CreateTsMedia 31/01/2014 16:58:52 10676 (0x29B4)
    CreateMedia.exe finished with error code 80070490 CreateTsMedia 31/01/2014 16:58:52 10676 (0x29B4)
    And the creation of the media fails.
    The task sequence itself is a basic task sequence with no drivers or apps (removed to rule out)
    any suggestions are appreciated
    thanks

    Hi Stephen, I am having exacly the same issue. 
    My Setup is Windows Server 2012 R2, with the last hostfix list installed, CM 2012 R2 CU1 installed and trying the prestare a TS with a W8.1 U1 Capture. 
    I installed an aditional Server with the same configuration I migrated all the objects and in this other server it works ok. This confuse me even more.
    Did you find the root couse of this issue? Do you have aditional information.
    Thanks in advance
    Jesus Belinchon

  • Prestaged Media and Bitlocker Pre-Provisioning

    Hi all
    I am working on a project right now that requires all computers to be pre-provisioned with bitlocker
    I have managed to get pre-provisioning working with no issues. the pre-provisioning kicks in directly after the disk formatting and the Enable Bitlocker step works perfectly after the domain join.
    I have also been able to get pre-staging of media working (after a short fight with it) and I can deploy my task sequence to a pre-staging WIM. I can then deploy that to a disk as a data image and the build proceeds after the first boot.
    What I cant get to work, it both together.
    In an ideal world, I would pre-provision the bitlocker in the pre-staging task sequence before deploying the data image. bit I cant get it to work.
    If I partition with more than one partition (so I have a BDE partition) and use the small partition as a boot disk, the machine fails to boot.
    If I make the larger partition the boot partition, the bitlocker pre-provisioning task tells me that the disk os the os image and fails to work
    has anyone done this or have any ideas?
    thanks
    Stephen

    I guess the pre-provision bitlocker cannot work for booting Windows PE. This is why the system cannot boot.
    The screenshot is a capture of the prestage disk bcd store. We can see the system boots from a ramdisk mouted from boot.wim. The process is different from a traditional system boot, the wim cannot be booted from anencrypted disk.
    Juke Chou
    TechNet Community Support

  • MDT OEM pre staging setup question/error

    See below error...
    Do you have any items for me to start with troubleshooting? 
    Made selection profile, setup media, did the OEM prestage task and dumped it to the drive... and on boot I start up the machine and it can't find the deploy folder... it is there on the disk I can see it in command prompt.

    Dan:
    Yes this is what I am doing.
    The Media I create is 67GB iso, I burn to usb drive with iso-to-usb. 
    It has selection profile with driver for the machine it is targeted to, OS, Apps and TS's associated with the process.
    I update media multiple times, at least every time I make a change during trouble shooting, and then dump to the iso to usb (or for quick testing I use VM and mount)
    Then I insert the USB drive or Mount ISO and boot from it, and run the OEM staging TS. It says success, click okay to shut the machine down or it will shut down uatomatically in 20 minutes .
    I assumed this TS dumped the DS to the drive.
    I then disconnect usb drive and to on to simulate the delivery of a new machine and on first boot I get that screen above. Examining the drive I see none of my deployment share on the drive.
    Am I not understanding the purpose of the OEM staging?
    If i put the usb drive in it will connect to the share on the drive... that is useless.
    I must be setting something in the wrong manner.
    dave

  • What is OEM Preload option.

    I want to know details about OEM preload option. I just know that we can provide our image t manufacturer for installing our image in the box. Please let me know if I am wrong.
    ~VST

    Good guide here
    http://blogs.technet.com/b/infratalks/archive/2013/09/23/prestaged-media-changes-and-step-by-step-tutorial-of-creating-a-prestaged-media-in-system-center-configuration-manager-2012-sp1.aspx
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Windows 7/8.1 OEM to Windows 10 Retail (Free) Discussion

    Microsoft has made it known that Windows 10 will be a free upgrade to Windows 7 and Windows 8.1 users. I think its time we have a discussion on the Dell Community Forums about Windows 10.
    Post #1 Windows 10 Digital Deployment and How to Leave Feedback to Microsoft
    Windows 10 will likely be released in Late Summer.
    The deployment methods of Windows 10 are still not yet fully known. I advise Microsoft deploy Windows 10 in a certain way so end-users can readily repair an installation or reinstall on a new hard drive or a corrupt install.
    Please Add your Votes so Microsoft Address this Critical Feedback
    If you have the concerns this page has on Windows 10 Installation Media then please support my ideas so Microsoft Addresses them:
    1. Windows UserVoice
    go to this link and vote this idea up and share so everyone else votes it up.
    https://windows.uservoice.com/forums/265757-windows-feature-suggestions/suggestions/7236772-windows-7-oem-to-windows-10-retail
    2. Microsoft Answers
    Also if you log in with your Microsoft Account on Microsoft Answers and hit "Me Too"
    http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_install/how-will-the-final-release-will-be-rolled-out/73c37498-5124-4f9b-85cc-c75468d7c37a
    3. Windows 10 Feedback App
    If you are a Windows Insider Feedback please also use the Feedback App.
    Launch the App.
    Select Windows Installation and Set-Up
    Search for Windows 7 OEM
    Comment including any issues you've ever had attempting to download Windows 7 or procure installation media:
     On the Dell Community Forums we are getting concerned at how Windows 10 will be released in particular the Windows 7 OEM UserBase.
    YouTube Video - Windows 7 to Windows 10 via Windows Update
    https://www.youtube.com/watch?v=cvY_VjFZATk
    How Could Microsoft Release the Update?
    Scenario 1 and 2 will cause issues.
    Scenario 1: "Windows Update (Only)"
    Update 19/03/2015 Microsoft have made it known they will provide a .iso and hence not enforce a Windows Update only Upgrade path. Looks like they are taking some steps in the correct direction.
    This .iso should be available for download and reinstallation but it hasn't been stated how product keys will be issued. Provided a key is issued correctly (i.e. sent to a user in an email or linked to a Microsoft Account as in scenario 3) the user should be able to download the .iso at a later date and not need to carry out a double install for reinstallation.
    Source:
    http://channel9.msdn.com/Events/WinHEC/2015/OWD100
    Scenario 2: "A Key for a Key"
    Update 18/03/2015 Free Windows 10 Upgrade for Chinese Pirates: http://www.bbc.co.uk/news/technology-31940716
    In such cases the Windows 7 Product Key probably won't be needed. Microsoft aren't likely to appease pirates while simultaneously making life difficult for genuine customers.
    COA Issues
    If users have to input their 25 digit Windows 7 product key from their COA. In theory this would work.
    In practice however if this is the only method of installation for the free upgrade then there is a problem for a large fraction of the Windows 7 OEM userbase. Microsoft provided OEMs such as Dell with COAs of terrible print quality. This didn't matter for Windows 7 OEM as OEM installation media input a generic Dell OEM SLP key.
    A case like this is not uncommon and is more common for other OEMs as Dell shielded COAs by placing them under the battery.
    Scenario 3: Windows 10 .iso and Product Key Linked to Microsoft Account
    This is the only logically working scenario that I can see is a utility which performs the following functions:
    Checks the Base Windows License is Genuine*
    Tells user to Sign in with a Microsoft Account
    Assigns a Product Key to the Microsoft Account (similar to Office Online)
    Gives the user an option to install Windows 10 via Windows Update or to Create Installation Media for Clean Installation
    End User can later sign in with their Microsoft Account to Download a Windows 10 .iso and obtain their product key
    * Update 18/03/2015 Free Windows 10 Upgrade for Chinese Pirates: http://www.bbc.co.uk/news/technology-31940716

    #8 The Start Menu and User Interface
    1. The Start Menu
    Allow Drag and Drop from the left list to the right pinned icons. Update build 10041, Microsoft have done this.
    The Start menu is bloated with Metro Apps, making it more cumbersome to find useful installed programs. Example of Start Menu to the left bloated with Metro Apps.
    These should all be in a Windows Apps folder similar to all the (more useful) items in the Windows Accessories folder.
    2. Windows and X Menu (Right Click Start)
    Please add your votes to my Windows UserVoice suggestion here.
    Add the following to the “Windows and X” menu:
    Windows Defender
    Windows Defender Offline
    Devices and Printers
    .iso to Bootable USB Utility
    "Settings" → This definitely has to be here
    Make the Windows and X Menu look like part of Windows 10.
    3. Windows Defender
    Add it to the Windows and X Menu as described above and also add right click context menus like Microsoft Security Essentials had:
    4. Minor Feedback
    I'm not a great fan of the new icons, the folders are too bright and it looks like they have been drawn in Microsoft paint. The Recycle bin particularly looks terrible.

  • Recovery Media Files are Missing or Corrupt

    Computer will not refresh or reset. Reinstallation functions (Microsoft and OEM) do not work. Messages state
    The Factory Recovery Partition that was included with your system is missing or corrupt. Some Features including recovery media creation, factory image restore and system backup may not work but you continue to use the application. (OEM)
    Insert media
    Some files are missing. Your Windows installation or recovery media will provide these files. (Microsoft)
    A required drive partition is missing. (Microsoft)
    Recovery drives are visible in Storage area of Computer Management of Administrative Tools.
    Internet research produced evidence of a virus. Article described symptoms as prevents users and installed programs from accessing popular and security websites required for normal function, which belong to several antivirus companies, prevents programs
    whose window title contains various text strings from being run, disables numerous computer functions, hides folders, makes antivirus programs inaccessible, and obtains information from the computer, such as IP address, name, geographical area, etc. Two items
    specifically listed were found in the registry
    HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Active Setup\DisableRepair = dword:00000001
    HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Active Setup\JITSetupPage = file://%windir%\\web\\iejit.htm Phase =dword:00000006
    Those entries were deleted. All items identified in the article where checked on computer. The following entries are questioned and advice is sought.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Amigo Disabled\hkcmds.exe (Graphics adapter)
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Amigo Disabled\igfxpers.exe (Graphics adapter)
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\ForceActiveDesktopOn = dword:00000000
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoActiveDesktop = dword:00000001
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoActiveDesktopChanges = dword:00000001
    Advice would be helpful.

    Hi,
    If you want to reset or refresh your Windows, then I'd like to share this link with you:
    http://windows.microsoft.com/en-IN/windows-8/restore-refresh-reset-pc
    the reason why I share it with you is that the reset and refresh situations are different depending on the system installed in your machine.
    if the system does have a recovery partition, then it might be corrupted, I'm afraid that you eill need to contact the PC manufactiure for a DVD disk.
    By the way, Windows 8\8.1 also has some built-in advanced recovery options, you can boot your PC into recovery console to perform some troubleshooting steps.
    Yolanda Zhu
    TechNet Community Support

  • Is this script legal to recover the OEM Product-Key?

    Is known as ShowKey.vbs, but I want to know if it is legal to use:
    Set WshShell = CreateObject("WScript.Shell")
    Key = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\"
    DigitalID = WshShell.RegRead(key & "DigitalProductId")
    ProductName = "Product Name: " & WshShell.RegRead(Key & "ProductName") & vbNewLine
    ProductID = "Product ID: " & WshShell.RegRead(Key & "ProductID") & vbNewLine
    ProductKey = "Installed Key: " & ConvertToKey(DigitalID)
    ProductID = ProductName & ProductID & ProductKey
    If vbYes = MsgBox(ProductId & vblf & vblf & "Save to a file?", vbYesNo + vbQuestion, "Windows Key Information") then
       Save ProductID
    End if
    Function ConvertToKey(Key)
        Const KeyOffset = 52
        isWin8 = (Key(66) \ 6) And 1
        Key(66) = (Key(66) And &HF7) Or ((isWin8 And 2) * 4)
        i = 24
        Chars = "BCDFGHJKMPQRTVWXY2346789"
        Do
            Cur = 0
            X = 14
            Do
                Cur = Cur * 256
                Cur = Key(X + KeyOffset) + Cur
                Key(X + KeyOffset) = (Cur \ 24)
                Cur = Cur Mod 24
                X = X -1
            Loop While X >= 0
            i = i -1
            KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput
            Last = Cur
        Loop While i >= 0
        If (isWin8 = 1) Then
            keypart1 = Mid(KeyOutput, 2, Last)
            insert = "N"
            KeyOutput = Replace(KeyOutput, keypart1, keypart1 & insert, 2, 1, 0)
            If Last = 0 Then KeyOutput = insert & KeyOutput
        End If
        a = Mid(KeyOutput, 1, 5)
        b = Mid(KeyOutput, 6, 5)
        c = Mid(KeyOutput, 11, 5)
        d = Mid(KeyOutput, 16, 5)
        e = Mid(KeyOutput, 21, 5)
        ConvertToKey = a & "-" & b & "-" & c & "-" & d & "-" & e
    End Function
    Function Save(Data)
        Const ForWRITING = 2
        Const asASCII = 0
        Dim fso, f, fName, ts
        fName = "Windows Key.txt"
        Set fso = CreateObject("Scripting.FileSystemObject")
        fso.CreateTextFile fName
        Set f = fso.GetFile(fName)
        Set f = f.OpenAsTextStream(ForWRITING, asASCII)
        f.Writeline Data
        f.Close
    End Function

    Hi!
    From what I can understand, this is in a bit of a "gray zone", showing the key isn't illegal, but if you plan on using it again, when doing a re-install of the system it isn't allowed, or use it on another computer for that matter,
    In these cases, you should use the recovery media that is shipped with your computer or download it from the manufacturer.
    The OEM
    recovery media should match the product version originally preinstalled on the system; no other image may be used to restore the system to its original
    state.
    I would contact MS and see what they are saying, depending
    on what you need the key for of course:
    https://support.microsoft.com/en-us/kb/326246?wa=wsignin1.0
    Best regards
    Andreas Molin
    Andreas Molin | Site: www.guidestomicrosoft.com | Twitter: andreas_molin

  • Windows7 pro oem activation

    Hi All,
    I have got a Toshiba Tecra laptop it came with windows7 Pro installed but with windows 8 recovery. I had to replace the harddisk and I could not restore windows7 back to it so I had to download windows 7. First I could not install the OS.
    I had to disable UEFI and CSM to install the OS. I am finding it really hard to activate it and Toshiba support charge £30 ish poung for recovery dvd. I have validated the windows at
    http://windows.microsoft.com/en-GB/windows/genuine but unable to activate it. Could someone please help me or at least give me a microsoft number or something to activate it.
    Thanks,

    I would remember not to buy from Toshiba or any other this kind of OEM manufacturer in the future.
    Unfortunately, all OEM notebook computers pre-licensed/pre-installed with Windows, don't have the Windows product key on the sticker any more.
    And, in the near future, dual-licensed/downgradable  (Windows8 + Windows7) will cease.
    Both of these OEM licensing offerings are controlled by MSFT, not by the OEMs.
    In my organisation, we have a lot of Toshiba notebooks (20,000), and for the product key vs. COA vs. recovery-media, this situation has been in place for quite some time.
    Whenever anybody buys a new computer from a Tier1 OEM, it's best to use the OEM recovery software utility to create the recovery media (either DVD or UFD).
    It's the very first thing you should do when you buy a new computer (in my opinion).
    (Even though in my organisation we don't use the OEM factory media for our deployments, it's handy to have the OEM as a reference)
    If you must have Windows7 on this computer, you will need to spend the money on the Toshiba recovery DVD (or contact somebody who has the exactly identical model, and use their recovery media or their computer to create a recovery set).
    (The Tecra R940 does use a common mainboard with other models such as Portege R930, Tecra R950, and some others too, so the recovery media will be the same)
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

Maybe you are looking for