Set up Enterprise Mode logging and data collection
- Windows 10
- Windows 8.1
- Windows 7
- Windows Server 2012 R2
- Windows Server 2008 R2 with Service Pack 1 (SP1)
Using Group Policy, you can turn on Enterprise Mode for Internet Explorer and then you can turn on local user control using the Let users turn on and use Enterprise Mode from the Tools menu setting, located in the
Administrative Templates\Windows Components\Internet Explorer category path. After you turn this setting on, your users can turn on Enterprise Mode locally, from the IE Tools menu.
The Let users turn on and use Enterprise Mode from the Tools menu setting also lets you decide where to send the user reports (as a URL). We recommend creating a custom HTTP port 81 to let your incoming user information go to a dedicated site. A dedicated site is important so you can quickly pick out the Enterprise Mode traffic from your other website traffic.
Getting these reports lets you find out about sites that aren’t working right, so you can add them to your Enterprise Mode site list, without having to locate them all yourself. For more information about creating and using a site list, see the Add multiple sites to the Enterprise Mode site list using a file and the Enterprise Mode Site List Manager (schema v.2) or the Add multiple sites to the Enterprise Mode site list using a file and the Enterprise Mode Site List Manager (schema v.1) topic, based on your operating system.
Using ASP to collect your data
When you turn logging on, you need a valid URL that points to a server that can be listened to for updates to a user’s registry key. This means you need to set up an endpoint server for the incoming POST messages, which are sent every time the user turns Enterprise Mode on or off from the Tools menu.
To set up an endpoint server
Configure an IIS server to work with your Enterprise Mode data collection process. If you’re unsure how to set up IIS, see the IIS installation webpage.
- Open Internet Information Services (IIS) and turn on the ASP components from the Add Roles and Features Wizard, Server Roles page.
This lets you create an ASP form that accepts the incoming POST messages.
Open the Internet Information Services (IIS) Manager, click Bindings, highlight Port 81, click Edit, and then change the website information to point to Port 81 so it matches your custom-created port.
Open the Logging feature, pick W3C for the format, and click Select Fields to open the W3C Logging Fields box.
- Change the WC3 logging fields to include only the Date, Client IP, User Name, and URI Query standard fields, and then click OK.
Using only these fields keeps the log file simple, giving you the date, client IP address, and the website URI information for any site changed by your users.
Apply these changes to your default website and close the IIS Manager.
Put your EmIE.asp file into the root of the web server, using this command: