Enabling Shared Configuration in Windows 2022 Server
Shared Configuration in Windows Server primarily refers to the Internet Information Services (IIS) feature that allows multiple web farm servers to synchronize and use a single set of configuration (applicationHost.config and administration.config). In recent days while performing Windows server 2016 to Windows server 2022, We faced issue in IIS Manager was crashing after enabling Shared configuration and had to contact Microsoft support team.
After investigation from and Microsoft support confirmed, they have a bug in windows 2022 server IIS Manager while saving shared configuration.
With help from Microsoft Support Team, We were able to identify the alternate solution to fix the issue.
Following are steps to fix the issue.
Add the permissions to MachineKeys under C:\ProgramData\Microsoft\Crypto\RSA\
Add the below users from local machine
Everyone - Read & Execute, List folder contents, Read
SYSTEM - All Permissions
IIS_IUSRS - Read & Execute, List folder contents, Read
USERS - Read & Execute, List folder contents, Read
Administrator - All Permissions
Copy the exported IIS-Transfer-Key (which has 2016 RSA Machine Keys) to Windows 2022 Server and keep it in C Drive.
Run the following script in Windows 2016 server.
c. Restart the Windows Process Activation Service and World Wide Web Services.
d. Enable Shared Configuration on the servers.
Give the Path, Service Account, Username, Password and Encryption Password.
This should enable the shared configuration and you should see the sites in the server.