Category Archives: Server

Room Calendar Settings

By | February 16, 2022

By default room calendars delete the notes field of invitations. This eliminates usufull links to Zoom or Teams meetings. to fix this run the following script: $Rooms = Get-MailBox | where {$_.ResourceType -eq “Room”} foreach ($Room in $Rooms){ Set-CalendarProcessing -Identity $Room.alias -AddOrganizerToSubject $true -DeleteComments $false -DeleteSubject $false Get-CalendarProcessing -Identity $Room.alias |select Identity,AddOrganizerToSubject,DeleteComments,DeleteSubject,ResourceDelegates}

MySQL Service Not Starting

By | September 24, 2021

If a server running MySQL has an improper shutdown, the service cannot be started. This is because 2 files are in a corrupt state. This will cause WordPress sites hosted on the same server to display a database error. To fix this: Open: C:\ProgramData\MySQL\MySQL Server n.n\data Move ib_logfile0 & ib_logfile1 to a temp folder. Start “MySQL nn” Service

Import PSTs to 365

By | June 13, 2021

Go to: https://outlook.office365.com/ecp/UsersGroups/AdminRoleGroups.slab (365 Exchange ) May take 24 hours to apply Add Role to: Organization Management > Mailbox Import Export Go to:https://protection.office.com/import

Remove Orphaned Exchange Server

By | December 10, 2020

Removing a defunct Exchange Server from AD: ADSI Edit to Configuration\Services\Microsoft Exchange\<org name>\Administrative Group\Exchange Administrative Group (FYDIBOHF23SPDLT)\Servers +CN=[ServerName]  Delete from this point including all child-items If you have any exchange 2003 public folder references or routing groups, those will need to be deleted as well. They can be deleted using the management console if you prefer.

Windows Server Upgrade Path

By | September 20, 2020

Correct To Upgrade the OS Windows Server must be upgraded in steps. 2003 > 2008* > 2012R2 > 2016 > 2019 Incorrect – Data loss will occur While possible, these upgrades will clean install the OS and not upgrade. 2008* > 2016 *2008 is not supported (no mouse) on newer Hyper-V use 2008R2

Flex License Manager Update

By | October 17, 2019

The AutoDesk Flex License Manager loads but does not distribute, licenses to versions of Autodesk that are newer than the license manager. The Autodesk products will show an expired or no licenses available message when this happens. The easiest way to update the FLM is to: Install the FLM on a local Windows PC (the Autodesk installer will… Read More »

Server Manager Totally Blank

By | October 12, 2019

Windows Server Manager loads as a blank page. This is caused by a compatability issue with graphics drivers, particularly when the server has an advanced GPU installed. The quick resolution to this, is to uninstall the graphics driver. This will load the basic Microsoft video driver and allow the Server Manager to load.

Fragmented Tables

By | June 16, 2019

This code will locate SQL tables with fragmentation: –Replace DB_Name USE DB_Name; GO SELECT OBJECT_NAME(a.OBJECT_ID)AS TableName, a.index_id, name, avg_fragmentation_in_percent,avg_page_space_used_in_percent,page_count FROM sys.dm_db_index_physical_stats(DB_ID(N’DB_Name’), NULL, NULL, NULL,’SAMPLED’) AS a JOIN sys.indexes AS b ON a.object_id = b.object_id AND a.index_id = b.index_id WHERE avg_fragmentation_in_percent >= 30 ORDER BY page_count DESC GO

Windows Time

By | May 29, 2019

This command will cause the system clock to sync with Internet time servers. It is useful when an older server is losing time. On a PDC run: net stop w32time w32tm /config /manualpeerlist:”0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org”,0x8 /syncfromflags:MANUAL w32tm /config /reliable:yes net start w32time Check the status with: w32tm /query /status w32tm /query /peers On aother servers run: net… Read More »

‘WMI exception occurred on server’

By | April 14, 2019

When running Move-DatabasePath in Exchange the following error shows up ‘WMI exception occurred on server’. This is caused when the database has too many log files. The fix is to run a backup, time permitting. If time is limited: Enable circular logging on the database to be moved Dismount and Mount the database (this will start the log… Read More »

MySQL Service not starting

By | April 5, 2019

Create a backup of all current MySQL data and databases at C:\ProgramData\MySQL\MySQL Server n.n\data Open the C:\ProgramData\MySQL\MySQL Server n.n\my.ini file. Add the following line into the [MySQLD] section: innodb_force_recovery = 1 skip-grant-tables Try to start MySQL. Stop MySQL service. Remove the line innodb_force_recovery from my.ini file and start MySQL. Alternative Open: C:\ProgramData\MySQL\MySQL Server n.n\data Delete ib_logfile0 & ib_logfile1… Read More »

SMG Queue – 450 4.4.1

By | August 21, 2018

If you are seeing the following error, on messages in the Symantec Messaging Gateway queue: 450 4.4.1 [internal] Connection Timed Out These messages are being interrupted during transmission. This leads to the sender receiving a delayed delivery notice. This is caused by something in the message being rejected by the Cisco router during inspection of the traffic. To… Read More »

Exchange Permissions

By | August 16, 2018

You can list all users with Mailbox permissions with this in PowerShell: Get-Mailbox | Get-MailboxPermission | where {$_.user.tostring() -ne “NT AUTHORITY\SELF” -and $_.IsInherited -eq $false} | Select Identity,User | Export-Csv -NoTypeInformation mailboxpermissions.csv

Exchange13 Discovery

By | December 11, 2017

Prerequisites: The user that you are going to run the eDiscovery as must be a member of Mailbox Search Role and the Discovery Management Role Group (The discovery management Role Group will encompass the Mailbox Search Role) You will not see the eDiscovery or litigation hold options (The compliance management menu item on the left side of the… Read More »

Add an Exchange Relay

By | November 16, 2017

To relay through exchange server the following receive connector settings should be used: Set your Name and Port as needed. Under security check ONLY: Transport Layer Security (TLS); Externally secured (for example, with IPsec); Exchange Servers; Anonymous Users  From Scoping REMOVE the 0.0.0.0-255.255.255.255 range. (WARNING: Skipping this will create an open relay) and add Static IPs for approved senders.… Read More »

Exchange Email Format

By | May 9, 2017

In Exchange, emails sent outside the organization are converted and the format of these can be set per domain or for all domains. If messages are sent in text format, some recipients will have issues viewing attached images. ContentType should be MimeHtmlText not MimeText when running: Get-RemoteDomain |fl To update it run the following with either a domain… Read More »

Brightmail Upgrade

By | April 26, 2017

To update the Symantec Gateway run this from the console Block inbound SMTP from Router Backup VHD Check Version: show –version update list update check update download update install or update install–version 10.6.6-5 Monitor with: tail -f update.log Read Agreement (space) and agree (Y) Verify Version: show –version Enable SMTP from the router If step 6 fails use:… Read More »

Restore Brightmail

By | April 26, 2017

Block inbound SMTP from router Mount ISO and boot Logon with: admin & symantec Set time zone: 10 Add ALL previous Ethernet Interfaces Load license and add basic settings Restore the last backup From console reboot Login and verify settings Enable inbound SMTP from router