How to Backup and Restore Windows 7 and Server 2008 R2 Activation Status (Activate Offline On Reinstall)

Windows 7 and Windows Server 2008 R2, similar to Windows Vista and Windows Server 2008, requires user to perform activation in order to activate the Windows operating system to be used without interruption. Activation of Windows 7 and Windows Server 2008 R2, except for users who bought branded OEM computer or activate via KMS host, is normally performed online to validate against Microsoft’s activation server, or via phone activation.

One inconvenience brought by activation is that Microsoft limits and restricts the number of time that online activation can be done. Anything more than that will require user to call Microsoft activation hotline to go through manual hectic process to activate via phone.

Besides, not many people will like to “contact” Microsoft every time after reinstalling or reformating the PC or computer for a fresh and clean start. So it would be great if the “activated” activation status of Windows OS can be preserved, or backed up and restored after re-installation so that Windows 7 and Windows Server 2008 R2 can be activated offline or without connecting to Microsoft’s activation server.

Try the following trick to backup activation files for Windows 7 or Windows Server 2008 R2, which has been previously been activated, prior to reinstallation. Note that the workaround should only be tried by users who want to clean install Windows, as if user (i.e. want to upgrade to bigger hard disk) makes a clone image of physical hard disk with Norton Ghost or Acronis True Image, all application programs, data, resources together with activation status will be automatically preserved.

  1. Copy and save or backup the following activation-related files to external storage medium such as USB flash drive or portable hard disk drive:

    %SystemDrive%\Windows\ServiceProfiles\NetWorkService\
    AppData\Roaming\Microsoft\SoftwarePlatform\Tokens.dat

    and,

    %SystemDrive%\Windows\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms

    Note: For 64-bit (x64) OS, %SystemDrive%\Windows\SysWOW64\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms have to be backed up too.

  2. Retrieve and record the product key used to install and activate the current Windows 7 or Windows Server 2008 R2.

    Tip: If you can’t remember the product key used, there is plenty of product key viewers available to help.

  3. Reinstall Windows 7 or Windows Server 2008 R2. When installation wizard prompts for a product key for activation, leave it blank (do not enter anything).
  4. In the newly installed Windows operating system, stop the Software Protection Service in Services.msc or with the following command (run in elevated command prompt):

    net stop sppsvc

  5. Navigate to the following folder:

    %SystemDrive%\Windows\System32\spp\tokens\pkeyconfig\

    Note: In 64-bit (x64) operating system, also perform the action in %SystemDrive%\Windows\SysWOW64\spp\tokens\pkeyconfig\ folder.

  6. Take ownership and give user full control permissions (alternatively add grant full control right click menu item) to pkeyconfig.xrm-ms file.
  7. Delete the original default pkeyconfig.xrm-ms file, and replace with the backup copy.
  8. Navigate to the following folder:

    %SystemDrive%\Windows\ServiceProfiles\NetWorkService\
    AppData\Roaming\Microsoft\SoftwarePlatform\

  9. Take ownership and give user full control permissions (alternatively add grant full control right click menu item) to tokens.dat file.
  10. Delete the original default tokens.dat file, and replace with the backup copy.
  11. Restart the Software Protection Service in Services.msc or with the following command (run in elevated command prompt):

    net start sppsvc

  12. Register the product key for Windows 7 or Windows Server 2008 R2 with the following command (run in elevated command prompt):

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

    Replace xxxxx-xxxxx-xxxxx-xxxxx-xxxxx with the actual product key.

  13. Windows will activated instantly, off-line. To check activation status, uses of of the following commands:

    slmgr.vbs -dlv
    slmgr.vbs -dli
    slmgr.vbs -ato

Note that the ability to backup and restore old activation status in order to pre-activate or ready-activate a machine after re-installation must be on the same hardware without any hardware change, else user will need to activate online again. Besides, the product key used must be the same serial code too. The hack also does not apply to OEM branded computer which has Windows pre-activated and KMS host activated Windows system.

Users who want an automated tools to preserve the activated status by backing up and restore the activation information can also try Win7/Srv 08 R2 Activation Info Backup Tools posted on My Digital Life Forums.

7 Responses to “How to Backup and Restore Windows 7 and Server 2008 R2 Activation Status (Activate Offline On Reinstall)”

  1. Product_ID van Windows
    December 21st, 2009 20:49
    7

    [...] usb stick in de system32 map. Herstart de pc Win 7 is iets ingewikkelder maar de procedure kan je hier nalezen (in het engels) __________________ There is never time to do it right but there is always [...]

  2. FYI: Windows 7 Home Premium Retail Box Full Version - RM429 (S$176) at JB - Page 2 - VRForums - IT & Singapore Lifestyle Community
    December 11th, 2009 07:31
    6

    [...] will be handy in case of the need to do a fresh installation of the OS when outside SE Asia. From this article, the backup involves only 2 files for the 32-bit Windows 7 and 3 files for the 64-bit Windows 7. [...]

  3. johnr
    December 8th, 2009 03:14
    5

    Good info. Much appreciated. Thanks.

  4. Keith Weisshar
    November 28th, 2009 10:52
    4

    As long as you write down the confirmation ID during a phone activation you may not need to call MS again if the hardware ID is the same after reformatting. Only need to call MS if the hardware ID changes.

  5. admin
    September 26th, 2009 01:57
    3

    Thanks, corrected.

  6. kukori
    September 25th, 2009 19:25
    2

    “Restart the Software Protection Service in Services.msc or with the following command (run in elevated command prompt):
    net stop sppsvc” Not “net stop sppsvc”, it’s already stopped. Please restart sppsvc with: “net start sppsvc”!

  7. ipkonfig
    September 24th, 2009 19:22
    1

    Thanks for the info :)

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to My Digital Life Comments RSS feed to receive notification of latest comments posted.

New Articles

Incoming Search Terms for the Article

backup windows 7 activation - windows 7 activation backup - windows 7 backup activation - backup windows 7 activation files - Windows 7 Activation Info Backup Tool - backup activation windows 7 - how to backup windows 7 activation - windows 7 Activation Backup and Restore - save windows 7 activation - back up windows 7 activation - Activation Backup and Restore windows 7 - windows 7 save activation - activation backup windows 7 - backing up windows 7 activation - how to save windows 7 activation - Windows 7 Activation Info Backup Tool. - activation backup and restore - backup activate windows 7 - backup and restore windows 7 activation - backup windows 7 oem activation - Download Windows 7 Activation Info Backup Tool - windows 7 activation backup restore - windows 7 oem activation backup - windows 7 activation backup tool - backup win7 activation - backup windows 7 activation file - windows 7 backup activation files - how to back up windows 7 activation - Activation Backup & Restore for OEM Windows 7 - Backup restore windows 7 activation - activation backup restore windows 7 - windows 7 software protection service - windows server 2008 r2 backup - windows 7 activation save - Software Protection service windows 7 - backup win 7 activation - windows activation backup - backup activation "windows 7" - windows 7 activation files backup - win7 activation backup - backup windows 7 activation status - save windows 7 activation information - Backup and Restore Win 7 OEM Activation License - backup windows 7 license - save activation windows 7 - windows 7 license backup - "Windows 7" backup activation - windows 7 reinstall activation - all - reinstall windows 7 activation - how to backup windows 7 license - windows 7 activation back up - backup windows 7 activation data - back up the Software Protection Service - stop Software Protection Service - backup windows 7 licence - backup activation file windows 7 - windows 7 professional activation file backup - backup windows7 activation - windows xp backup restore windows 7 - Win7/Srv 08 R2 Activation Info Backup Tools - Back up windows 7 activation files - windows 7 activation files - backup server 2008 r2 - Download Windows 7 Activation Info Backup Tool. - recover windows 7 activation pkeyconfig.xrm - backup and restore windows 7 - backup windows 7 key - save activation on windows server 2008 r2 - reinstalling windows 7 activation - windows server 2008 activation backup - windows 7 activation restore - reinstall windows 7 without activation - how to windows 7 restore activation - How to backup Windows 7 key and activation -