JohnMK Posted July 30, 2003 Share Posted July 30, 2003 Hello there,I slipstreamed Service Pack 1 to a distribution of XP Professional Corporate that doesn't feature product activation. Then I created my unattended installation CD perfectly. It auto boots, completes installation without any errors, runs my application install script without any problems, boots me up into Windows XP after all that's finished and it all works so perfectly. Then I rebooted and it wouldn't let me log into Windows, complaining with the following error message:Windows Product ActivationA problem is preventing Windows from accurately checking the license for this computer. Error code: 0x800004005Logon is impossible at this point. What are your ideas?Thank you for your help,John Link to comment Share on other sites More sharing options...
fillalph Posted July 30, 2003 Share Posted July 30, 2003 http://www.jsiinc.com/SUBJ/tip4600/rh4684.htmThis problem is caused by changing the system drive letter or by changing the default security provider.If your system drive letter has changed, undo the actions that caused it, or:1. Use the Registry Editor to navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Cryptography\Defaults\Provider.2. In each Provider key, edit the Image Path value to match the new drive letter.3. When you are finished, exit the Registry Editor and shutdown / restart your computer.If the default security provider has changed:1. Restart your computer in Safe mode by pressing F8 during startup.2. Use the Registry Editor to delete the following keys:HKEY_USERS\.DEFAULT\Software\Microsoft\Cryptography\ProvidersHKEY_USERS\S-1-5-20\Software\Microsoft\Cryptography\Providers3. Exit the Registry Editor and shutdown / restart your computer.I got that from the link above. Again, it was the third article that came up in a google search. People, this is not the only website or forum on the whole internet that has people waiting to answer your questions. In fact, you aren't the only people in the world, that has come across that error before. To a little research, tell us what you have tried. Make it look like you are doing your part too.]Bonkers[ Link to comment Share on other sites More sharing options...
fillalph Posted July 30, 2003 Share Posted July 30, 2003 I just thought of another reason why you are getting that error. Could it be you are using an illegal copy of windows xp corporate edition with an illegal cdkey and Microsoft has your IP and sent it to the RIAA???Do a search on google just to be sure or else you might be ... ]Bonkers[ Link to comment Share on other sites More sharing options...
JohnMK Posted July 30, 2003 Author Share Posted July 30, 2003 In fact that cannot be the issue. Notice my error message gives an error code of 0x800004005. This is a unique error that isn't documented at all, as far as I can find, on the Internet. I'm not sure what the problem is at this point, I can rule some things out, for instance a simple normal Windows XP Professional Corporate w/ SP1 integrated/slipstreamed into it installs perfectly and presents me with no errors after countless reboots. It's only when I attempt to automate the install with unattended scripts etc. that Windows complains at the end with the error message shown in the first post. I will try whittling down what I install on that CD one by one in an attempt to find the culprit program. Failing that, at least a Windows XP Corporate + SP1 integrated CD is nice to have for future use. Link to comment Share on other sites More sharing options...
fillalph Posted July 30, 2003 Share Posted July 30, 2003 Are you applying Reg edits as part of the install?If so, check them to make sure they are valid.]Bonkers[I just checked some things on the net, try reinstalling using the same cd and see if you get the error again. Link to comment Share on other sites More sharing options...
JohnMK Posted July 30, 2003 Author Share Posted July 30, 2003 Thank you, I'll try removing the registry edits. I used most of what Aaron used, perhaps I made a mistake though. Would that tend to cause an error like this perhaps? Link to comment Share on other sites More sharing options...
JohnMK Posted July 31, 2003 Author Share Posted July 31, 2003 The problem persists. Would you please examine my script to see if I missed something?;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS DriverSigningPolicy=Ignore Repartition=No[GuiUnattended] AdminPassword="superduper" EncryptedAdminPassword=NO AutoLogon=Yes AutoLogonCount=1 OEMSkipRegional=1 TimeZone=5 OemSkipWelcome=1[userData] ProductKey=Removed FullName="NOYB" OrgName="" ComputerName=*[Display] BitsPerPel=16 Xresolution=1024 YResolution=768 Vrefresh=60[TapiLocation] CountryCode=1 Dialing=Tone AreaCode=458[SetupMgr] ComputerName0=Blah1 ComputerName1=Blah2 ComputerName2=Blah3[Identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=No[NetAdapters] Adapter1=params.Adapter1[params.Adapter1] INFID=*[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER[NetProtocols] MS_TCPIP=params.MS_TCPIP[params.MS_TCPIP] DNS=Yes UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes WINS=No NetBIOSOptions=2[GuiRunOnce] %systemdrive%\install\main_batch.cmdCLS@echo offECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO hacks being implemented. The computer will restart automaticallyECHO once the whole process has finished!ECHO.ECHO Copying Tools...COPY "%systemdrive%\Install\Tools\deluser.exe" "%systemroot%\"COPY "%systemdrive%\Install\Tools\psshutdown.exe" "%systemroot%\"ECHO.ECHO Removing useless shortcuts...DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"ECHO.ECHO Copying patched UXTheme.dll...REN %systemroot%\System32\dllcache\uxtheme.dll uxtheme.oldCOPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "%systemroot%\System32\dllcache\"REN %systemroot%\System32\uxtheme.dll uxtheme.oldCOPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "%systemroot%\System32\"ECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\q813951.exe /Q:A /R:NECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\vbs56nen.exe /Q:A /R:NECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\q818529.exe /Q:A /R:NECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\q330994.exe /Q:A /R:NECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q328310_WXP_SP2_en.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q329170_WXP_SP2_EN.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q331953_WXP_en.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q810577_WXP_en.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q810833_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q811493_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q811630_WXP_SP2_EN.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q814033_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\js56nen.exe /Q:A /R:NECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q817606_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821557-x86-ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823559-x86-ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\WindowsMedia9-KB819639-x86-ENU.exe /Q:A /R:NECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q318138_x86.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q323255_X86_EN.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q329048_xp.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q329115_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q329390_WXP.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q329441_WXP_SP2_en.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q811632_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q815487_WxP_SP2_i386_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q817287.EXE /Q:A /R:NECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q329834_WXP_SP2_en.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q815021_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q819696_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823980-x86-ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q811009_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\WindowsXP-KB818043-x86-ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\WindowsXP-KB817778-x86-ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821253-x86-ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q810243_WXP_SP2.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q331913_WxP_SP2_i386_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\hu1002_pro.exe /Q:A /R:NECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q322011_WXP.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\WindowsXP-KB282010-x86-ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\WindowsXP-KB820291-x86-ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q815485_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q814995_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q810272_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q329262_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Hotfixesstart /wait %systemdrive%\install\Hotfixes\Q327979_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Diskeeper 7.0ECHO Please wait...start /wait %systemdrive%\install\Applications\diskeeper\Setup.exe /s /v/qnECHO.ECHO Updating Diskeeper 7.0.427 to 7.0.430ECHO Please wait...start /wait %systemdrive%\install\Applications\diskeeper\us_dk70_wup.exe /s /v/qnECHO.ECHO Installing Kazza Lite K-plus-plus 2.41ECHO Please wait...start /wait %systemdrive%\install\Applications\KazaaLite\klitekpp241e.exe /verysilentECHO.ECHO Installing Windows Messenger 4.7ECHO Please wait...start /wait %systemdrive%\install\WM\MMSSETUP.EXE /Q:A /R:NECHO.ECHO Installing MSN Messenger 6.0.0602 FinalECHO Please wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QBECHO.ECHO Installing DirectX 9.0bECHO Please wait...start /wait %systemdrive%\install\DirectX9b\dxsetup.exe /opkECHO.ECHO Installing Windows Media Player 9ECHO Please wait...start /wait %systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:NECHO.ECHO Installing WinRAR 3.20ECHO Please wait...start /wait %systemdrive%\install\Applications\WinRAR\wrar320.exe /sECHO.ECHO Installing TweakUI 2.10 PowertoyCOPY "%systemdrive%\install\PowerToys\TweakUI.exe" "%systemroot%\System32\"COPY "%systemdrive%\install\PowerToys\TweakUI 2.10 Powertoy.lnk" "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\"ECHO.ECHO Installing .NET Framework v1.1ECHO Please wait...start /wait %systemdrive%\install\NetFramework\netfx.msi /QBECHO.ECHO Deleting ASP.NET User Account created by .NET Framework 1.1...start /wait DELUSER /Q aspnetECHO.ECHO Updating Microsoft JavaVM to 3810ECHO Please wait...start /wait %systemdrive%\install\JavaVM\msjavx_3810update.exe /Q:A /R:NECHO.ECHO Performing last minute setup steps, restarting PC in 60 seconds . . .psshutdown.exe -r -t 60 -f -m "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!" Link to comment Share on other sites More sharing options...
JohnMK Posted July 31, 2003 Author Share Posted July 31, 2003 I wonder if UnattendSwitch="no" was the problem. Looks like I forgot to add that. Link to comment Share on other sites More sharing options...
Aaron Posted July 31, 2003 Share Posted July 31, 2003 Since you recently slipstreamed your CD, I'd suggest testing this CD again for WPA errors before doing anything unattended to it - the problem may not lie in winnt.sif or any of your batch commands at all. Link to comment Share on other sites More sharing options...
JohnMK Posted July 31, 2003 Author Share Posted July 31, 2003 I tested my standard XP + SP1 CD. Works like a charm. That's not the problem. Link to comment Share on other sites More sharing options...
Aaron Posted July 31, 2003 Share Posted July 31, 2003 Yeah, add UnattendSwitch="no" (or "yes", check Reference for more details)You won't need DriverSigningPolicy=Ignore if your not going to be using OemPnPDriversPathAs for the WPA problem, start by using only the winnt.sif file, leave out your batch. If everything's fine, include your Applications in the next test. Then lastly the Hotfixes. This should help to pinpoint the problem as winnt.sif is the core file of allowing everything unattended. (hence why you want to test with just winnt.sif first) Link to comment Share on other sites More sharing options...
fillalph Posted July 31, 2003 Share Posted July 31, 2003 Try installing again, but removed the hotfix section.]Bonkers[ Link to comment Share on other sites More sharing options...
alicat Posted August 8, 2003 Share Posted August 8, 2003 Hi,I've just run into the same problem as yourself(note: I'm using a legal corporate version that's been slip streamed to SP1)------------------------Windows Product ActivationA problem is preventing Windows from accurately checking the license for this computer. Error code: 0x800004005----------------Only option is to shutdown. Logon really is impossible?Have you managed to find out anything? I keep you updated. Time to try my 5th install ...Thank you for your help, Link to comment Share on other sites More sharing options...
DaveXP Posted August 8, 2003 Share Posted August 8, 2003 Did you try and remove the product Activation from the cd so you did not have to activate windows Link to comment Share on other sites More sharing options...
alicat Posted August 8, 2003 Share Posted August 8, 2003 Just tried installing for the 5th time and it works... And no activation error. so far.Only works so far with these patches.Now to try it again with the applications.Heres my batch files so far.main_batch.cmdCLS@echo offECHO.ECHO Wait and see an automated installation (Or go have a drink)ECHO of various sofware applications, windows updates,implemented. ECHO The computer will restart automaticallyECHO once the whole process has finished!ECHO.ECHO Copying Tools...COPY "%systemdrive%\install\Tools\psshutdown.exe" "%systemroot%\"ECHOECHOECHO.ECHO.EXIThotfixes.cmdCLS@echo offECHO.ECHO Installing Windows Update HotfixesECHO.ECHO Installing Q329115...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q329115_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q329048...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q329048_xp.exe /Q /M /ZECHO.ECHO Installing Q323255...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q323255_X86_EN.exe /Q /M /ZECHO.ECHO Installing Q329834...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q329834_WXP_SP2_en.exe /Q /M /ZECHO.ECHO Installing Q329170...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q329170_WXP_SP2_EN.exe /Q /M /ZECHO.ECHO Installing Q328310...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q328310_WXP_SP2_en.exe /Q /M /ZECHO.ECHO Installing Q329390...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q329390_WXP.exe /Q /M /ZECHO.ECHO Installing Q810833...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q810833_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q810577...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q810577_WXP_en.exe /Q /M /ZECHO.ECHO Installing Q331953...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q331953_WXP_en.exe /Q /M /ZECHO.ECHO Installing Q814995...start /wait %systemdrive%\install\Hotfixes\recommended\windowsxp\Q814995_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q811630...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q811630_WXP_SP2_EN.exe /Q /M /ZECHO.ECHO Installing JScript 5.6...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\js56nen_6003.exe /Q:A /R:NECHO.ECHO Installing Q810565...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q810565_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q814033...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q814033_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q815021...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q815021_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q811493...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q811493_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q819639...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\WindowsMedia9-KB819639-x86-ENU.exe /Q:A /R:NECHO.ECHO Installing Q817606...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q817606_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO Installing Q823559...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\WindowsXP-KB823559-x86-ENU.exe /Q /M /ZECHO.ECHO Installing Q823980...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\WindowsXP-KB823980-x86-ENU.exe /Q /M /ZECHO.ECHO Installing Q821557...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\WindowsXP-KB821557-x86-ENU.exe /Q /M /ZECHO.ECHO Installing Q329441...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q329441_WXP_SP2_en.exe /Q /M /ZECHO.ECHO Installing Q817287...start /wait %systemdrive%\install\Hotfixes\critical\windowsxp\Q817287.EXE /Q:A /R:NECHO.ECHO Installing Q821253 Windows Error Reporting Update...start /wait %systemdrive%\install\Hotfixes\recommended\windowsxp\WindowsXP-KB821253-x86-ENU.exe /Q /M /ZECHO.ECHO Installing June 2003, Cumulative Patch for IE6...start /wait %systemdrive%\install\Hotfixes\critical\internetexplorer6x\q818529.exe /Q:A /R:NECHO.ECHO Installing April 2003, Cumulative Patch for OE6...start /wait %systemdrive%\install\Hotfixes\critical\internetexplorer6x\q330994.exe /Q:A /R:NECHO.EXITapplications.cmdCLS@echo offECHO.ECHO.ECHO.ECHO.ECHO.ECHO Restarting the PC in 1 minute...psshutdown.exe -r -t 120 -f -m "Windows XP will now restart in 2 minutes, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"ECHO.ECHO Deleting Temp Installation Files...RD /S /Q %systemdrive%\installRD /S /Q %systemdrive%\DriversECHO.EXIT 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