Share via


A couple error in all my server 2016. Event ID: 513 CAPI2 and Event ID: 5973 Apps "Cortana"

Question

Saturday, October 29, 2016 2:23 PM

I have 5 Server 2016 VMs running and all of them have these same errors none stop. Have been wating for the update that will fix, but nothing yet.

Error 1:

Event ID: 513
Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.

Details:
AddLegacyDriverFiles: Unable to back up image of binary Microsoft Link-Layer Discovery Protocol.

System Error:
Access is denied.
.

Error 2

Event ID: 5973
Activation of app Microsoft.Windows.Cortana_cw5n1h4txyewy!CortanaUI failed with error: This app can't be activated by the Built-in Administrator. See the Microsoft-Windows-TWinUI/Operational log for additional information.

This seams to be a common error in Server 2016.

Why Apps, and Cortana is even on Server 2016, I don't understand that.

Hope you have a fix soon,

John

John Zapf

All replies (31)

Saturday, October 29, 2016 2:35 PM

Might check if this one has been applied.

https://support.microsoft.com/en-us/kb/3197954

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Saturday, October 29, 2016 3:10 PM

Yes that update has been installed on all.

John Zapf


Saturday, October 29, 2016 4:40 PM

I don't have any of these but mine at this point are OOB, domain joined but no applications , roles or feature have been installed.

(edit: it might be the user profile is corrupt.)

https://support.microsoft.com/en-us/kb/3064045

 

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Saturday, October 29, 2016 10:59 PM

Not sure, we migrated our domain from Server 2008 R2 to to Server 2016, and all went well. Should we have to do something else?

John Zapf


Saturday, October 29, 2016 11:03 PM

I would like to just get rid of all the apps, they only cause problems, and as I am an admin they don't even work for me. I cant even use any of them,  have to change all just to get things to work...!

John Zapf


Saturday, October 29, 2016 11:06 PM

Good question but I always avoid in-place upgrades for a couple of reasons. If something goes horribly wrong you could be left with nothing. Also you can't be sure how much corruption is migrated. For a DC I always like to stand up the new one, patch it fully, join existing domain, add active directory domain services, promote, and then decommission / demote old ones.

 

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Saturday, October 29, 2016 11:09 PM

I would like to just get rid of all the apps, they only cause problems,

What apps?

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Sunday, October 30, 2016 3:23 PM

I did not do an in-place upgrade. this is a new serve, patch it fully, join existing domain, add active directory domain services, promote, and then decommission old one. I have been doing this for 29 years, I did it all right and all went well.

I never do an in-place up grade either.

John Zapf


Sunday, October 30, 2016 3:27 PM

Sorry, I am calling Cortana an app, as the error say its coming from the App, Cortana.

John Zapf


Sunday, October 30, 2016 3:39 PM

Error 1 could be this one.

https://www.veritas.com/support/en_US/article.000021891

Error 2 could be a corrupt profile.

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Monday, October 31, 2016 2:06 AM

Ya, I saw that, just not sure if I want to do that, and should be doing that on a fresh install, and do I do to all five servers?

John

John Zapf


Thursday, November 10, 2016 7:12 PM

I experience the same error on few new servers fully patched as of November 2016.

Next thing to try I think is to set the Group Policy

Computer Configuration\Administrative Templates\Windows Components\Search\Allow Cortana to Disabled.

This should normally not be needed on Server 2016 or Enterprise LTSB 2016, but it is worth trying.


Friday, November 11, 2016 12:45 AM

No that didn't work,

Still get the Error:

Activation of app Microsoft.Windows.Cortana_cw5n1h4txyewy!CortanaUI failed with error: This app can't be activated by the Built-in Administrator. See the Microsoft-Windows-TWinUI/Operational log for additional information.

Event ID: 5973

John Zapf


Friday, November 11, 2016 12:56 AM

You could check for details here.

 

 

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Friday, November 11, 2016 4:55 PM

Pretty much the same thing. But differant Event ID:

The app Microsoft.Windows.Cortana_cw5n1h4txyewy!CortanaUI could not be activated for the Windows.BackgroundTasks contract because the current user is an Administrator with a full token. Only split token Administrators can activate apps.

Event ID: 5955

John Zapf


Friday, November 11, 2016 5:24 PM

If you just want it to go away you might be able to enable this one.

 

 

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Friday, November 11, 2016 11:56 PM

FYI...  The “Windows Search” service is set to ‘Disabled’ by default on Windows Server 2016.  This is because indexing of the volumes can negatively impact / break server scenarios, such as Cluster Shared Volumes (CSV) and running Remote Desktop Session Host (RDSH) with multiple simultaneous sessions.  The side effect of the Windows Search service being disabled is that using Cortana with Start Menu searches has a degraded experience.  

The Windows Search servicing being disabled, could possibly be the root cause of why Cortana is throwing errors...

Thanks!
Elden


Friday, November 11, 2016 11:59 PM

 

The Windows Search servicing being disabled, could possibly be the root cause of why Cortana is throwing errors...

If that were true I'd think everyone would have the same issue. I don't have these errors.

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Saturday, November 12, 2016 1:15 AM

Not sure, I should not have to keep trying and tweaking things, these are all new installs and want to keep them that way. That is why I am on this forum, just trying to figure out why I am getting both of these errors in all five of my fresh install 2016 standard servers.

John

John Zapf


Saturday, November 12, 2016 2:06 AM

Not sure, I should not have to keep trying and tweaking things,

To recap what modifications have you tried so far?

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Saturday, November 12, 2016 3:22 PM

Everything suggested above.

John Zapf


Saturday, November 12, 2016 3:25 PM

I'd probably call it in to product support to figure what causes it in your specific situation.

https://support.microsoft.com/en-us/contactus/

 

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Sunday, November 13, 2016 1:04 AM

Well I figured it out.

On the servers that were having the App Cortana issue it was settings in the registry. I compared servers that we not having the problem and ended up finding the settings that were set wrong in my Domain controller etc. Below are the settings from a fresh install and all is good. I had to change 3 of them and now the App cortana error is gone. FYI I was having a lot of problems with a Windows 10 workstaion and I checked and fix these setting on it and all security popup, and problems are fixed.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System:

John Zapf


Sunday, November 13, 2016 4:02 AM

This is not the solution.

It is in fact the same with what Dave Patrick says about the Admin approval Mode for the built-in Administrator or the opposite, the other administrators having the Admin approval Mode disabled.

Regardless of the type of administrator and settings for UAC, Cortana should not start on the server. This is actually the issue which seems to be a bug like few other annoying bugs still unresolved in the Windows 2016 Server.

What you basically rediscovered is what has been known for a while, that full administrators cannot run Windows Store Apps.


Sunday, November 13, 2016 4:08 AM

I wouldn't use a paid Support call for what is a problem with the current version of Windows Server 2016. This has nothing to do with John's installation and can be reproduced by logging on as the built-in Administrator or by disabling UAC and setting Admin approval mode for administrators as Disabled. You have already provided an answer in that direction.

Why is Cortana even trying to launch, this is the issue?


Sunday, November 13, 2016 4:15 AM

I wouldn't use a paid Support call for what is a problem with the current version of Windows Server 2016. This has nothing to do with John's installation and can be reproduced by logging on as the built-in Administrator or by disabling UAC and setting Admin approval mode for administrators as Disabled. You have already provided an answer in that direction.

Why is Cortana even trying to launch, this is the issue?

I wouldn't have either. It was just a suggestion as the OP had run out of ideas. Might pose these questions over here. In the second list box on right choose an appropriate category.

https://windowsserver.uservoice.com/forums/295047-general-feedback

 

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Tuesday, February 28, 2017 1:30 AM | 1 vote

I am with so many people in this forum.

The issue isn't "How do I fix this problem", the issue is "Why is it even installed?"

We run the server version to do a specific task and Cortana or Mapping is not one of them.

As Server Admins we don't care, and more the point do not even want the bloatware that gets installed.

There is no simple method to uninstall things we didn't even ask for, all because we don't want to run the Linux-like Core version.

It borders on the line of malware. to change security policies just to hide the errors doesn't remove the fact they should happen in the first place because the "app" shouldn't be installed.


Tuesday, July 11, 2017 10:03 PM

Totally agree, I want a Server not Xbox, and not a Phone, Xbox, Tablet and PC OS.....

UGH! what is the alternative to Active Directory?

that works as well...


Tuesday, October 3, 2017 10:55 AM

For error 1, ID 513 take a look at this:
https://support.microsoft.com/en-us/help/3209092/event-id-513-when-running-vss-in-windows-server-2016

But would be nice if Microsoft could patch this... some day.


Tuesday, November 7, 2017 10:58 AM

Hi i ran into the same issues, after i did a reinstall because of a GUI error.

Event ID 513:

https://support.microsoft.com/en-us/help/3209092/event-id-513-when-running-vss-in-windows-server-2016

Event ID 5973:

It seems as the installer activates some Services per Default.I just stopped and diabled the Windows Search. That's it.

Regards,

Raphael


Tuesday, July 16, 2019 9:56 AM

worked for me