Tuesday, March 19, 2024

[Solution] Session “” failed to start with the following error: 0xC0000022

Abstract: A customer recently installed Windows 2012 R2 on a brand new HP hardware for MS Exchange 2016. On the fresh new event log we still see multiple “Session “” failed to start with the following error: 0xC0000022″ errors. The solution for that is quite simple.

The issue seamed to be caused by a HP specified driver / software implementation. A workaround is posted by Microsoft and HP.

Perform the following steps:

1.) Open an Admin command prompt (run as admin) and run the following commands to be granted the necessary file privileges:

Takeown /f c:\windows\inf

icacls c:\windows\inf /grant “NT AUTHORITY\NETWORK SERVICE”:”(OI)(CI)(F)”

icacls c:\windows\inf\netcfgx.0.etl /grant “NT AUTHORITY\NETWORK SERVICE”:F

icacls c:\windows\inf\netcfgx.1.etl /grant “NT AUTHORITY\NETWORK SERVICE”:F

2.) After running the above commands, reset the owner of c:\windows\inf back to the “NT SERVICE\TrustedInstaller” account via:

a.) Start Explorer

b.) navigate to c:\windows,

c.) right-click on the c:\windows\INF directory

d.) choose Properties

e.) On the Security tab, click Advanced

f.) Next to Owner, click Change

g.) Click Location and select the local computer. (If necessary, scroll up to locate it on the domain.)

h.) In the Object name, enter “NT SERVICE\TrustedInstaller” and select Check Names.

i.) Click OK.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

35FollowersFollow
- Advertisement -

Latest Articles