nice_guy75 Posted February 3, 2010 Share Posted February 3, 2010 Hi guys,I have prepared my Autounattend.xml following this link: http://technet.microsoft.com/en-us/library...317(WS.10).aspx, but when I tried to install my customized OS it is giving some error saying product key is not right. I am getting it just after booting the system, it has also refering to xml file. I wish to install my OS without product key and as trial for 30 days. I am attaching my Autounattend.xml file here please go through it and suggest the neccessary changes.Autounattend.xml Link to comment Share on other sites More sharing options...
myselfidem Posted February 3, 2010 Share Posted February 3, 2010 (edited) @nice_guy75Maybe, you can test this method and keep the activation of your copy.First validate your copy of Windows 7.After copy/paste the file "tokens.dat" in the folder SCRIPTS of your installation source.And make a bath file nammed "active.bat"active,bat------------------------------------------------------@echo off:: Install the product key and keep activation TAKEOWN /F %SystemDrive%\Windows\System32\cmd.exenet stop sppsvcDEL /Q "%SystemDrive%\Windows\ServiceProfiles\NetWorkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\Tokens.dat"COPY /Y "%~dp0tokens.dat" "%SystemDrive%\Windows\ServiceProfiles\NetWorkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\" net start sppsvccscript %systemroot%\System32\slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (key Windows 7)cscript %systemroot%\System32\slmgr.vbs -dlicscript %systemroot%\System32\slmgr.vbs -atoEXIT--------------------------------------------------------In the SetupComplete.cmd, addSetupComplete.cmd---------------------------------------------------------@echo offstart /WAIT %~dp0Active.batexit--------------------------------------------------------If you want hide the process of the batch, you can use this scriptactive.vbs-----------------------------------------------------------Set WshShell = WScript.CreateObject("WScript.Shell" )WshShell.Run "%SystemRoot%\Setup\Scripts\activel.bat" ,SH_WIDE ,true-----------------------------------------------------------And put the key in Autounattend.xmlI have installed Windows 7 many times wihtout any problem.You can find some help here:http://www.mydigitallife.info/2009/09/24/h...e-on-reinstall/ Edited February 3, 2010 by myselfidem Link to comment Share on other sites More sharing options...
MrJinje Posted February 3, 2010 Share Posted February 3, 2010 This is the error <Key><Product Key></Key> should look like this if you were trying to integrate a real key <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>Either way you don't need that line, delete it and change this. <ProductKey> <Key><Product Key></Key> <WillShowUI>OnError</WillShowUI> </ProductKey>To this. <ProductKey> <WillShowUI>Never</WillShowUI> </ProductKey>and report back. Link to comment Share on other sites More sharing options...
nice_guy75 Posted February 3, 2010 Author Share Posted February 3, 2010 (edited) This is the error <Key><Product Key></Key> should look like this if you were trying to integrate a real key <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>Either way you don't need that line, delete it and change this. <ProductKey> <Key><Product Key></Key> <WillShowUI>OnError</WillShowUI> </ProductKey>To this. <ProductKey> <WillShowUI>Never</WillShowUI> </ProductKey>and report back.So can I edit it manually, and save it????????????????????? Edited February 3, 2010 by nice_guy75 Link to comment Share on other sites More sharing options...
myselfidem Posted February 3, 2010 Share Posted February 3, 2010 (edited) @nice_guy75Maybe you can find some help here:http://support.microsoft.com/kb/929828---------------------------------------------------------------------------------"Run the Slmgr.vbs script in an elevated Command Prompt window. For example, run cscript c:\windows\system32\slmgr.vbs –rearm. Note Administrative credentials are required to run the Rearm process. The Rearm process can be run a maximum of three times in a Windows Vista image. ---------------------------------------------------------------------------------I think it is available for Windows 7.You can try also, in an elevated Command Prompt window:slmgrAnd you can see all the options.J have a french version, but you can see the options in yellow color.See attachments.J hope that will help you! Edited February 3, 2010 by myselfidem Link to comment Share on other sites More sharing options...
maxXPsoft Posted February 3, 2010 Share Posted February 3, 2010 yes the xml is nothing but a text file and can open with notepadthats all you need what Mrjinje said if you want to go trial for 30 days Link to comment Share on other sites More sharing options...
nice_guy75 Posted February 3, 2010 Author Share Posted February 3, 2010 (edited) @nice_guy75Maybe you can find some help here:http://support.microsoft.com/kb/929828---------------------------------------------------------------------------------"Run the Slmgr.vbs script in an elevated Command Prompt window. For example, run cscript c:\windows\system32\slmgr.vbs –rearm. Note Administrative credentials are required to run the Rearm process. The Rearm process can be run a maximum of three times in a Windows Vista image. ---------------------------------------------------------------------------------I think it is available for Windows 7.You can try also, in an elevated Command Prompt window:slmgrAnd you can see all the options.J have a french version, but you can see the options in yellow color.See attachments.J hope that will help you!Hey brother I guess you posted in the wrong thread, my sysprep problem is already solved. This thread is for Answer file. I would try to edit my answer file manually and would post the results.yes the xml is nothing but a text file and can open with notepadthats all you need what Mrjinje said if you want to go trial for 30 daysThanks brother you guys are really great for newbies like me. I would try Mrjinje's method and would post the result soon. Edited February 3, 2010 by nice_guy75 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now