One of my CAS Hub servers was acting up and started queuing email. I needed to move the message to another working server while I needed time to troubleshoot what was causing the queuing. This is what I had to do. On the non working server: Create a Folder on C: called MailsExport Open Exchange Management…
Updating the system time on Server 2008R2 & 2012R2 using NTP Servers
To update, use the command below (2008 and 2012 server compatible)
1 |
w32tm /config /manualpeerlist:"ntp_server" /syncfromflags:manual /reliable:yes /update |
change the ntp_server with your source. Check http://tf.nist.gov/tf-cgi/servers.cgi for servers Restart the time service
1 2 |
net stop w32time net start w32time |
Resync the time
1 |
w32tm /resync |
Verify your sync status
1 |
w32tm /query /status |
Commands above should be fine if your sources are working correctly and/or your connection is OK (firewall or Microsoft Forefront…
Cannot migrate user from Exchange 2010 to Exchange Online
So I came across this error while migrating some accounts from On-Premise Exchange 2010 Server to Exchange Online. Error: The subscription for the migration user [email protected] couldn’t be loaded. The following error was encountered: A subscription wasn’t found for this user. In short, there is an address conflict between the user properties of the exchange…
Bulk removal of Password Never Expires checkbox in AD
No one intends this but it is a problem that sooner or later you will be come across in your system administrator career. I’ve see this resolved many different ways, but I like to narrow it down to a particular OU. Depending on your case you may want to clean this across the board in…
Quest AD PowerShell cmdlets
I had trouble finding the Quest AD Powershell Cmdlets today. I knew Quest got acquired by Dell but I thought that my favorites would have still worked. Anyways, after a little of digging on the internet i was able to find them. It is now called ActiveRoles Management Shell for Active Directory  Here is the link: ActiveRoles…
Microsoft IIS: Disabling the SSL v3 Protocol
Depending on how your Windows servers are configured, you may need to disable SSL v3. Note that older versions of Internet Explorer may not have the TLS protocol enabled by default. If you disable SSL versions 2.0 and 3.0, the older versions of Internet Explorer will need to enable the TLS protocol before they can…
Outlook: Removing Copy from all the Calendar entries after importing from PST
This article applies to Outlook 2007 and 2010. If you are experiencing this issue with other mail clients, please contact Support. The “Copy” prefix is usually added to calendar items when items are imported from a PST file or copied from another calendar. To avoid this happening move items to the calendar instead of importing:…
Enabling ActiveSync for a Security Group using Powershell
1 2 3 4 5 6 |
$users = Get-ADGroupMember "AD Group with Users to be Enabled for ActiveSync" foreach ($line in $users) { $user = $line.samaccountname Set-CASMailbox $user -ActiveSyncEnabled:$true Get-CASMailbox $user | Select-Object Name, ActiveSyncEnabled } |
Disabling ActiveSync for a Group of Users using Powershell
I have tested this only in a Hybrid environment. Create a Universal AD Security Group called O365_Disabled_ActiveSync_Users. Add all the members to it. Make sure it has an email address that registers in Office365. Connect to Office365 via Powershell ISE:
1 2 3 4 5 |
Import-Module MSOnline $O365Cred = Get-Credential $O365Session = New-PSSession –ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $O365Cred -Authentication Basic -AllowRedirection Import-PSSession $O365Session Connect-MsolService –Credential $O365Cred |
Copy the following code in a file called DisableActiveSync.ps1 and run in powershell. Add…
nvvsvc.exe C++ Runtime Error
If you are getting this error you will be getting a black screen and a mouse pointer only. This will be the same even if you login to safe mode or low graphics mode. Here is the fix: If you have another OS installed in the system (you have a multiboot system): 1. Log-in to…