Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Windows Server Assessment assesses the Server environment in the following areas: Server Baselines, Server Security, Hyper-V, Failover Cluster and IIS. It also collects and analyzes server data that generates a list of issues to address with remediation guidance and best practices to improve the performance of your server infrastructure and features such as deploying applications, software updates, and operating systems. Assessments are available through the Microsoft Engage Center to help you optimize the availability, security, and performance of your Microsoft technology investments. These assessments use Microsoft Azure Log Analytics, which is designed to give you simplified IT and security management across your environment.
Running the Windows Server Assessment
Prerequisites
To take full advantage of the On-Demand Assessments available through Microsoft Engage Center, you must:
Have an active Azure Subscription with deployed Engage Center Connector, Log Analytics workspace, collector server , plus the Windows Server assessment extension added. For more information, see Get started with On-Demand Assessments.
A domain account (User or Managed Service Account) with the following rights:
- Member of the local Administrators group on all servers in the environment
- Member of the local Administrators group of the tools machine
- Unrestricted network access from the Tools machine to all servers.
- PowerShell Remoting (Enable-PSRemoting on all machines or configure using GPO on all domain controllers)
- Windows Update Agent must be running on all in-scope servers for the security update scan
On the data collection machine:
- Windows PowerShell 5.1 or later installed
- IIS Management Console Application Installed
- Log Parser 2.2 installed
- PowerShell Execution policy set to RemoteSigned.
On the data collection machine, change the following setting in the group policy editor (gpedit.msc) from "Not Configured" to "Enabled":
Computer Configuration->Administrative Templates->System-> User Profiles 'Do not forcefully unload the user registry at user logoff’.
Turn on Remote Event Log Management through Group Policy.
Review the Pre-Requisites document for the Windows Server Assessment. This document details the technical requirements for the Windows Server Assessment, the server preparation needed to run the assessment, and the various types of data collected.
Note
On average, it takes two hours to initially configure your environment to run an On-Demand Assessment. After you run an assessment you can review the data in Azure Log Analytics. This will provide you with a prioritized list of recommendations, categorized across six focus areas. This allows you and your team to quickly understand risk levels, the health of your environments, act to decrease risk, and improve your overall IT health.
Setup the Windows Server Assessment on the data collection machine
Note
You will need to setup your Engage Center Connector first, to configure On-Demand Assessments. Follow these directions to setup your Engage Center Connector, connect to a Log Analytics workspace and then add the On-Demand Assessments that you want to configure.
On the data collection machine, create the following folder: C:\OMS\WinSrv (or any other folder besides C:\ODA which is reserved by the system).
Open regular PowerShell (not ISE) in Administrator mode and run the following cmdlet:
Add-WindowsServerAssessmentTask -ServerName <YourServerName> -WorkingDirectory <Directory>-LogAnalyticsWorkspaceId <WorkspaceID>command where YourServerName is the semi-colon separated FQDN or NetBIOS name of the Servers that need to be assessed and <Directory> is the path to an existing directory used to store the files created while collecting and analyzing the data from the environment.<WorkspaceId> – provides ID for the Log Analytics workspace that will be used to store the uploaded dataIf you're using a Group Managed Service Account Open regular PowerShell (not ISE) in Administrator mode and run the cmdlet:
Add-WindowsServerAssessmentTask -ServerName <YourServerName> -WorkingDirectory <Directory> -LogAnalyticsWorkspaceId <WorkspaceID> -RunWithManagedServiceAccount $TrueWhere <YourServerName> is the semi-colon separated FQDN or NetBIOS name of the Servers that need to be assessed and <Directory> is the path to an existing directory used to store the files created while collecting and analyzing the data from the environment.<WorkspaceId> – Provides ID for the Log Analytics workspace that will be used to store the uploaded dataProvide the required user account credentials that satisfy the requirements mentioned in this article earlier.
Data collection is triggered by the scheduled task named WindowsServerAssessment within an hour of running the previous script and then every 7 days. The task can be modified to run on a different date/time or even forced to run immediately from the task scheduler library -> Microsoft -> Operations Management Suite -> AOI*** -> Assessments -> WindowsServerAssessment
During collection and analysis, data is temporarily stored under the Working Directory folder that was configured during setup.
After a few hours, your assessment results will be available on your Log Analytics and Microsoft Engage Center Dashboard. You see the results by going into Microsoft Engage Center -> IT Health -> On-Demand Assessments and then selecting "View all recommendations" against the active assessment
If you wish to get a Microsoft Accredited Engineer to go over the issues about your Windows Server Environment with you, you can contact your Microsoft Representative and ask them about the Remote or Onsite CSA Led Delivery