Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, November 18, 2016 2:28 AM
I have just spent one and a quarter hours getting a Windows VM back online.
At 13:47 NZDT I logged on to be confronted with the usual "restart or else" banner, so I did what I was going to do, shutdown my apps, disconnected from the VM and used the restart facility in the portal.
At 14:14 NZDT I get to log back on to the VM and this time I'm confronted with a banner that tells me to run Windows Update, which I have never had to run manually on this VM ever before and it's been running nearly two years.
At 14:30 NZDT the updates have been applied and, of course, the thing wants to be restarted again. So, I disconnect again and restart from the portal as I always do.
At 14:59 NZDT the VM is finally running again and I can logon. In the interest of my own sanity, I thought I'd check the download history and I get the following report;
So my question is this:
What's the deal with failed updates on a Windows VM running in a Microsoft Azure data center..?
Cheers, Simon
All replies (20)
Tuesday, November 29, 2016 7:29 AM ✅Answered
Hi
When I check the log you provided, I find many below error.
2016-11-29 18:08:27, Error CSI 00000002 (F) Logged @2016/11/29:05:08:27.026 : [ml:322{161},l:320{160}]"EventAITrace:Provider Microsoft-WindowsAzure-Diagnostics{{9148c98f-152c-44d3-a496-26350c475d74}} is missing channels under the channelreferances registry key.
I don’t ensure if the error cause your update failed, I recommend you to fix this error.
The fix is this registry file:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\9148c98f-152c-44d3-a496-26350c475d74}
To fix the problem, export the key from the known good system and import it on the machine experiencing the problem. Be sure to reboot before attempting the update installation again.
Maybe you could try to update Windows Update.
https://support.microsoft.com/en-sg/kb/949104
Regards,
Walter
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Friday, November 18, 2016 6:40 AM
Hi
The failure messages just mean that Windows update didn't install at that attempt. When Windows updates fail, the machine begins a cycle where it rolls back the updates, reboots and tries again.
You could check Installed Updates, if the failed updates are updated successfully, you would see them.
If you could not find them, please check the log why update failed. If possible, please take a screenshot for the error and upload the images in our forum directly so that I can do further analysis based on the error.
Regards,
Walter
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Wednesday, November 23, 2016 6:17 PM
This issue just doesn't seem to resolve itself, every time I logon to this VM it wants to restart, takes half an hour to do so and still the updates fail. This is seven times over a month that it's tried to install these updates.
What can the problem be..?
Simon
Thursday, November 24, 2016 5:14 AM
Hi
According to your description, maybe you could check as the below methods.
1. Try to install these KBs.
You could download KB from below link.
https://catalog.update.microsoft.com/v7/site/DownloadInformation.aspx
2. Check WindowsUpdate log
When the KB install failed, you could check WindowsUpdate log.
C:\Window\WinodwsUpate.log
You would find error code in the log, such as error 0x80248014.
You could check what the code means as the below link.
https://support.microsoft.com/en-us/kb/938205
More update log, you could check cbs logs
C:\Windows\Logs\CBS
If you still have questions, welcome to post back here. Thanks.
Regards,
Walter
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Friday, November 25, 2016 1:45 AM
Well, I managed to get the October, 2016 Security and Quality Rollup for .NET Framework 3.5 on Windows 8.1 and Windows Server 2012 R2 for x64 (KB3188743) installed by installing it alone.
The November, 2016 Security Monthly Quality Rollup for Windows Server 2012 R2 (KB3197874) update however does not install even after FOUR attempts to download/install and restart the Azure VM today..! As can be seen from the log below, it has failed every time
Here is the logged error:
November, 2016 Security Monthly Quality Rollup for Windows Server 2012 R2 (KB3197874)
Installation date: 25-Nov-16 13:14
Installation status:
Failed Error details: Code 800F0922
Update type: Important
However, unfortunately the error code 800F0922 is not listed in the document you referenced.
So, what happens now..?
Cheers, Simon
Friday, November 25, 2016 2:55 AM
Hi
I recommend you to check CBS.log
C:\Windows\Logs\CBS
There are more detailed error log.
Regards,
Walter
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Friday, November 25, 2016 3:32 AM
Check for what exactly..?
Note: I'm an application specialist while this is a tech problem created by Microsoft Azure.
Simon
Friday, November 25, 2016 6:22 AM
Hi
I test to install KB3197874 on my Azure VM (Server 2012 R2). It works for me. Based on my knowledge, Code 800F0922 is caused by file permission.
Could you please perform the following steps to help check this issue:
1.Stop Windows Update service, you could use the below commands.
net stop wuauserv
2. Rename C:\Windws\SoftwareDistribution
You could copy this name as SoftwareDistribution.bak. When Windows Update service is started. Windows would create a new SoftwareDistribution folder.
3.Start Windows Update service.
net start wuauserv
4.Try to get KB KB3197874 and install it.
Before install this KB, I recommend you to copy CBS.log file and delete it.
After install the KB, check C:\Windows\Logs\CBS\CBS.log.
If possible, please take a screenshot for the error and upload the images in our forum directly so that I can do further analysis based on the error.
Thanks for your understanding and patience.
Regards,
Walter
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Monday, November 28, 2016 8:17 PM
Thanks, but no luck there I'm afraid (see below) and onlycleared the installed log out
I had a quick look in the CBS.log file but it doesn't mean anything to me.
Can you tell me what to look for or have a look at it here: copy of cbs.log
I'd really like to get this resolved because I've had to turn off auto-update
This server is live server and I cannot have it constantly requiring a re-start
Cheers, Simon
Tuesday, November 29, 2016 1:53 AM
Hi
I have checked the log your provided.
2016-11-29
07:55:08, Info CBS Not able to add file to extract: update.ses
[HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
It seems that Windows Update could not find some update packages.
Do you rename C:\Windws\SoftwareDistribution.
If not, maybe you could try.
Also, you could try to scan and repair your OS disk, you could use the below command.
sfc /SCANNOW
Thanks for your understanding and patience.
Regards,
Walter
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, November 29, 2016 2:27 AM
Yes, I did rename the SoftwareDistribution folder prior to trying the update again. It re-created the folder fine when the update ran and failed to complete.
I'll try scanning the disk shortly, although this being an Azure VM there is no telling where or when that disk might be re-created, right..? (i.e we have no control over the physical media)
Cheers, Simon
Tuesday, November 29, 2016 2:39 AM
Hi
You could install the KB again when the disk is scan and repaired. According to my test, it would cost 30 minutes.
You don't need to have control over the physical media.
Thanks for your understanding and patience.
Regards,
Walter
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, November 29, 2016 5:34 AM
I'm terribly sorry to report that none of the above suggested actions have resolved this problem.
November, 2016 Security Monthly Quality Rollup for Windows Server 2012 R2 (KB3197874)
Installation date: 29-Nov-16 17:59
Installation status: Failed
Error details: Code 800F0922
What suggestions now..?
Cheers, Simon
Tuesday, November 29, 2016 5:46 AM
Sorry, I install the KB on my VM , I found your log is lost something.
I recommend you to clear the log and install the KB.
I would try my best effort to analyze your log.
Thanks for your understanding and patience.
Regards,
Walter
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, November 29, 2016 5:54 AM
Latest log here
Look forward to any ideas..!
Simon
Tuesday, November 29, 2016 7:55 AM
Ok, sorry but this is just turning into "trial & error" so please escalate to a Microsoft engineer for a proper fix.
As mentioned previously, I'm an application specialist and I do not expect to be wasting hours and hours of my time fiddling around with Microsoft's update problems on an Azure VM, which was created with a simple click to create a Virtual machine.
Windows update should perform faultlessly and, for the most part, it does.
The whole point of moving to an Azure environment is to avoid exactly these sorts of issues.
Simon
Wednesday, November 30, 2016 5:22 AM
Hi
Maybe you could try or create a Technical Ticket so that our engineers can help you appropriately.
Thanks for your understanding and patience.
Regards,
Walter
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, March 7, 2017 8:55 PM
Still this problem persists, wasting hours and hours my time waiting for it to restart and FAIL
How come Azure can't even update its own VMs in its own datacentre..?
Given all we do is create a VM, login and use it, we have no real control over the update process other than turning off automatic, which I've had to do to stop this infernal machine continually requiring a reboot. It is beginning to look like the only way out of this is to create and configure another VM and reload all the applications, which is a major piece of work with significant associated cost
I'm not really looking forward to having to explain this to the customer
Cheers, Simon
Friday, April 14, 2017 2:03 PM | 2 votes
Hi
When I check the log you provided, I find many below error.
2016-11-29 18:08:27, Error CSI 00000002 (F) Logged @2016/11/29:05:08:27.026 : [ml:322{161},l:320{160}]"EventAITrace:Provider Microsoft-WindowsAzure-Diagnostics{{9148c98f-152c-44d3-a496-26350c475d74}} is missing channels under the channelreferances registry key.
I don’t ensure if the error cause your update failed, I recommend you to fix this error.
The fix is this registry file:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\9148c98f-152c-44d3-a496-26350c475d74}
To fix the problem, export the key from the known good system and import it on the machine experiencing the problem. Be sure to reboot before attempting the update installation again.
Maybe you could try to update Windows Update.
https://support.microsoft.com/en-sg/kb/949104
Regards,
Walter
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Thanks @Walter.
@Simone This sure is the correct answer for the issue. I was facing the same issue and trust me I went with many a things from DISM to CBS logs to WinSXS logs. The issue is, any one of the the highlighted below event log collectors are missing which is causing updates from not happening.
What I did to check which particular key is missing and then compared it with a working machine and manually created the key and the three values inside it. One reboot and voila... the issue is SOLVED
Tuesday, April 18, 2017 3:15 AM
Thanks for that @Nitish4309
I can confirm that this has fixed the problem and the VM has updated itself satisfactorily
Cheers, Simon