MSFN Forum: Script used for Windows and Office activation info backup and restorin - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Script used for Windows and Office activation info backup and restorin New script released!

#1 User is offline   Rico.JohnnY 

  • Member
  • PipPip
  • Group: Members
  • Posts: 246
  • Joined: 02-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 February 2011 - 03:39 AM

Attached File  2013-3-9 4-54-53.jpg (39.49K)
Number of downloads: 1


2013-03-14
Added: license status check before backup
Added: prompt for saving product key of Office2013(if activated) in the Windows8/2012 backup scenario.



2013-03-09
Previous "LicRestore.cmd" now deprecated, the codes recently rewritten with the new script name "mslmgr.cmd", now supports NT6.1+(7,server08r2,8,server2012) and Office12+(2007,2010,2013), since new programming logic and folder structure have been involved, those who used to use the old script now need to redo the backup with the new one on an ACTIVATED running OS, sorry for the inconvenience.


Script supports on-screen interactive mode for both backing up and restoring operation and silent mode only for restoring, which needs running with administrative rights. In addition, it aims at working for multiple versions of products on diffferent computers (backup info stored in different folders alongside the script based on computer name/product name/version, while restoring the script itself can match the appropriate one).

Silent switches currently available are:

mslmgr.cmd rw (for restoring Windows activation)
mslmgr.cmd ro (for restoring Office activation)

Both the above are case-insensitive, sequence-independent, with no quotation marks.



IMPORTANT:

Since the activation info storing method for Office2013 has been changed on NT6.2 platforms(Win8 & Server2012), which now merged into the one for Windows, to prevent messing up, this script is by design not to support either backing up or restoring Office2013 activation directly on such platforms, but you can still accomplish these tasks by backing up/restoring Windows activation instead, in other words, to use the "rw" switch instead of "ro" if you intend to restore Office2013 activation on Win8/Server2012.



The script can be executed from "oobeSystem configuration pass | FristLogonCommands" to restore the activation info, here's the example

Attached File  2011-2-5 17-25-40.gif (33.62K)
Number of downloads: 154



Attached File  LicRestore.rar (14.75K)
Number of downloads: 262

Attached File  mslmgr.rar (18.88K)
Number of downloads: 9

Please report me back if you find any issue, Cheers

This post has been edited by Rico.JohnnY: 14 March 2013 - 10:43 AM



#2 User is offline   maxXPsoft 

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

Posted 05 February 2011 - 05:56 AM

Nice, you have that for Office 2007?

#3 User is offline   Rico.JohnnY 

  • Member
  • PipPip
  • Group: Members
  • Posts: 246
  • Joined: 02-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 March 2013 - 03:06 PM

New script released.

#4 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,393
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 09 March 2013 - 01:57 AM

Many thanks! :thumbup

Share this topic:


Page 1 of 1
  • 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 - 2013 msfn.org
Privacy Policy