1. In order to import Log Enablement Package for Windows Server 2003 we need to use the Logman remote
functionality and execute it on a Windows Server 2008 or later operating system. The
PowerShell script ImportLEPRemotely.PS1 allows for the importing of Windows Server 2003 and later
Log Enablement Package but must be ran from a Windows Server 2008 or later machine. This script contains
a ServerList file which allows for specific or global targeting of servers on the network.
The ServerList file contains two sections. The first is called [All_Servers], which is a list of
Log Enablement Package that will be imported on all servers. The second section is called [Specific _Servers]
and it lists the Log Enablement Package to be applied to defined servers.
[All_Servers]
WSR_Processor_Alerts
WSR_Memory_Alerts
WSR_Disk_Alerts
[Specific_Servers]
Server1 = AD_AddressBook_Alerts; AD_AsychronousThreadQueue_Alerts
Server2 = AD_AddressBook_Alerts; AD_AsychronousThreadQueue_Alerts
Server3 = SQLServer_Workload_Alerts; SQLServer_DataAccess_Alerts
Once you have configured your list add the ImportLEPRemotely.PS1 file and all relevant
Log Enablement Package files to the same directory.
2. Open PowerShell and run the script. If Successful all Log Enablement Package on the remote machines should
be imported.
If you get an Access denied error you may need to configure the firewall on these remote servers.
This can easily be done thru GPO.
Enable Performance Monitor access on Remote Systems
1. Go to Run and type gpmc.msc.
2. Click on the plus sign next to Forest then Domains, and the plus sign next to the Domain where you will be creating the Group Policy.
3. Click the plus sign next to Group Policy Objects then right click and select New.
4. The New GPO Dialog is displayed. Enter the name of the GPO and click Ok.
4. Right Click on the domain you would like to link and select Link an existing GPO….
5. Right Click on the domain you would like to link and select Link an existing GPO….
6. Select the GPO you would like to link.
7. Right click the new GPO and select Edit.
8. The Group Policy Management Editor is displayed. Click on the plus sign next to
Computer Configuration and navigate to the Windows Firewall with Advanced Security and
right click on the Inbound Rules and select New Rule…
9. The New Inbound Rule Wizard is displayed. In the right panel choose the Predefined:
radio button and select Performance Logs and Alerts from the drop down box.
10. In the Wizard click Next for the default selections, then click Finish.
11. Close all open windows and rerun the script.
Comments