Problem:
Server Roles and server features are not listed, or may be giving an error, or switching to you to a main server manager window.
Add/Remove software list is empty
Windows patches are not installing
Windows Modules Installer service (Service Name: Trusted Installer) doesn’t start and error is logged “windows could not start the windows modules installer service on Local Computer. Error 126: The specified module could not be found”
Reason:
Winsxs folder permissions are changed, Files are deleted from WinSXS folder.
Inappropriate change of a registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Version
Solution:
Step 1:
Locate the C:\Windows\Servicing\Version directory, and note the name of the subfolder in this directory. It will be named something like “6.1.7600.16385.” This is your TrustedInstaller ID.
Step 2:
Copy the subfolder name to the clipboard, and then paste it into Notepad for safekeeping.
Step 3:
In the C:\Windows\WinSxS directory, find a subfolder whose name begins with one of the following strings. (In the following subfolder names, the placeholderTrustedInstaller ID represents your TrustedInstaller ID.)
For 32-bit Windows
x86_microsoft-windows-servicingstack_31bf3856ad364e35_TrustedInstaller ID_none
For 64-bit Windows
amd64_microsoft-windows-servicingstack_31bf3856ad364e35_TrustedInstaller ID_none
Step 4:
Create the following registry subkey:
HKLM\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\Version
Step 5:
On the Version key that you created in last step, create an expandable string value or edit if it is already there . use the TrustedInstaller ID as your name, and use the full path of the folder that you identified in step 3 as the value (for example: %SystemRoot%\WinSxS\folder_name instead of C:\Windows\WinSxS\ folder_name)