Change Log: V1.4.1 8/25/2015 - 8/26/2015 Git Issue #4 - Edit Noble US/UK/HK preset instructions. - Updated Noble instructions inside the GUI with instructions to updates Noble's reference spreadsheet on Sharepoint. Git Issue #3 - GUI - Cores per CPU is not accurate. - Corrected an issue where the core count per CPU was inaccurate. Added a new field - total CPU cores. Git Issue #5 - Add "Business Service" BES field - Added the option to the GUI. Added code for the refresh preset buttons. Added a new tag to variables.xml. Added code to ServerSetup.ps1. Git Issue #1 - Add MPIO hotfixes - Added code to install MPIO hotfixes on 2008 R2 and 2012 R1 and the hotfixes to the installer directory. Updated TEMInstaller - released 7/25/2015 Git Issue #7 - Prerequisite installer fails to disable UAC - Added to prerequisite installer and version checker to run PS as administrator. Git Issue #6 - New option - Disable Windows 2012 Disk Optimization - Added code to disable automatic disk optimization. Added option to the GUI and adjusted all presets V1.4.0 6/16/2015 NEW - ServerSetup.ps1 - Added code to harden SSL. NEW - ServerSetupGUI.ps1 - Added option to harden SSL (unchecked by default). NEW - Variables.xml - Added xml field: Variables.Misc.HardenSSL V1.3.9 5/12/2015 FIX - ServerSetupPrereqInstaller.ps1 - Resolved an issue where certain commands in Serversetup.ps1 would not run if UAC was enabled. Added code to the prereq installer requiring UAC to be disabled. FIX - ServerSetup.ps1 - Added code to the EM7 SNMP install function, including all sub features. V1.3.8 4/2/2015 Resolved an issue where egress filtering can cause the internet access check to fail. Updated code below: FIX - ServerSetup.ps1 - Changed code that checks for internet access to download a file rather than ping a server. FIX - ServerSetupGUI.ps1 - Changed code that checks for internet access to download a file rather than ping a server. FIX - ServerSetupPrereqInstaller.ps1 - Changed code that checks for internet access to download a file rather than ping a server. FIX - VersionChecker.ps1 - Changed code that checks for internet access to download a file rather than ping a server. V1.3.7 3/16/2015 FIX - ServerSetup.ps1 - Corrected RDP idle and disconnected RDP session timeouts keys (changed from REG_SZ to REG_DWORD). FIX - ServerSetupGUI.ps1 - Fixed the formating of client preset instructions (added support for multiple line formatting). FIX - ServerSetupGUI.ps1 - Removed an abandonded checkbox from the Windows Update tab. FIX - ServerSetupGUI.ps1 - Fixed the Windows Update button. NEW - ServerSetupGUI.ps1 - Added Noble (HK) preset. Added code to preset selections, timezone, NTP, BEs, etc.v NEW - ServerSetupGUI.ps1 - Added Noble (UK) preset. Added code to preset selections, timezone, NTP, BEs, etc. NEW - ServerSetupGUI.ps1 - Added BES account ID for Noble (US) preset. NEW - ServerSetupGUI.ps1 - Set RDP idle and disconnected RDP session timeouts to unchecked for Noble (US) preset. NEW - ServerSetup.ps1 - Added code to support Noble (HK) preset. NEW - ServerSetup.ps1 - Added code to support Noble (UK) preset. New - NobleHK.bat - Created batch with Noble (HK) BES relays. Added to .\BESClientSettings\. New - NobleUK.bat - Created batch with Noble (UK) BES relays. Added to .\BESClientSettings\. V1.3.6 3/10/2015 .\Installers\Observer - Updated Observer agent installer (Released 3/6/15). .\Installers\BES - Removed Tivoli tool. .\Installers\BES - Added BES_DP_Keys.reg NEW - ServerSetupGUI.ps1 - Added a button to open the special instructions for a preset in Notepad. FIX - ServerSetupGUI.ps1 - Removed individual special instruction boxes for each client. The tool now uses a single rich text box, updating the contents when a preset is selected. FIX - ServerSetupGUI.ps1 - Changed the reset presets button to reset the special instructions box and all selections back to the default. NEW - ServerSetupGUI.ps1 - Added fields to disable idle and disconnected RDP session timeouts. NEW - ServerSetupGUI.ps1 - Added all fields from the Tivoli tool to the Monitoring/BES tab. NEW - ServerSetupGUI.ps1 - Added a Validate button and Validation text box to the Verify and Run Tab. Added code to detect if all required fields were selected, unlocking the Setup this Server button. NEW - ServerSetup.ps1 - Added code to detect and disable idle and disconnected RDP session timeouts from XML. NEW - ServerSetup.ps1 - Re-wrote the BES installation code. Removed the Tivoli tool. Added code to pull and configure BES settings from XML. Added code to import BES_DP_Keys.reg. NEW - ServerSetup.ps1 - Added code to reset reboot flag, post Windows Update. NEW - ServerSetup.ps1 - Added code to run Windows Update a second time. V1.3.5 3/4/2015 NEW - ServerSetupGui.Ps1 - Added a new tab to the GUI (Presets). NEW - ServerSetupGui.Ps1 - Added a preset dropdown menu with the values: AWS General Client, Noble (US), Noble (UK) and Noble (HK). NEW - ServerSetupGui.Ps1 - Added a Apply Preset and reset buttons to the presets section. NEW - ServerSetupGui.Ps1 - Added a read only rich text box for special instructions to the preset tab. Added default text and instructions when AWS General Client is selected. NEW - ServerSetupGui.Ps1 - Added code to select the default options for the AWS General Client. NEW - ServerSetupGui.Ps1 - Added option to enable/disable setting the Application event log max size to 2 GB. NEW - ServerSetupGui.Ps1 - Added option to enable/disable setting the Security event log max size to 2 GB. NEW - ServerSetupGui.Ps1 - Added option to enable/disable setting the System event log max size to 2 GB. NEW - Variables.xml - Added xml field: Variables.EventLog.MaxSize.Application NEW - Variables.xml - Added xml field: Variables.EventLog.MaxSize.Security NEW - Variables.xml - Added xml field: Variables.EventLog.MaxSize.System NEW - ServerSetup.ps1 - Added code to detect if the option to set the Application event log max size to 2 GB was selected. NEW - ServerSetup.ps1 - Added code to detect if the option to set the Security event log max size to 2 GB was selected. NEW - ServerSetup.ps1 - Added code to detect if the option to set the System event log max size to 2 GB was selected. V1.3.4 2/23/2015 FIX - ServerSetupPrereqInstaller.ps1 - Added code to confirm access to toolkit. NEW - ServerSetup.ps1 - Added code to detect the OS version NEW - ServerSetup.ps1 - Added code to check for a required SNMP hotfix - KB2786454 (2008 R2, 2012 R1) and install it if necessary (only when SNMP/EM7 option is enabled). NEW - ServerSetup.ps1 - Added code to remove the Windows Update restart flag if the KB2786454 was installed, allowing the script to continue. New - Created Installers\SNMP_Hotfix\KB2786454 and added Windows6.1-KB2786454-x64.msu and Windows8-RT-KB2786454-x64.msu V1.3.3 1/29/2015 FIX - ServerSetup.ps1 - Changed the size the Application, Security and System event logs are set to from 4 GB to 2 GB. V1.3.2 1/12/2015 Updated BES installer and Tivoli tool. V1.3.1 6/2/2014 FIX - ServerSetup.ps1 - Corrected an issue where checking high performance power mode put the server in balanced mode. V1.3.0 5/29/2014 FIX - ServerSetup.ps1 - Corrected an issue where certain 2012 R2 servers would ignore adding SNMP community strings for client specific EM7 settings NEW - ServerSetup.ps1 - Added code to check if SNMP is disabled, enabling it. NEW - ServerSetup.ps1 - Added code to start SNMP, in case it is not running. V1.2.9 5/14/2014 FIX - ServerSetup.ps1 - Server renames on 2008 R2 were not working. Updated code to remove whitespace from the xml variable FIX - ServerSetup.ps1 - When selecting to install optional Windows Updates they were counted in the GUI but not actually installed in the setup script. Updated code for Windows Updates. FIX - ServerSetupGui.Ps1 - Updated code and GUI text for windows Updates. When a user selects to install optional updates it now displays the total count. When option is not checked it counts only critical and important. V1.2.8 5/12/2014 FIX - ServerSetup.ps1 - Empty timezone choice would report as an error. Changed code that detects the user's input. FIX - ServerSetup.ps1 - Empty NTP Server choice would report as an error. Changed code that detects the user's input. FIX - ServerSetup.ps1 - Empty NTP Mode choice would report as an error. Changed code that detects the user's input. FIX - ServerSetup.ps1 - If a custom IIS location was picked in 08 R2, the script would not create the necessary weblogs folder. Changed the code used for as the detection method and code to create the directory from the xml variable. V1.2.7 5/1/2014 FIX - ServerSetupGui.ps1 - Moved general client SNMP settings from the BES dropdown to the EM7 dropdown. FIX - ServerSetupGui.ps1 - Drive details would not load if only 1 disk was present. Added code to display the older version of drive details (non LUN version), if only 1 drive is detected. FIX - ServerSetup.ps1 - Corrected XML key used to configure EM7 client specific SNMP strings. FIX - ServerSetup.ps1 - MPIO identifier section was not being skipped when no option was picked. Updated the script to look for "" rather than null FIX - ServerSetup.ps1 - IIS log location section was not being skipped when no option was picked. Updated the script to look for "" rather than null FIX - ServerSetup.ps1 - Updated code to prevent the popup message telling users the build is complete, from hiding behind the Powershell window. FIX - VersionChecker.ps1 - In 2012 R2 when the administrator account is renamed dpadmin, the c:\users folder remains named administrator which was causing the updater download to fail (using a username variable). Added code to detect and use the current full desktop path. V1.2.6 4/30/2014 FIX - ServerSetupGui.ps1 - Changed all gridviews (network, disks, etc) to read only. FIX - ServerSetupGui.ps1 - Changed cell shadow color for all gridviews (network, disks, etc) to white. NEW - ServerSetu.ps1 - Increased page file size options from 150 GB to 300 GB. NEW - ServerSetupGui.ps1 and ServerSetup.ps1 - Added option and PS code for EM7 clients using general (shared collectors). NEW - ServerSetup.ps1 - Added code at the very end, after Windows Updates to adjust the log file size. We found an issue which might be patch releated from the WDS jump system where a bad log fie size prevents Roles and Features to install. V1.2.5 4/28/2014 FIX - ServerSetupGui.ps1 - Start script button stopped working in V 1.2.4 FIX - ServerSetup.ps1 - Resolved an issue where SNMP can be installed but still set to disabled. FIX - UpdateChecker.ps1 - Resolved an issue where the download would fail on 2008 R2 NEW - UpdateChecker.ps1 - Updated utility now downloads to the user's desktop. A prompt is also displayed once the download completes NEW - ServerSetupGui.ps1 - Replaced code that displays disk information with code written by Joe A. which shows LUN details NEW - Added diskext.exe to \Installers\Disk. This .exe supports the new disk information code NEW - ServerSetupGui.ps1 - Added dropdown menu with option to specify IIS log file location. Dropdown auto-populates with drive list NEW - ServerSetupGui.ps1 - Added code to hide IIS log file location dropdown unless install IIS is selected NEW - ServerSetupGui.ps1 - Added code to hide custom BES and client SNMP settings unless the app is selected for installation. New - ServerSetup.ps1 - Added code to configure IIS log location. If a location is selected the code will automatically add all log fields. V1.2.4 4/23/2014 FIX - ServerSetup.ps1 - On 2008 R2 if you selected to configure multiple page files, only the first drive would configure. Resolved. NEW - ServerSetup.ps1 - Added BES and EM7 configurations for Noble UK. REMOVED - ServerSetupGui.ps1 - Removed Noble Asia as a dropdown choice for BES relays and EM7 monoitoring. Once the HK team gets me the configuration information, I will add them back. NEW - Removed the BETA label! V1.2.3 4/16/2014 FIX - ServerSetupPrereqInstaller.ps1 - Added required pre-reqs for 2008 R2 (.NET 4, Powershell 3), to stop the script from failing. NEW - ServerSetupPrereqInstaller.ps1 - Pre-reqs are not hosted on Toolkit and will be downloaded as needed (prevents the .exe from being 100+ MB) NEW - ServerSetupPrereqInstaller.ps1 - Verifies access to Toolkit when required. If access is not verified, it prompts with an error to fix the internet connection or install the component manually NEW - Global change - Changed user prompts to popup messages. V1.2.2 4/1/2014 NEW - Start.bat - Added code to check the OS before running. If >2008 R2 you cannot continue. NEW - UpdateChecker.ps1 - Created new file to check the current script version against the latest, with the option to download the latest silently. NEW - ServerSetup.ps1 - Changed MPIO identifier field to a dropdown menu and populated ids for 3PAR and EMC. NEW - New.Bat - Added code to clean up the temp directories where the installer expands. NEW - All user prompts are now popup Yes/No boxes, replacing the previous text prompts. FIX - ServerSetupGui.ps1 - Corrected alternating cell row colors on the network tab. All text is now black. FIX - ServerSetup.ps1 - Fixed code to detect if a MPIO identifier was entered. V1.2.1 3/31/2014 - Modified ServerSetupGui.ps1 - Removed the option to disable Print Spooler. There is a bug in Windows... when clustering is installed and the print spooler is disabled, any service connecting to the resource will crash with a .NET error. - Modified ServerSetup.ps1 - Removed the code to disable Print Spooler. There is a bug in Windows... when clustering is installed and the print spooler is disabled, any service connecting to the resource will crash with a .NET error. - Modified ServerSetup.ps1 - Client SNMP settings were not configuring due to an issue detecting SNMP. The script now detects SNMP through the registry. - Modified ServerSetup.ps1 - Fixed code to detect to bypass page file adjustment is no page file configuration is selected. - Modified ServerSetup.ps1 - Added code to set SNMP service to automatic and to start it up. - Modified End.Bat - Re-wrote the ending batch which deletes the source file and resets the PS execution policy was not auto closing. You would need to type exit in the dos prompt to continue loading windows. V1.2 3/25/2014 - Modified serversetup.ps1 - 100 whitespace characters were being appended to the end of the xml timezone input. Added code to pull the timezone xml, trimming the whitespace (TrimEnd()) and converting it to a variable. - Modified serversetup.ps1 - Resolved an issue where randomly the script had trouble detecting if Windows FW was disabled for individual profiles. Changes the check from ntsh lookup to registry key lookup. - Modified serversetupGui.ps1 - Removed option to install .NET 3.5 and .NET 4.5 - Modified serversetup.ps1 - Removed code to install .NET 3.5 and .NET 4.5 - Modified serversetup.ps1 - Creating a page file was failing. Changed the math code to multiply the size in GB by 1024 rather than MB - Modified serversetup.ps1 - end.bat which deletes the source files was not running. Changed the code that launches the script from a one time reg key. V1.1 3/24/2014 - Added to Start.bat - Copies end.bat from the source to C:\Windows\Temp - Added to Start.bat - Looks for an existing log file and delete if found - Added to ServerSetup.ps1 - Script now confirms requested changes were actually made - Added to ServerSetup.ps1 - Logging throughout the script - Added to ServerSetup.ps1 - Log file will automatically open at the end of the script (C:\Windows\Temp\ServerSetupUtility.log) - Added to ServerSetup.ps1 - Added registry key to run end.bat on reboot - Created end.bat - Runs on reboot after script is complete. Deleted source files (C:\ServerSetupUtility) and sets PS execution policy to restricted V1.0 3/20/2014 - Initial build