IIS 8 - Enabling Shared Configuration makes remote management impossible.
Good day everyone....
Once I enabled "Shared Configuration" in IIS, I am no longer able to use the IIS Manager from a remote computer. Here are the steps to reproduce the problem:
1. IIS installed with required features.
2. From the remote machine (on same domain as domain admin), I am able to use the IIS manager to connect to the server. Everything is working well up to this point. I leave the IIS Manager OPEN.
3. From the command line on the IIS Server, I run this script so IIS will use the configuration file I exported from another machine:
Set adminManager = WScript.CreateObject("Microsoft.ApplicationHost.WritableAdminManager") adminManager.CommitPath = "MACHINE/REDIRECTION" Set configurationRedirection = adminManager.GetAdminSection( "configurationRedirection", "MACHINE/REDIRECTION" ) configurationRedirection.Properties.Item( "enabled" ).Value = True configurationRedirection.Properties.Item( "path" ).Value = "c:\IISConfig" configurationRedirection.Properties.Item( "userName" ).Value = "valid account" configurationRedirection.Properties.Item( "password" ).Value= "valid password" adminManager.CommitChanges |
4. If I refresh the IIS console, I see the changes. All of my web apps appear.
5. I shut down the IIS interface, and reboot the web server.
6. When I try to reconnect to the web server, all I get is this "Management - "Feature Delegation", "ISS Permissions" and "IIS Manager Users"
Keep in mind that the web server itself is actually up and running. To fix the problem with the interface I have to disable the Shared Configuration by running this:
Set adminManager = WScript.CreateObject("Microsoft.ApplicationHost.WritableAdminManager") adminManager.CommitPath = "MACHINE/REDIRECTION"
Set configurationRedirection = adminManager.GetAdminSection( "configurationRedirection", _ "MACHINE/REDIRECTION" )
configurationRedirection.Properties.Item( "enabled" ).Value = False
adminManager.CommitChanges |
After I reboot the computer and restart the IIS interface I get what I expect to see.
Any ideas? It is this sort of thing that will pulling back to “FULL EDITION” of Windows 2012. I needed shared configuration!
Thanks!