Win2008 R2 to Win2012 R2 upgrade failing for permissions issue?

Sudz28 186 Reputation points
2021-04-19T15:10:25.917+00:00

I have been updating multiple 2008 R2 servers in our enclave to 2012 R2 doing in-place upgrades (which I realize is 'not recommended' but for over a dozen of them I've done it without any real issue), but a MSQL server I tried to upgrade this weekend kept failing for some odd reason.

The server in question is a VM, and to do my upgrades I copy the Server2012.iso file file over to the local hard drive, extract it, and then run the setup.exe file. On this particular server when I do so, it runs for a bit and but then when it gets to around 92-93% complete for the "Getting files ready for installation" portion of the process (at the bottom says 'Expanding windows installation files (641 of 705 MB expanded)' or so) it errs out. The error message says "Windows cannot install required files. Network problems may be preventing Windows from accessing the files. Make sure the computer is connected to the network and restart the installation. Error code 0x80070005".

I ensured that the account I was logged in with (I'm RDP'ing to the server) was in the Domain Admins group and even tried running the installation logged in as local administrator.
I have plenty of C: drive space, 49GB.
The server is patched and updated with all its latest patches and updates.

It seems that the error code in question is almost certainly some kind of 'permissions' issue, but I cannot figure out exactly what the problem is so I can work around it. I even tried running setup.exe with "Run as administrator" but no dice, same crash at the same step with the same error message. Since I'm running the upgrade locally I can't imagine that any kind of true network issue would play into it, but even if that were the case the server never goes offline or otherwise shows any network related problems leading up to the error so I suspect that's a red herring.

Not sure where to turn now to see why this error message is occurring and how to resolve it?

Windows for business | Windows Server | User experience | Other
SQL Server | Other
0 comments No comments
{count} votes

9 answers

Sort by: Most helpful
  1. Sudz28 186 Reputation points
    2021-04-20T13:59:07.447+00:00

    Still trying to divine exactly what the problem is; I can believe it may be SQL is installed, but I'd also like to find something more definitive to confirm that rather than just take it as a wild guess/assumption.

    Digging in the C:\$Windows.~BT\Sources\Panther\setuperr.log file the first line says "InfEnumCallback: SetupGetInfDriverStoreLocationW failed for 'C:\Windows\inf\oem5.inf' [gle=0x0000090]". It happens about 8.5 minutes before the upgrade process actually err's out, so not sure it's a real issue. The rest of the log is filled with error messages basically identical to what this other poster posted: https://social.technet.microsoft.com/Forums/Windows/en-US/b380ed57-a437-4372-bf8c-a94054c49ca4/upgrade-issue-from-2008-r2-to-2012-r2

    He says "... there was some orphaned drivers lying on the server. after removal of them, server upgraded successfully.", so I'm assuming the same may be true for me but he never says what he did to find/remove the 'orphaned drivers'.

    0 comments No comments

  2. Anonymous
    2021-04-20T13:21:19.537+00:00

    Any progress or updates?

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  3. Teemo Tang 11,501 Reputation points
    2021-04-20T07:05:03.883+00:00

    Since in-place upgrade only occurred on this MSQL server, it indicates that your in-place upgrade method is ok but SQL related configurations make upgrade process broken.
    I suggest to uninstall MSQL related software or feature, login as a local administrator, in-place upgrade this VM by your Server2012.iso file again, just like what you done on the other computer.
    If still no help, you need to create a new VM by your ISO image and reinstall SQL.

    -------------------------------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  4. Anonymous
    2021-04-19T17:39:23.677+00:00

    Yes, the steps for a clean boot are the same,

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  5. Anonymous
    2021-04-19T15:14:05.53+00:00

    As noted in-place upgrades are risky and never recommended. Might also try from a clean boot.
    https://support.microsoft.com/en-us/topic/how-to-perform-a-clean-boot-in-windows-da2f9573-6eec-00ad-2f8a-a97a1807f3dd

    --please don't forget to Accept as answer if the reply is helpful--


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.