Inhaltsverzeichnis

MS-Office 2010

Für eine Testinstallation erhält man vom Microsoft die Installationsdatei → http://technet.microsoft.com/de-de/ee390818.aspx .

Man sollte dabei unter „Erweiterte Optionen“ die Komplettinstallationsdatei (ca. 1 GB) auswählen, sonst erhält man nur einen Downloadmanager (ca. 2.5 MB) . Diese Datei ist scheinbar für alle Office-Varianten die gleiche. Zum Download gibts dann auch einen 25-stelligen individuellen Test-Key. Beim Installationsprozess wird dieser Key abgefragt. Später muss dieser Key aktiviert werden, sonst erscheint bei jedem Start von Office2010 die Aktivierungs-Box.

Technisches

Mit folgenden Scripten kann man die erfolgte Aktivierung sichern und wiederherstellen:

Aktivierung sichern

NET stop osppsvc
mkdir "H:\OSPP-BAK\Dateien"
mkdir "H:\OSPP-BAK\Registry"
XCOPY /Y /S /I "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform" "H:\OSPP-BAK\Dateien"
REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office "H:\OSPP-BAK\Registry/Office.reg"
REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform "H:\OSPP-BAK\Registry/ospp.reg"
NET start osppsvc
PAUSE

Aktivierung wiederherstellen

NET stop osppsvc
XCOPY /Y /S /I "H:\OSPP-BAK/Dateien" "%ALLUSERSPROFILE%/Microsoft\OfficeSoftwareProtectionPlatform"
REG IMPORT "H:\OSPP-BAK\Registry\Office.reg"
REG IMPORT "H:\OSPP-BAK\Registry\ospp.reg"
NET start osppsvc
PAUSE

Die wiederhergestellte Aktivierung funktioniert nur auf der selben Hardware.

ospp.vbs

Das Script ospp.vbs sollte im Progamm-Ordner von Office 2010 ausgeführt werden: „C:\Program Files\Microsoft Office\Office14\“

Programmaufruf per Konsole für Beschreibung des Tools:

cscript ospp.vbs /help

Aktivierungsstatus ausgeben:

cscript ospp.vbs /dstatus

Key Aktivieren:

cscript ospp.vbs /act

Key installieren:

cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Key deinstallieren:

cscript ospp.vbs /unpkey: XXXXX