Windows activation process is a bother for people who keep formatting their drives because they love experimenting with their systems. But online activation doesnot work after few times and then you have to talk to a machine or man to get it activated on phone.
Now what if I tell you that it is possible to backup your activation files and after fresh install just copy these files back and your windowes 7 will be activated. Nothing is impossible in this world. so here is the trick:
make two batch files, then you can handle it easily.
(1) Execution about two “batch files”:
1. Back up activation file “batch”
---------------------------------------------------------------------------
@echo off
copy %windir%System32spptokenspkeyconfigpkeyconfig .xrm-ms
copy %windir%
ServiceProfilesNetworkServiceAppDataRoamingMi crosoftSoftwareProtectionPlatformtokens.dat
pause
exit
---------------------------------------------------------------------------
Copy the contents above and paste to notepad, save as the file “activation backup.bat”.
2. Resume activation file “batch”
@echo off
net stop sppsvc /y
takeown /f "%WinDir%System32spptokenspkeyconfigpkeyconfig.xrm-ms&q
ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatformtokens.dat" /e /g everyone:f
cacls "%WinDir%System32spptokenspkeyconfigpkeyconfig.xrm-ms" /e /g everyone:f
ren "%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatformtokens.dat" "tokens.bak"
ren "%WinDir%System32spptokenspkeyconfigpkeyconfig.xrm-ms" "pkeyconfig.bak"
copy tokens.dat "%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatform"
copy pkeyconfig.xrm-ms "%WinDir%System32spptokenspkeyconfig"
del "%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatformtokens.bak"
del "%WinDir%System32spptokenspkeyconfigpkeyconfig.bak"
net start sppsvc
cscript %windir%system32slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
cscript %windir%system32slmgr.vbs –ato
replace the “XXXXX-XXXXX-XXXXX-XXXXX-XXXXX” inside with the key to activate the system. And save as the file “resume activation.bat”.
(2) Usage about the two “batch” files
First, put these two batch files above to a same folder anywhere on the drive. Run the file “activation backup.bat” in administrator’s identity and then you can get the backup of the two activation files.
Second, after reinstalling system, when offline, run the file “resume activation.bat” in administrator’s identity, then system would auto activate.
pause
exit
---------------------------------------------------------------------------
Copy the contents above and paste to notepad,
Now what if I tell you that it is possible to backup your activation files and after fresh install just copy these files back and your windowes 7 will be activated. Nothing is impossible in this world. so here is the trick:
make two batch files, then you can handle it easily.
(1) Execution about two “batch files”:
1. Back up activation file “batch”
---------------------------------------------------------------------------
@echo off
copy %windir%System32spptokenspkeyconfigpkeyconfig .xrm-ms
copy %windir%
ServiceProfilesNetworkServiceAppDataRoamingMi crosoftSoftwareProtectionPlatformtokens.dat
pause
exit
---------------------------------------------------------------------------
Copy the contents above and paste to notepad, save as the file “activation backup.bat”.
2. Resume activation file “batch”
@echo off
net stop sppsvc /y
takeown /f "%WinDir%System32spptokenspkeyconfigpkeyconfig.xrm-ms&q
ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatformtokens.dat" /e /g everyone:f
cacls "%WinDir%System32spptokenspkeyconfigpkeyconfig.xrm-ms" /e /g everyone:f
ren "%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatformtokens.dat" "tokens.bak"
ren "%WinDir%System32spptokenspkeyconfigpkeyconfig.xrm-ms" "pkeyconfig.bak"
copy tokens.dat "%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatform"
copy pkeyconfig.xrm-ms "%WinDir%System32spptokenspkeyconfig"
del "%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatformtokens.bak"
del "%WinDir%System32spptokenspkeyconfigpkeyconfig.bak"
net start sppsvc
cscript %windir%system32slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
cscript %windir%system32slmgr.vbs –ato
replace the “XXXXX-XXXXX-XXXXX-XXXXX-XXXXX” inside with the key to activate the system. And save as the file “resume activation.bat”.
(2) Usage about the two “batch” files
First, put these two batch files above to a same folder anywhere on the drive. Run the file “activation backup.bat” in administrator’s identity and then you can get the backup of the two activation files.
Second, after reinstalling system, when offline, run the file “resume activation.bat” in administrator’s identity, then system would auto activate.
pause
exit
---------------------------------------------------------------------------
Copy the contents above and paste to notepad,
No comments:
Post a Comment