June 2017 – Vulnerability in Azure AD Connect Could Allow Elevation of Privilege – 4033453

Hi everyone! I just thought I’d alert you all to a recent Elevation of Privilege vulnerability that has been identified in Azure AD Connect, Microsoft’s tool to sync Active Directory Domain Services and Azure Active Directory. This vulnerability is described on TechNet. This vulnerability is especially a concern for environments that take advantage of the Password Writeback […]

No connectivity with any of Web Conferencing Edge Servers when you install May 2017 .NET Framework Update on a Skype/Lync Front End Server

Had an interesting one recently where we installed the May 2017 Windows updates on our test Skype environment and screen sharing no longer worked. When investigating we were seeing the following error in the event logs on our Skype front end server: After uninstalling the updates, the issue was resolved. We raised this with Microsoft […]

Administrating DirectAccess without Domain Admin Privileges

So we had a requirement recently whereby we wanted to restrict the amount of Domain Admins we had in our Active Directory domain. One of the issues we came across is users who aren’t members of Domain Admins not being able to open the Remote Access Management console to administer our DirectAccess implementation. These users […]

Find mailbox move history

Had a customer who wanted to do a mailbox restore from 2 years ago but wasn’t sure which mailbox database the mailbox would have resided in back then. I found a really useful command to show the move history on the a mailbox:   (Get-MailboxStatistics <USER> -IncludeMoveHistory).MoveHistory | select CompletionTimestamp,SourceDatabase,TargetDatabase   Which gives you something […]

SCCM Update Pack Right Click Options Greyed Out

Hello all! We had a customer recently when upgrading from SCCM Update Pack 1602 to 1606 that faced an issue where the right click options to install are greyed out preventing installation. We found the below resolved the issue for us: Firstly, take a backup of your SCCM DB just to be safe! Secondly this […]

Enable Single Sign On for ADFS for Microsoft Edge

Hello everyone! By default, ADFS doesn’t currently support SSO for the Edge Web Browser due to the fact that Microsoft released the Edge browser after releasing ADFS 3.0. We can add SSO support for Edge ourselves, by adding it to the list of WIASupportedUserAgents. Log into your primary ADFS server and open PowerShell as administrator. Run the following command […]

Grant Temporary Membership to AD Groups in Windows Server 2016

To provide a user or multiple users temporary access to a group within AD there are 2 options which can provide a solution. The first way is to make dynamic object within AD which is an object that has a set time that it will be active for. This is done by using ldifde and […]

Deploying Visio 2016 Volume Licence using App-V in SCCM 2012 R2

Have you found yourself in a situation where you have deployed Office click to run but do not have any licences for Visio or Project, but do have to hand the Volume Licence versions? Because Windows does not like having both the click to run version of office and the volume licence version installed at […]

Deploying Batch Scripts using Intune

I’ve been doing some work for a client recently to update their 3rd party applications which they have deployed using Intune. I ran into a problem whereby when updating Java, the older versions are not uninstalled/overwritten by the update, so older versions of Java are left installed on clients. I was able to remove the older versions […]

Bitlocker recovery missing in Active Directory users and computers

Hi All, A colleague recently asked me about a problem they were having, whereby the ‘Bitlocker Recovery’ tab in the properties of all Computer accounts was missing in Active Directory Users and Computers and therefore they could not obtain a Bitlocker recovery key when using a particular domain controller. This tab actually requires an additional feature installation, as […]

Increase your rule limit size in Office 365

If you’re anything like me and have a lot of rules in your inbox, you may be very close or already hit your limit of allowed rules. By default in 365 your rule limit size is 64k , you can increase this with the below command: set-mailbox -identity User@Fomain.com -RulesQuota 256kb The limit is 256kb […]

Lync 2013 Management Shell Error Enabling Users

We recently received a request from a customer with issues related to an ‘Insufficient access rights to perform the operation’ error occurring when using the cmdlet Enable-CsUser. They were displayed with the following: Thankfully, we have another simple and quick fix for this one. Go to Active Directory Users and Computers (with Advanced Features turned […]

Lync 2013 Control Panel Script Error via Enable Users

We recently received a request from a customer with issues related to a script error displaying every time they tried accessing the ‘Enable Users’ page when using ‘Lync Control Panel’ on the server. They were displayed with the following: We had a quick test to see if the user would be able to access the […]

Cumulative Update 10 for Exchange 2013 Released!!!

Just to let you know Exchange 2013 CU10 has been released You can download the rollup from http://www.microsoft.com/en-us/download/details.aspx?id=49044&WT.mc_id=rss_alldownloads_all   Issues Resolved KB3087126 MS15-103: Description of the security update for Exchange Server: September 8, 2015 KB3094068 Permissions for a linked mailbox are added to an account in the wrong forest in an Exchange Server 2013 environment […]

Automatically add users to a security group with PowerShell

Hi All, Sometimes you may find yourself needing to add a large number of users to a particular AD Security group. Using a PowerShell script, you can automate this process and target users based on the value of any AD user attribute. In the below example, the script targets all users in a particular OU – any users in […]

Skype 2015 CU1 Update Failure KB3061059

We recently were upgrading a Skype 2015 Edge server to CU1 and the upgrade failed with a 1603 error L We checked the Skype_patchinstallerlog and could see the below error “[19/08/2015 21:31:21] Embedded patch Server.msp is referred by KB #3061059 [19/08/2015 21:31:21] Embedded patch Server.msp can be researched at URL http://support.microsoft.com/?kbid=3061059 [19/08/2015 21:31:21] Embedded patch […]

Get a user\asset list with Active Directory and PowerShell

Hi All, In this blog I will show you a PowerShell script that will work out of the box to generate a CSV file with a list of devices and the name of the each device’s most recent user. As most IT admins know, keeping an asset list up-to-date and accurate can be difficult at […]

Bulk create computer accounts with PowerShell

Hi All , I recently had a requirement to pre-create 30 computers accounts in Active Directory for computers that had not yet been domain joined. To do this I used a script to generate the computer accounts. Using this script, you can pull the computer names from a CSV file and create them in a […]

App Fabric install error – rebooting constantly

Had an interesting one today, installing the pre-requisites for SharePoint 2013 foundation, every time I got to the App Fabric it would fail and want a reboot. After about 3 reboots I decided enough was enough. The event logs weren’t much help so I had a look to see if there were any more logs […]

GPO not applying to security group

Had a strange one today – I created a new group policy and tested it using Security Filtering with one user and it worked a treat so I created a group and popped my user in it. After a replicate and test I could see it just wasn’t applying…and interestingly the user was not showing […]

Extracting Files from an MSI

Have you ever needed to extract some files from an MSI to get a specific document but you don’t want to install the program to get it, or are unable to? Well there is a simple tool you can use that will extract the files as if it is installing but it won’t actually install […]

Office 365 ExpressRoute

Office 365 ExpressRoute is coming, according to the Office 365 public roadmap, in the third quarter of 2015. For people that may already be consuming Azure cloud services, may already be aware of ExpressRoute. For those who don’t, ExpressRoute offers a private connection directly into Azure which means that you are not using the traditional […]

Cumulative Update 9 Released for Exchange 2013

Just to let you know Exchange 2013 CU9 has been released You can download the rollup from http://www.microsoft.com/en-us/download/details.aspx?id=47679&WT.mc_id=rss_alldownloads_all CU9 contains the following fixes (Referenced from http://blogs.technet.com/b/rmilne/archive/2015/06/16/exchange-2013-cu9-released.aspx)   KB3069501 – Duplicate folders are created after a mailbox move in Exchange Server 2013 Enterprise KB3055940 – “Object reference not set to an instance” error when you install […]

The user “Mail Enabled Security Group” was found in Active Directory but isn’t valid to use for permissions

We had an issue with a customer recently where they were unable to add a permission to a mailbox for a mail enabled security group. Every time they ran the “Add-MailboxFolderPermissions -Identity “User1:\calendar” -AccessRights Editor -User “Mail Enabled Security Group”” they got the below error. The user “Mail Enabled Security Group” was found in Active […]

Change or add SMTP address to O365 user

I was setting up some testing in my labs recently and synced a user from AD to O365. I noticed this user had the primary email address of the onmicrosoft domain which I didn’t want. When I tried to change this in Exchange online I was presented with an error: Now I don’t have exchange […]

Office 365 – Top 5 features either here or coming soon

As part of the ongoing improvements that are continuously happening on Office 365 I thought it may be a good time to talk about some of my own favourite features that are either available right now or will be coming soon that you may consider activating if you are an already an Office 365 customer: […]

Skype for Business 2015 Server Management Pack Released!

The Skype for Business 2015 management pack has been released J You can download from http://www.microsoft.com/en-us/download/details.aspx?id=47364&WT.mc_id=rss_alldownloads_all Management Pack Details below (Referenced from the Above Link): Skype for Business Server 2015, Management Pack contain comprehensive monitoring tools including: End-to-End scenario availability from various locations. Call reliability and quality perceived by real users. Component health and performance. […]

Group Policy changes not replicating between domain controllers

One of our customers reported that changes to group policies were not being replicated correctly. After testing the theory ourselves we could see the policy files versions were not succinct. So I hopped onto the event logs and started trawling through. After forcing replication there didn’t seem to be any errors or in fact any […]

Using Disk Cleanup without installing the Desktop Experience on Windows 2008 R2 Server

Here’s a quick way of getting disk cleanup on a Windows 2008 R2 server without having to install the Desktop Experience and having to restart the server. Simply do the below Navigate to C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\ Copy cleanmgr.exe from the above location to %systemroot%\System32 Navigate to C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\ Copy cleanmgr.exe.mui from the above location to %systemroot%\System32\en-US Then just […]

Office 365 Pro Plus Version numbers

The other day I needed to find out the version numbers for updates to an Office Pro Plus subscription, I had a quick search and to my dismay couldn’t find anything. Handily I noticed the below on the options of an office product under File > Account: This took me to: https://support.microsoft.com/en-gb/gp/office-2013-365-update with all the […]

Office 365 External IP Additions and Removals

Microsoft have changed a few of the External IP’s for 365, so if you have limited the IP addresses that you can connect to , be sure to update your Firewall otherwise ADFS auth , 365 Portal , Azure AD will start to have issues after 05/06/2015! To Remove 65.52.168.29 137.116.64.98 137.135.178.242 138.91.142.85 157.55.80.81 168.61.152.89 […]

Exchange 2013 Replication Servers constantly restarting

We had an interesting one come in today from a customer. They reported that on one of their exchange servers (2013 CU 8) the replication service had been constantly restarting for around a week. We hopped on and immediately took a look at the event logs, we found the below: (Event 2070 The Microsoft Exchange […]

Upgrade VMM 2012 R2 to CU6 and Configure an Azure Subscription

I was asked recently to upgrade our VMM to the latest CU6 rollup, This is the process I followed: Upgrade VMM to CU6: https://support.microsoft.com/en-us/kb/3050317 (If installing manually make sure you install the server update before the console update) (if you use an App controller server you may need to install the CU6 Console on that […]

Wild Card and Operator Search’s in Active Directory

Have you ever been stuck trying to find something within Active Directory? Well here’s a quick way you can perform this search using the Find function within Active Directory Domain Services. Firstly open up the find function as usual within Active Directory. Select the drop down box as shown above and select “Custom Search” From […]

Performance Issues and Mysterious Login delay on a Windows 2003 Server

We had an interesting problem recently with a Windows 2003 server, the server had become unusable it took around 10 minutes to log on and when on the server it was extremely slow. First thing we started to troubleshoot was the login issues, we did this by monitoring the USERENV.log on the machine and then […]

Update Rollup 6 has been released for Service Manager 2012 R2!

Just to let you know Update Rollup 6 has been released for Service Manager 2012 R2 You can download the rollup from https://www.microsoft.com/en-us/download/details.aspx?id=46834&WT.mc_id=rss_alldownloads_all&751be11f-ede8-5a0c-058c-2ee190a24fa6=True UR6 Description below (Referenced from https://www.microsoft.com/en-us/download/details.aspx?id=46834&WT.mc_id=rss_alldownloads_all&751be11f-ede8-5a0c-058c-2ee190a24fa6=True Update highlights Service Manager 2012 R2 now supports SQL Server 2014. This update contains several improvements for a significant reduction in sync time of the System […]

New Office and Office 365 Visio Stencils released!

New Microsoft Office and Office 365 stencils have been released for Visio!   You can download from http://www.microsoft.com/en-us/download/details.aspx?id=35772&WT.mc_id=rss_alldownloads_all   Here’s an example of some of the New Shapes for Visio:

Update Rollup 3 for CRM 2013 SP1 has been released!

Just to let you know Update Rollup 3 has been released for CRM 2013 SP1 You can download the rollup from http://www.microsoft.com/en-us/download/details.aspx?id=46707&WT.mc_id=rss_alldownloads_all UR3 contains the following fixes (Referenced from https://support2.microsoft.com/default.aspx?kbid=3016464) Update Rollup 3 for Service Pack 1 resolves the following issues: The URL that is used for creating a new business closure can allow a […]

New Active Directory Replication Status Tool released!

Microsoft have released a new AD Replication Status Tool! Referenced from “http://www.microsoft.com/en-us/download/details.aspx?id=30005&WT.mc_id=rss_alldownloads_all ” “The Active Directory Replication Status Tool (ADREPLSTATUS) analyzes the replication status for domain controllers in an Active Directory domain or forest. ADREPLSTATUS displays data in a format that is similar to REPADMIN /SHOWREPL * /CSV imported into Excel but with significant enhancements. […]

Script to find out if updates are installed on a number of servers

I had to check some of our servers today for a number of updates so rather than logon to each one individually I created a little PowerShell script. You will need to create 2 text files, one called computers.txt and one called updates.txt ideally saved in the same folder as the script. The contents of […]

DPM 2012 R2 replica inconsistent (data source owned by a different DPM server)

Came across this today with one of our databases on an instance. The rest of the instance was being backed up ok apart from this one. The error was quite strange:     There was an option to reclaim the database ownership but that seemed to do nothing. After some looking around I found http://blog.metasplo.it/2013/04/dpm-2012-sp1-replica-inconsistent.html […]

Adding an IPV6 address as a Manage Out Machine in a DA NLB

A customer of ours had an issue recently when they wanted to add an IPv6 address as Manage Out server in DA. Normal process would be to: Open the “Remote Access Management Console” Select DirectAccess and VPN Go to Step 3 and press edit Select Management Double Click empty space Select address and provide IPv6 […]

Unable to Sync Device via ActiveSync “Active directory response: 00000005: SecErr: DSID-031521D0, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0”

  We had an issue recently with an Exchange 2010 environment where a user couldn’t sync mail to their mobile devices via ActiveSync, whenever they tried to create an ActiveSync profile on the mobile device it just failed. Whenever the user tried to create the ActiveSync profile the following error was logged on the Exchange […]

Certificate request not adding SAN

We just installed a CA in our labs and I needed to generate a certificate with a SAN but it seemed that when I ran through the request via the web interface it just ignored the SAN attribute. Turns out you need to configure your CA to issue Certs with SAN, it’s pretty simple, from […]

Troubleshooting SCOM Agent connectivity issues in SCOM 2012

Microsoft have released a really good troubleshooting article for when you have a SCOM agent that’s not reporting correctly. It goes through basics of checking that ports are open, certificates are correct to making sure there are not duplicate SPN’s, it’s definitely worth a read if your experiencing any issues with your SCOM agents. You […]

Check last restart time of a machine with PowerShell 3.0

Here’s a handy PowerShell command you can run to see when one of your servers\client machines last rebooted Get-CimInstance -ClassName win32_operatingsystem -computername SpecifyMachineName| select csname, lastbootuptime Once ran you should get a result like the following You can even run the command against multiple machines by putting a comma after your machine name like the […]

Exchange Search Query – Sending data to a remote command failed

I had to run a hefty search query for a customer today, searching all mailboxes but every time I tried my command it would error: Get-Mailbox -ResultSize Unlimited | Search-Mailbox -SearchQuery “((sent:(01/03/2015..09/04/2015)) AND (‘SEARCHTERM1’ OR ‘SEARCHTERM2’ OR ‘ SEARCHTERM3’ OR ‘ SEARCHTERM4’ OR ‘ SEARCHTERM5’ OR ‘ SEARCHTERM6’ OR ‘ SEARCHTERM7’))” -TargetMailbox <MailboxForSearchResults> –TargetFolder SearchRequest-08-04-2015 […]

Access to mailboxes in child domains

The other day I had to look at performing a mailbox export in an exchange environment that used child domains, the exchange servers were in the top level domain and users in a child domain. The usual get-mailbox command would not work form me as it was only searching the TLD. After a bit of […]

A Skype for Business client tool released in Microsoft Gallery!

A pretty cool tool has been released in the Microsoft gallery and it goes by the name of “Skype4B Client Tool” It has a few cool features like: Force Download Address Book Enable / Disable Skype UI Reset Skype profile Enable Tracing You can download this tool from https://gallery.technet.microsoft.com/Skype4BClientTool-576956f7

Blackberry users unable to get mail after mailbox move

We have been doing some work for a customer around creating new mailbox databases and moving users around into these new databases. After moving a number of users we began getting calls from them to say their Blackberry’s had stopped syncing. I had a look around and found the following Blackberry article: http://btsc.webapps.blackberry.com/btsc/viewdocument.do;jsessionid=BE9FCF73339216083FE4C09D7A84C95E?externalId=KB02276&sliceId=2&cmd=displayKC&docType=kc&noCount=true&ViewedDocsListHelper=com.kanisa.apps.common.BaseViewedDocsListHelperImpl This describes […]

Microsoft Monitoring Agent Update Released (KB3032946)

A rollup for the Microsoft Monitoring agent has been released . All new features added are as follows: (referenced from https://support.microsoft.com/en-us/kb/3032946) Proxy settings are added to the agent setup wizard. Users can now provide proxy settings while they complete the agent installation wizard. Account validation steps are added to the wizard. After users enter an […]

MS-DOS for Windows Phone released!

MS have released an April Fools app for Windows Phone and it’s MS-DOS for mobile J you can even run Windows 3.1!   You can download from https://www.windowsphone.com/en-gb/store/app/ms-dos-mobile/8573c4a8-b9df-4409-90a6-dad2dc0b6b26 or search MS-DOS Mobile in the store J

What are the latest versions of the Microsoft SCOM Management Packs?

Stumbled across this MS wiki today, which has a list of every SCOM Management Packs for Microsoft Products and also states the latest version of the MP, Date the Latest MP was released and a link to download them J You can find the article here http://social.technet.microsoft.com/wiki/contents/articles/16174.microsoft-management-packs.aspx

How to check a user’s Safe Senders in Exchange 2010/2013

Following on from the blocked senders blog http://support.risualblogs.com/blog/2015/04/01/how-to-check-a-users-blocked-senders-in-exchange-20102013/ , I thought I’d let you know the commands to add a safe sender , they’re very similar to adding a blocked sender. From the EMS run the below commands: To Find out a user’s Safe senders Get-MailboxJunkEmailConfiguration -Identity “ChangeName” | FL TrustedSendersandDomains This will return the […]

How to check a user’s Blocked Senders in Exchange 2010/2013

We had a query recently asking if there was any way in Exchange, that you can see a user’s blocked senders list and even add/remove users from there Blocked Senders. In Exchange via the EMA there’s a quick way to do this J From the EMS run the below commands: To Find out a user’s […]

Adding O365 & EOP IPs to Exchange Receive Connector

As my colleague pointed out earlier there have been some new additions to the IP list for O365, if you are like us and keep a tight hold on the IPs allowed to speak to your Exchange receive connectors this can involve a lengthy process of adding these IPs individually. However there is a command […]

Revert WPAD to use NTLM instead of Kerberos in TMG

In the past I’ve blogged about changing the authentication in TMG from NTLM to Kerberos http://support.risualblogs.com/blog/2011/07/01/auto-detect-not-working-via-wpad-in-ie-via-tmg/ But what if you want to revert this change and go back NTLM , there’s very little on the web telling you how to do this , but there’s a quick way to switch this all back. Please see […]

Additional Office 365/EOP IP’s Added!

Microsoft have added additional IP’s to Office 365 and EOP, so if you get mail delivered On-Prem from 365 be sure to get the following IP’s added to your Firewall and Exchange Connectors! Additional IP’s are as follows: 40.96.0.0/16 40.97.0.0/16 40.98.0.0/16 40.99.0.0/16 40.100.0.0/16 40.101.0.0/16 40.102.0.0/16 40.107.0.0/16 204.79.197.215 131.253.33.215 191.234.6.152 206.191.224.0/19 23.103.224.0/19 40.103.0.0/16 40.104.0.0/16 40.105.0.0/16 Be […]

SquadWatch Windows Mobile App!

Stumbled across another really cool Windows Mobile app today! With SquadWatch you can quickly find out the location of your workmates, see them on a map and even Drive to them from the SquadWatch App J Here’s a brief description of the app taken from the Microsoft Garage website https://www.windowsphone.com/en-gb/store/app/squadwatch/2ba351b4-3dd8-4d36-823a-45c015a2acfa “Have you ever texted someone […]

Azure Virtual Machine OS Drive Limit Increased!

If you have been creating VM’s in Azure recently you may have noticed that the OS Drive Limit was 127GB. This has now been upped to 1023GB! More details can be found here http://azure.microsoft.com/blog/2015/03/25/azure-vm-os-drive-limit-octupled/

“Join Conference” App for Windows Mobile

Stumbled across a really cool Windows Mobile app today, which gives you the ability to join conference calls without having to dial the conference number or input the PIN J The app works out all the required information from the Meeting request and the cool thing is you can join the Meeting by simply saying […]

Find PowerShell CmdLets based on a Module

Have you ever been working on a specific module within PowerShell but you didn’t know what commands were available for you to use? There is a simple command that you can use to retrieve all the commands based on a specific module. For example, if we were using the Hyper-V module then we could run […]

NTLM vs Kerberos Authentication in ISA/TMG

Here’s a nice simple diagram below, which explains the differences between NTLM and Kerberos Authentication in TMG/ISA   To Note: WPAD on TMG/ISA is set to NTLM by default You can change this by using the script in the following blog http://support.risualblogs.com/blog/2011/07/01/auto-detect-not-working-via-wpad-in-ie-via-tmg/      

Generating a cluster log in 2012

Today I needed to take a look at some cluster logs on a 2012 cluster, so I hoped on to CMD and ran the usual: Cluster log /g However, to my dismay it didn’t work! Turns out in 2012 it’s been replaced by a PowerShell command, so you now need to run: Get-Cluster Log –NODE […]

How to Expand the Recipient Scope in Exchange 2010/2013

You may find yourself in a situation where you have Exchange in a multi-domain environment, that when your running commands like get-mailbox it’s not displaying mailboxes across all the domains. You can sort that out by simply expanding your recipient scope, you can do that by running the below command: Set-AdServerSettings -ViewEntireForest $true

Add a Management Group to a SCOM 2012 R2 Agent via Script

Here’s a handy script you can use to add a management group to a server that already has a SCOM agent on. If you save the below as a VBS (Be sure to edit the Management group and server name in bold) Option Explicit Dim objMSConfig Set objMSConfig = CreateObject(“AgentConfigManager.MgmtSvcCfg”) Call objMSConfig.AddManagementGroup (“MGName“, “Servername.test.com“,5723) Now […]

Office 365 – New Clutter Mailbox Feature

Just wanted to take a bit of time out here just to give you an idea of what the new clutter feature is in Office 365 mailboxes and why it is a classic example of why lots and lots of people are choosing the cloud. Clutter is currently rolling out as I write this blog […]

ADFS CRL Check Issues

Recently on a customer we had issue come in, where there ADFS had completely broken and no authentication requests via ADFS were working at all. When speaking to the customer they had advised that they had made no changes to ADFS at all and were confused why all of a sudden the issue occurred. We […]

Update Rollup 9 Released for Exchange 2010 SP3

Just to let you know UR9 has been released for Exchange 2010 SP3 You can download the rollup from http://www.microsoft.com/en-us/download/details.aspx?id=46372&WT.mc_id=rss_alldownloads_all UR9 contains the following fixes (Referenced from https://support.microsoft.com/en-gb/kb/3030085) KB3032153 – Recurring events in Calendar over DST are not adjusted on all ActiveSync devices in all Exchange Server environments KB3029667 – SMTP is not transported over […]

Cumulative Update 8 Released for Exchange 2013

Just to let you know Exchange 2013 CU8 has been released You can download the rollup from http://www.microsoft.com/en-us/download/details.aspx?id=46373 CU8 contains the following fixes (Referenced from https://support.microsoft.com/en-gb/kb/3030080) KB3045301 – SMTP is not transported over TLS 1.1 or TLS 1.2 protocol in an Exchange Server 2013 environment KB3040681 – MapiExceptionTimeout error during a hierarchy synchronization process of […]

Find Uninstall String for Application from the Registry

If you ever want to find a command to uninstall a program, you can quickly find the applications uninstall string via going to the below location in REGEDIT. X86 Applications – HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ X64 Applications – HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Nodde\Microsoft\Windows\CurrentVersion\Uninstall\ Once you are there you will see Keys with GUIDS as their names, go through the Keys until you […]

See the Current Connections to an IIS Site

Here’s a quick handy PowerShell command that will show you the current connections to an IIS site. Change the below in red to match your environment J $NameOfServer = “YourServerName” $IISSite = “IISWebsiteName” Get-Counter “\\$NameOfServer\web service($IISSite)\current connections”

Map a drive via PowerShell

Here’s a quick handy command to map a drive via PowerShell (Obviously change drive letter and server path for your environment) New-SmbMapping -LocalPath F: -RemotePath \\server\folder

Azure Public Static (Reserved) IP

Today we needed to assign a static public IP to an Azure VM (referred to in documentation as Reserved). Unfortunately it seems this is best done before the VM is setup so I had to remove my old VM and start again – for me this wasn’t too big a deal but it’s something to […]

Removing a static IP from an Azure VM

Last time I went through how to set a static IP on an Azure VM, how about removing it? Well after connecting Azure (as as the previous blog) we need to grab the info for setting the variable so we need to do Get-AzureVM and note down the cloud (service name) and VM name then […]

Setting a static IP for a Azure VM

Today we needed to set a static IP on a VM we had in Azure, because Azure uses its own DHCP server so applying a reservation isn’t an option here. So to do so we need to break out some Powershell! First off you need Azure powershell – download and install from here: http://go.microsoft.com/?linkid=9828653&clcid=0x409 Next […]

Azure RMS templates not appearing in Exchange Online

Hi, We recently come across an issue where RMS templates created in Azure would not appear in exchange online when we went to choose it. Turns out there is a manual process you have to follow to get the templates in exchange online and is achieved using the Azure Shell. To refresh the templates for […]

Creating a New Address List in an Exchange 2013 hybrid environment

We needed to create an address list for our organisation to show “All Equipment” mailboxes that were in the cloud – but when I hopped onto the Office 365 portal I couldn’t see the same Address Lists option under Organisation that I could on our On Premise options. After a bit of research it seems […]

After migration of mailbox to O365 users are unable to Send As

We migrated a number of shared and user mailboxes recently and found that after the migration users were getting the dreaded undeliverable message – upon checking EAC all looked fine in terms of permissions but as a troubleshooting step we added them again through powershell using the new O365 command for send as permission:   […]

Unable to create rule to move message in O365 shared mailbox

  Had an interesting problem today with one of our shared mailboxes that we have recently moved to office 365. We seemed unable to create a rule to move messages based on criteria, we tried: In Outlook – this just refused to show the name of the folder chosen and would go no further Powershell […]

Force replication to all Domain Controllers

My colleague and I were chatting today and noted that there’s no command to replicate changes to all domain controllers at once, you have to go to each server and force a replicate. So here’s a nifty PowerShell script to grab all the domain controllers and run a replicate sync all command for each one […]

Office 365 Mobile Device Management

One of the most common things that customers always want to talk to me about when adopting Office 365 is how they can take advantage of the mobility but in a secure way and embrace the idea of bring your own device. There are some great tools on the market that can help with this […]

Windows 10 – New Features

Hi All, Been at TechEd Europe this week and thought that I would just share with you some of my favourite new features that were shown to us today: You can logon with a Azure AD account and select whether this is a personal or workplace device at setup Ctrl + C and Ctrl + […]

Clarity Connect Reports are not displaying latest results

When generating a Clarity report through the portal you may notice that you are unable to view the logs from a certain date to the present date as shown below.   The date that should be displayed here is 20/10/2014. If you were to check the logs on the application server for Clarity Connect you […]

Disable SSL 3.0 on TMG and UAG

You may have recently heard about the Poodle SSL 3.0 vulnerability which allows an attacker to get information from an encrypted session. This should not affect TMG and UAG but it’s still recommended disabling SSL 3.0 altogether. To disable SSL 3.0 follow the below steps: Open REGEDIT.EXE Navigate to “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Server” Create a DWORD called […]

Get Members of Dynamic Distribution Group in Exchange

Here’s a quick command to get the member of a Dynamic Distribution Group: $DDG = Get-DynamicDistributionGroup “Dynamic Group Name” Get-Recipient -RecipientPreviewFilter $DDG.RecipientFilter   Remember to change the “Dynamic Group Name” to the name of you group and then that should return all members of the specified group J

How To Analyse DMP and Mini-DMP files

In this Blog Post I am going to be walking you through the install of WinDBG and how to read and Analyse DMP files, usually produced from Blue Screens.   Firstly to be able to read DMP files you will need to have a Microsoft Diagnostic tool named WinDBG which is included in the package. […]

SCCM 2012 client only has 2 actions after reinstall

We had recently added a new role (WAP) to one of our servers, the meant adding a new SSL cert. Now I am unsure if it was this process that caused the issue but this unfortunately knocked out this servers SCCM client cert! It took me quite a while to figure this one out but […]

Free Busy Issues “An error occurred when processing the security tokens in the message.”

We recently had a case raised regarding Free Busy issues cross organisations in Exchange 2010 , the 2 organisations couldn’t see each other’s Free/Busy info when looking via Scheduling Assistant. We spotted the below error in the event log, whenever the free busy lookup occurred we got the below: “Process Microsoft.Exchange.InfoWorker.Common.Delayed`1[System.String]: <Test@Test.com>SMTP:Test@Test.com failed. Exception returned […]

ADFS Error 364 and 111 – Active Directory Health Check

This was an interesting one! Imagine the scenario if you will, I am miles from home and very much looking forward to a holiday in the sun at the end of the week, so I really want to get their Office 365 single sign on solution deployed and tested with no issues so I can […]

How can I find out how many users are enabled for Enterprise Voice in Lync?

  We recently had a query come in from a customer to ask how many users that they had enabled for EV in Lync 2013. This can be done by running the simple command below in Lync Management Shell. “(Get-CsUser -ResultSize unlimited -Filter {EnterpriseVoiceEnabled -eq $true }).count” This will just output the number that you […]

Unable to join machine to domain – error code 1003

Today I was quickly testing out some config and needed to join a computer to my labs domain. So I booted up one DC and the machine in question however when I came to try to join it I got an error:   I tried a research to no avail so I popped onto the […]

Unable to boot into PXE with SCCM task sequence (0x8004005)

A short but sweet blog today, we had an interesting scenario this week – one of our customers was trying to image a tablet using PXE and a SCCM task sequence but was unable to get past the password section. It produced an error 0x80004005. From the error message it looked like access denied however […]

Exchange 2013 no Clean-MailboxDatabase command?

I went to run a Clean-MailboxDatabase command today to show a recently disconnected mailbox but found that this command has now been decommissioned for Exchange 2013 and replaced with Update-StoreMailboxState (http://technet.microsoft.com/en-us/library/jj860462(v=exchg.150).aspx). But you need to know the GUID of the disconnected mailbox – I didn’t take note of that! So to get it to do […]

SCCM ADRs – excluding updates

  A customer of ours recently asked for some Automatic Deployment Rules (ADR’s) to be setup for patching their servers. They have a requirement to not apply certain patches to a particular group of servers. To enable this we created a device group and directly included the servers who did not want (in this example) […]

Archive of other user shows current user name after Exchange 2010 SP3

  One of our customers noticed a strange occurrence after installing SP3 for Exchange 2010, if a user had full access to another user’s mailbox the other user’s mailbox would show but with their name!   After a bit of research we found that this seemed apparent on Office 2010 in this case, we found […]

Cannot find Active Directory Users and Computers on Server 2012 and R2

Afternoon All, If you used PowerShell to install the AD Domain services and DNS server roles on your Windows Server 2012 or 2012 R2 server, you may notice that you cannot find or open Active Directory Users and Computers, Domains an Trusts, Sites and Services, ADSI Edit and Administrative Center to perform your usual Active Directory operations. The […]

Powershell & searching Mailboxes using the discovery RBAC role

We had a customer request recently to perform and extract any items in a users folder that firstly contained some keywords and secondly came from or where sent to some specific email addresses. To do this I ensured our account was a member of the discovery RBAC group this is so we can utilise the […]

Powershell resultsize not working

Here’s an interesting one I came across today, I wanted to do a get-mailbox with a result size specified and a where clause, something like this: get-mailbox -resultsize 250 | where-object {$_.emailaddresses -like “*MBX:0*”} | Where-Object {$_.ExchangeUserAccountControl -ne “AccountDisabled”} | measure-object However it failed with the following error: WARNING: There are more results available than […]

Exchange scripts stop working with Powershell v4.0

Recently a customer updated to Powershell 4.0 on a server running some exchange 2010 scripts on a scheduled task. These failed as Exchange 2010 does not currently support Powershell v4.0 (http://blogs.msdn.com/b/powershell/archive/2013/10/25/windows-management-framework-4-0-is-now-available.aspx) so in order to get these to work we added a switch to the powershell.exe call: Powershell.exe –version 2.0 As above this will open […]

Renew Issuing/Subordinate CA Certificate

  Had a customer recently who needed to renew their issuing CA certificate as it was due to expire , I’ve just wrote up some simple steps you can do to renew this certificate as there a few TechNet articles around this subject and they’re not totally clear on the process to do this. Steps […]

Creating A Lync Meeting While Offline

  When creating a Lync meeting while offline, it can sometimes request that you sign into Lync to progress with creating. This can be an issue for some people if they do want to work while offline. However you can fix this issue if you follow the steps below. Within outlook you can go to […]

Filtering Spam Mail Using Forefront protection for Exchange

Recently we had a customer ask us to block all emails coming from a certain spam email address and block all the emails from that domain. So underneath I will show how to filter blocked recipients using Microsoft Forefront Protection 2010 for Exchange Server Administrator Console.     Firstly remote on to the edge server. […]

OneDrive for Business Improvements

Some may have already seen this but thought I would highlight it again! OneDive for Business (Formally SkyDrive) is getting some great new features: OneDrive for Business storage increasing from 25GB to 1TB All Office 365 ProPlus customers will get 1TB of storage as part of their subscription Stay tuned for more improvements with the […]

Delete User from Office 365

Had an issue with a user that had been synced been deleted from AD but DirSync had been offline during the deletion and the user was still showing. You can delete the user using the following PowerShell commands that need to be run in the Windows Azure Active Directory Module for Windows PowerShell: $msolcred = […]

HP Insight NIC Agent fails to start after Windows Update (Error 14001)

I was running through a customer’s windows update process today and noticed that after this round of updates the HP Insight Foundation Agent and HP Insight NIC Agents refused to start. The Foundation Agent is dependent on the NIC agent and the NIC agent gave the following error: I started digging around as the error […]

SharePoint 2010 tracing logs too large?

Recently a customer had a very large amount of tracing files for SharePoint 2010. To reduce this we followed the below: Restart the timer service: Then run the Microsoft SharePoint Foundation usage Data Import. Which can be found: Monitoring > Configure usage and health data collection > Log Collection Schedule > Microsoft SharePoint Foundation usage […]

TargetUserPolicies UserPolicy Error while converting string “sip:Test@domain.com” to result type “Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy”: “Length cannot be less than zero.

We had a weird issue recently in Lync 2013, when trying to enable a user. As soon as we pressed enable we got the below error: TargetUserPolicies UserPolicy Error while converting string “sip:Test@domain.com” to result type “Microsoft.Rtc.Management.ADConnect.Collections.UserPolicy”: “Length cannot be less than zero. Parameter name: length” TargetUserPolicies UserPolicy Error while converting string “sip:Test@domain.com” to result […]

403 4.7.0 TLS handshake failed

We had an issue at a customer recently where they were unable to receive mail from certain external domains. People that were sending mail to the customer we’re getting the bellow error “403 4.7.0 TLS handshake failed” The issue was the receive connector on the customers Exchange 2010 Edge Server (Integrated with TMG) only had […]

Deploying Lync 2013 Conversation Translator via SCCM 2012

We wanted to get Lync Translator out to our user base however it requires some extra registry entries to work for Lync 2013 in addition to the original install so we decided to implement this via SCCM, here’s how we did it. Firstly download Lync Translator http://www.microsoft.com/en-us/download/details.aspx?id=26136. The additional registry entries you will need are […]

Rename Network Adapter with PowerShell

Here’s a quick way you can rename your network adapter via PowerShell. First run “Get-NetAdapter” Find the name of your Network Adapter you would like to rename (I’m Choosing Ethernet) Run the following command to change the network adapter name “Rename-NetAdapter “Ethernet” -NewName “DanDavies NIC“” The NIC has now changed name you can confirm by […]

Set Internet Explorer Homepage via PowerShell

Here’s a quick command you can run to change your homepage in PowerShell, you can run this if you accidentally set your homepage to Google and you need to change this to Bing J PowerShell Command set-ItemProperty -Path ‘HKCU:\Software\Microsoft\Internet Explorer\main’ -Name “Start Page” -Value “http://www.bing.com/” Just change the value in Red above to match the […]

Migrating System Center Orchestrator 2012 Database to a Different SQL Server

Recently we were asked by a customer to switch the SQL server that Orchestrator 2012 uses. So we tried to follow the TechNet article There is a MS TechNet article on the process to do this http://technet.microsoft.com/en-us/library/hh473578.aspx , we followed this article to the letter and unfortunately ended up with a broken Orchestrator Server which […]

Migrating SQL Server for System Center 2012 App Controller

Recently we were tasked with migrating the “AppController” database from one SQL Server to another as one of the old SQL Boxes was getting decommissioned. If you look online there’s hardly any documentation on how you actually go about doing the migration, so I thought I’d write up the steps we used to do a […]

Test-CsAddressBookService fails on monitoring server

We had an issue recently where the SCOM alerts testing the address book service on a Lync Monitoring server were failing. We investigated this issue and found that it is safe to tune these errors out.  This is because the tests that SCOM runs on this server are not applicable for it.  As this is […]

New Office 365 IP Address Range!

We had an issue recently who had an Exchange 2010 Hybrid Configuration, were unable to send emails from mailboxes hosted in the cloud to internal On-Premise mailboxes. The customer external firewall had been locked down so that SMTP port 25 would only accept mail from the below Office 365 IP addresses (Referenced from http://onlinehelp.microsoft.com/en-gb/office365-enterprises/hh373144.aspx) 65.52.148.27 […]

Create Certificate with SAN

Recently we needed to create a certificate for Office Web Apps – this required a SAN to be added to the cert. We only have a root CA in our environment but here’s a quick rundown of what we did to generate this certificate: Logon locally to your root CA and open Server Manager > […]

The trust relationship between this workstation and the primary domain failed

Here’s a nice quick fix, if you get a machine that drops off your domain and you receive the following error when trying to log on “The trust relationship between this workstation and the primary domain failed” Steps to Resolve On the effected client machine open PowerShell Run the following command “Reset-ComputerMachinePassword” or specify the […]

CRM 2013 Rollup 2 has been released!

Just to let you know CRM 2013 Rollup 2 has been released You can download the rollup from http://www.microsoft.com/en-us/download/details.aspx?id=42272&WT.mc_id=rss_alldownloads_all

Change Call Forwarding Number via SEFAUTIL in Lync 2013

Here is a handy command that you can run on your Lync Server to change the call forwarding number of a Lync User Please Note: You must have the Lync 2013 Resource Kit installed and have deployed SEFAUTIL as a CSTrustedApplication (http://technet.microsoft.com/en-us/library/jj945659.aspx) You will need to change the value in Red to match your environment […]

Lync 2013 – SQL Mirroring Permissions & Firewall Requirements

When I initially deployed Back End Server High Availability for Lync 2013 I ran into a number of errors which were essentially being caused by the local Windows Firewall on each node and permissions on the witness file share. To make life easier for next time I drew up this quick Visio diagram as a […]

Create a Zip file via PowerShell

Here’s a quick command you can run to put a contents of a folder including subdirectories into a ZIP file Folder to Convert to Zip – C:\Dan Destination to create ZIP – C:\Dan.zip PowerShell Command Get-Childitem c:\Dan -Recurse | Write-Zip -IncludeEmptyDirectories -OutputPath C:\Dan.zip  

VMM 2012 issue “Unsupported Cluster Configuration” and “Virtual Switch (Switch Name) is not highly available because the switch in host (HostName) is not compatible with other hosts”

We had an issue recently on a customer environment in SCVMM where certain VM’s in the cluster were showing as “Unsupported Cluster Configuration“. The below alert was also being displayed when the cluster was refreshed in VMM. “Virtual Switch (Switch Name) is not highly available because the switch in host (HostName) is not compatible with […]

Device stuck in Quarantine ECP Exchange 2010

We had a customer that was unable to approve an ActiveSync device via the ECP console. The device in question would simply sit in the quarantine section continuously. We were able to block the device however, but this didn’t help the user! So to show a list of devices for the user we ran the […]

Restore a deleted Public folder with MFCMAPI

  A customer of ours recently deleted a public folder they required, we used a tool called MFCMAPI to restore this for them. http://mfcmapi.codeplex.com/ – MFCMAPI can be downloaded here. You will need a machine without Exchange installed and either Outlook installed or the Exchange Server MAPI Client and Collaboration Data Objects 1.2.1 – available […]

Flush 2012 SCOM Agent Cache

Here’s a handy command you can run in PowerShell on a Server with a SCOM 2012 agent to flush its cache , saves you a bit of time instead of stopping the SCOM the service and deleting files/folders. Net Stop “HealthService” get-childitem -recurse -Path “C:\Program Files\System Center Operations Manager\Agent\Health Service State” | remove-item -force -recurse Net Start […]

Queueing Mails when Decommissiong Exchange 2010 Hub Transport Server

Recently we had a case where an Exchange 2010 Hub Transport Server was being decommissioned, we had got to a point whereby the following had been done – Remove the server from the DAG Removed the server from the HLB Removing the server from any send connectors Remove the server from OAB distribution Disabled the receive connectors. When running through the pre-requisites for uninstallation we […]

Lync 2013 Certificate issue!

We working on a case for one of our customers recently, they were receiving multiple alerts from the Lync front end servers complaining about connectivity issues to their Edge Servers. Alert Examples No connectivity with any of Web Conferencing Edge Servers. External Lync clients cannot use Web Conferencing modality Connection attempts to the following services […]

Setting up a 2012 R2 RDS Gateway for a workgroup

  I decided that with my home lab setup I needed an RDS gateway, OTT you say? Well yes maybe but I also thought it might be a good learning exercise, and it was! As I have only ever setup RDS for a domain I set about creating 3 VMs:- Connection Broker Session Host Gateway/Licencing […]

Handy Powershell commands for Failover Cluster Manager

  Recently we had a customer have problems loading Failover Cluster Manager (FOCM) mmc. As a result the only way we could manage his Hyper-V environment was using powershell. I kept a note of some useful commands we used: get-module –listavailableShows installed config files for modules that can be imported to the powershell session import-module […]

Exchange Online–Configure mobile device policy

If you take a look at the Exchange Admin console in Office 365 and then setup a new mobile device policy you may find that some of the more advanced options, such as block attachments, is not available in the admin console: You may notice the following message in the mobile device policy when you […]

Exchange Online–Policy Tips in OWA

Exchange Online has got some great new features being rolled out in the very near future that customers on Office 365 can take advantage on. One of the new features available is the ability to see Policy Tips in Outlook Web App. This means that you no longer have to deploy Outlook in order to […]

Exchange 2013 SP1 Released!

Just to let you know Exchange Server 2013 Service Pack 1 has been released You can download the Service Pack from http://www.microsoft.com/en-us/download/details.aspx?id=41994    

Find File locks on Windows OS

Handy command you can run to find any file locks on your Windows machine. If you run “Openlist /query” from command line it will show you every locked file, the PID and the process name that is locking the file also.

Insecure Client-initiated Renegotiation error on TMG

When running an SSLLABS SSL Server Test against a site that is published on TMG you may get the following error “Insecure Client-initiated Renegotiation – Supported INSECURE”   To resolve this error on TMG do the following: Ensure KB980346 is installed on your TMG server If not install it via Windows Update You can disable […]

CRM 2013 Mobile App not working externally when published via WAP

We had in issue recently when Publish CRM via WAP, that the CRM Mobile app did not work at all but normal access via a web browser worked with no issues at all. When running the “Dynamics CRM” app remotely we were getting the following errors: Mobile Client – oops unknown error CRM Mobile App […]

Enabling Proxy on SCOM 2012 Agents by default

Here’s a handy command you can run on your SCOM management server , so that all new agents are automatically enabled to proxy by default , instead of you having to manually enable proxy on all agents or running a scheduled task to enable proxy on all agents. Run the below on the SCOM server […]

Teredo Direct Access issue – failed to open tunnel adapter

We had an issue on a customer recently on a Windows 2012 R2 Direct Access server, where no DA clients could connect over Teredo and in the Remote Access monitoring page, Teredo was being marked as failed. If we ran “netsh int teredo show state” we could see the following error: ” State: OfflineError: Unable […]

Office 2013 SP1 Released

Office 2013 SP1 has been released J You can download from: http://www.microsoft.com/en-us/download/details.aspx?id=42017&WT.mc_id=rss_alldownloads_all For specific details of what the SP1 fixes/adds please see: http://support.microsoft.com/kb/2817430  

DPM 2010 Firewall Exception

Morning All, Should you be deploying any DPM agents out to your on domain machines that have the local firewall and active, use the below to allow exceptions into that local firewall to ensure your box can speak back to DPM and install the agent. Remember that any XP/2K3 boxes will need a restart afterwards. “netsh advfirewall firewall add rule name=”Allow […]

Lync 2013 Phone edition ‘Send Logs’ location

Morning All, When troubleshooting issues with Lync Phone Edition on your Tanjay handsets. Upon the phone capturing logs you may use the ‘Send Logs’ option on the handset itself. The phone will then send these logs to the Front End Server where it will be stored in the following directory \\fileserver\LyncFileShare\*WebServices*\DeviceUpdateLogs\Client. The caveat to this is […]

Installing Exchange 2013 CU3

Tonight we upgraded our 2013 exchange environment. There were a couple of tricks to it, the process is detailed below: 1) Download the CU: http://www.microsoft.com/en-us/download/details.aspx?id=41175 and extract. 2) Use the startdagservermaintenance script – using EMS (as admin) run the below commands: cd $exscripts .\StartDagServerMaintenance.ps1 (http://technet.microsoft.com/en-us/library/ff625233.aspx) You may hit a snag if you a running a […]

Exchange 2013 CU3 Released

Hi All, Just to let you know that Exchange 2013 CU3 has been released. It includes multiple fixes, notably the bug in which an external meeting forwarded to an internal user would return an NDR. Please see below for download instructions and release notes. http://www.microsoft.com/en-us/download/details.aspx?id=41175 http://blogs.technet.com/b/exchange/archive/2013/11/25/released-exchange-server-2013-cumulative-update-3.aspx   Thank you    

Office 365–Windows Azure AD Connector for FIM

As some of you may or may not know Office 365 DirSync or Windows Azure Active Directory Sync tool is the proffered method for syncing your on premise Active Directory on premise to Windows Azure Active Directory, which is a required step for single sign on to Office 365. One of the limits of the […]

Office 365–Admin App

Microsoft has launched the Office 365 Admin app, a way for Office 365 service administrators to check their organization’s Office 365 service status from wherever they are. The new app enables administrators to view service health information and maintenance status updates from their mobile device. It can be downloaded for free from your app store […]

PDFs caching in Internet Explorer

One of our customers hit upon this issue today and it is a tricky one! We initially tried a few things on TMG to stop it being cached but it turns out its an IE issue – we specifically found it troublesome with IE9. There are numerous people having this issue but the only solution […]

Office 365 – Office Web Apps Update

The Office 365 Web Apps is under constant improvement to give you new and improved features and align the experience as much as possible to the rich client. Some of the new improvements that you can start using right now are: Co-authoring in Office Web Apps Find and replace edit added into Word App Excel […]

Exchange 2013, UAG and Lync 2013 contact list issues

We had a number of issues after moving to Exchange 2013 with our current setup and have been researching furiously for a few weeks now and it was only today that we realised that the issues we had identified were linked! Here’s what we were seeing: Lync Mobile client 2013 – unsupported version and unable […]

CRM 2013 Entity will not load

Over the last few months we have been preparing for the Microsoft Dynamics CRM 2013 Release, I will Blog about the preparation made at a later date, but I would like to discuss an issue I personally ran into during the first upgrade. The way I tested was as follows: 1) Try to load the […]

Office 365 – Maxium Number of Public Folders

When migrating public folders from your on-premise to Exchange Online in Office 365, you need to be aware that there is a maximum limit of 10,000 public folders in Exchange Online. Before migrating it is worth consolidating your public folders before migrating them. Cheers Paul

DPM 2012 backing up Exchange 2013 – Replica is inconsistent

Was at a customer site when they needed to restore a mailbox from DPM 2012, no problem! DPM has some great features for those of you with Exchange 2013 on premise and can continually backup Exchange. The issue that we ran into was that the DPM console was showing all of the mailbox databases as […]

set-hybridconfiguration autod on Exchange 2010

Seen a lot of info online about the ability to set the autodiscover domain for the hybrid wizard when you have multiple domains. This can greatly reduce the amount of names that need to be on the Exchange SAN certificate. More information about this new feature can be found here: http://technet.microsoft.com/en-us/magazine/dn249970.aspx I have used this […]

CRM 2011 – New ADFS Wildcard Cert Breaks CRM Claims Based Authentication

We recently faced a strange issue when our ADFS Wildcard certificate was updated, we had got our new ADFS Wildcard Certificate along with token decrypting and signing certs, when these became the primary certificates, CRM authentication completely died, no external or internal authentication was being allowed whatsoever. So after a quick look around I decided to update […]

Export all messages in queue – Exchange 2010

We had a small communication issue on one of our Edge servers and noted that some messages simply weren’t sending and were stuck in the queue.  There are various articles about how to export these but I thought I would lock it down to help anyone looking for a end to end how-to.  So in […]

Direct Access Error – A client certificate was not provided

One of our customers suddenly had the following error pop up today on their Direct Access server and clients: “A client certificate was not provided”. After a bit of troubleshooting we checked the Direct Access wizard we checked the DCs that were configured and noted that some where emboldened.  Emboldened DCs in the list show […]

Office 365 – Assign new license to user

Imagine that you have two different license types in your Office 365, perhaps the E1 and the E3 license. Now imagine that one of your users who already has the E1 license assigned, wants to take advantage of having the upgraded features that the E3 plan has to offer but obviously wants to keep all […]

FIM 2010 Password Reset Portal Error 3000

A customer called recently with a FIM error when any users tried to reset their password via the Password reset portal: An error has occurred.  Please try again, and if the problem persists, contact your help desk or system administrator. (Error 3000). After checking all of the usual bits and bobs (permissions etc) i started […]

Exchange 2010 Prompt after changing authentication for Outlook Anywhere

We had a customer recently who changed their Outlook Anywhere Authentication from NTLM to Basic. Shortly after doing this every single user started getting Basic Authentication prompts including internal users who were not connecting via Outlook Anywhere. We checked the Authentication on the RPC directory in IIS and noticed that Windows Authentication was disabled.   […]

Install a SCOM 2012 Agent Remotely via PSEXEC

Recently we wanted to install SCOM agents on a customer site to talk to a SCOM gateway , so that we were able to monitor them. We weren’t able to install multiple agents via the SCOM console as it was a remote site. So we managed to install the agents via PSEXEC with a pretty […]

Office 365 ADFS Proxy Role a requirement for Single Sign On?

Hi All, A couple of times I have been asked the question by customers if the Active Directory Federation Services Proxy role is a requirement for implementing Office 365? The short answer to this question is no. It is not a requirement as the internal ADFS servers can be published on the Internet and can […]

Server 2008 R2 & SQL – Server Manager wont load – MMC could not create the snap-in

One of our servers suddenly decided it couldn’t load Server manager, we received the following error: MMC Couldn’t not create the snap-in.  The snap-in might not have been installed correctly. Name: Server manager CLSID: FX:{18ea3f92-d6aa-41d9-a205-2023400c8fbb} This is related to a .NET issue, a lot of solutions pointed me to renaming the machine.config file to machine.config.old […]

Info Path Log ID : 5566

On a customer’s site it was using an InfoPath form which connects to the GetUserByProfileName web service when we were opening the URL we were been faced with event ID : 5566. The InfoPath form is administrator approved via central admin. We were using a AAM address which produced the error. I checked a couple […]

Finding the Manufacturer and the Serial Number of your Server via CMD

If you are attempting to find out the serial number of manufacturer of a remote server you can do this via command line, using a WMIC (Windows Management Instrumentation Command-Line) cmdlet. To find the Serial Number – wmic bios get serialnumber To find the manufacturer – wmic computersystem get manufacturer To Find the Model – […]

SharePoint 2010 prompts to save PDF documents when opening

I have had a document library where every time i tried to open a pdf file i was only able to save the file locally instead of opening it in the browser. The cause of this behaviour is SharePoint 2010 browser file handling. I had been through and checked my settings at the web application […]

Exchange 2013 Server Role Requirement Calculator

Just a note to let you know that the Server Role requirement calculator has been released for Exchange 2013. This calculator gives recommendations for CAS role servers now alongside the usual Mailbox (including Transport role) servers.   Please see below for more information: http://gallery.technet.microsoft.com/Exchange-2013-Server-Role-f8a61780

Lync 2013 Mobile Push Notification Update–June 1st

Hi All, Just a quick post to let you know about the certificate update for Lync 2013 coming June 1st 2013. Where Microsoft were using the GTE CyberTrust Global Root Certificate, they are now swapping to the Baltimore CyberTrust Root. This will be used for Mobile Push notifications to the Lync 2013 mobile app for […]

TMG Flooding Port 5223 (MAC OS)

Hi Everyone,   Over the last few months a customer was facing the issue that A Proxy Server was being taken down every few days due to one computer flooding the gateway with requests, we restart the affected client and all is well however this problem persists and every time it came from a MAC […]

Cumulative Updates Lync Phone Edition – April 2013

Just a note to let you know that the April 2013 CU’s for Lync Phones has been released, please see below links for the CU for your various models. Cumulative update for Lync Phone Edition for Aastra 6721ip and Aastra 6725ip: April 2013 Cumulative update for Lync Phone Edition for HP 4110 and HP 4120: […]

Failing over Databases between two DAG Availability Zones–Exchange 2010

If you find yourself needing the requirement of failing over databases between your Exchange DAG Availability Zones, we have a script you can use for this. These will need to be run through the Exchange Management Shell with Administrator Privileges. In this post i will just be using Availability Zones A + B, this can […]

An error occurred during the screen presentation–Lync 2013

An issue i had whereby a user could share his desktop over Lync 2013 but could not accept the sharing, this would error out with the below messages – The root cause of this was two KB’s that had been installed via Windows Update – KB2760512 and KB2760556. After these had been uninstalled and the […]

Lync 2013 – CU1 Released

Just an FYI that CU1  for Lync 2013 are now released, this fixes a multitude of issues seen previously including the following: Enables users to hide offline contacts in the contact list. Enables users to receive buddy invites from untrusted networks. Note This option is available under Alerts in Lync Options. Improves the support for high […]

Hiding Control Panel items with Group Policy–Windows 7

When specifying particular exclusions or inclusions for users accessibility to Control Panel via GPO for Windows 7 builds. This as per the table below, is different to the older format for specification of applets, as now you use the Canonical Name of the applet instead of the .cpl file name in XP builds.   Please […]

Running DHCPUTIL.exe to update DHCP option 120 for Lync 2013

After migration to Lync 2013 internally, we needed to move over the DHCP scope options for our new instance to assign IP’s to our common area phone devices. To do so we use DHCPUTIL.exe, this can be found at C:\Program Files\Common Files\Microsoft Lync Server 2013 to complete the move you will need not only DHCPUTIL.exe […]

Install a SCOM 2007 R2 Agent Remotely via PSEXEC

Recently we wanted to install SCOM agents on a customer site to talk to a SCOM gateway , so that we were able to monitor them. We weren’t able to install multiple agents via the SCOM console as it was a remote site. So we managed to install the agents via PSEXEC with a pretty […]

Remove ISATAP from the DNS Global Query Block List

When implementing Direct Access you will have to allow name resolution for ISATAP addresses as by default this is not enabled. You can do this by doing the following change on all your DNS servers. Open RegEdit.exe Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters Right-Click modify on the  GlobalQueryBlockList value. Remove ISATAP from list Restart the DNS service

CRM 2011 Install Error “Unable to open the physical file "C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\MSCRM_CONFIG.mdf". Operating system error 32: "32(failed to retrieve text for this error. Reason: 15105)"

Recently we had an issue when running a CRM 2011 setup , we got the following error on the System Checks page of the install “Unable to open the physical file "C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\MSCRM_CONFIG.mdf". Operating system error 32: "32(failed to retrieve text for this error. Reason: 15105)".” To resolve this follow the below steps […]

Arbitration Mailboxes Corrupted in Exchange 2010 “SystemMailbox has been corrupted, and it’s in an inconsistent state.”

We had an issue recently where our customers Exchange 2010 servers arbitrations mailboxes had become corrupt and were giving the below errors when running “Get-mailbox –arbitration”   WARNING: The object SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9} has been corrupted, and it’s in an inconsistent state. The following validation errors happened: WARNING: Database is mandatory on UserMailbox. WARNING: Database is mandatory […]

“A reboot from a previous installation is pending. Please restart the system and rerun setup.” While Running Setup.com /Prepare AD for Exchange 2010

Recently we ran Setup.com /preparead on a Exchange 2010 server to recreate an arbitration mailbox and got the below error. A reboot from a previous installation is pending. Please restart the system and rerun setup. To Resolve this do the following Open Regedit Navigate to HKLM\CurrentControlSet\Control\SessionManager\ Delete PendingFileRenameOperations String   After you have done that […]

Lync 2010 using DFS for File Shares

As the below TechNet article suggests, using DFS for files is supported: “Microsoft Lync Server 2010 communications software supports using file shares on either direct attached storage (DAS) or a storage area network (SAN), including Distributed File System (DFS), and on a redundant array of independent disks (RAID) for file stores.” There are a few […]

Direct Access IPHTTPS error 0x80092013

We had an issue recently where none of our DA clients would connect. In the Direct Access log the IPHTTPS adapter was failing with the following error “0x80092013” From Research this error means that the Certificate revocation List is not available, however this was a third party certificate and when browsing to the CRL specified […]

The ISAPI and CGI Restrictions are disabled or missing: Web Console cannot operate properly because the ISAPI and CI Restrictions in Internet Information Services (IIS) are disabled or missing for ASP.NET 4.0.

We tried installing SCOM 2012 and receive the following error “The ISAPI and CGI Restrictions are disabled or missing: Web Console cannot operate properly because the ISAPI and CI Restrictions in Internet Information Services (IIS) are disabled or missing for ASP.NET 4.0.”   To resolve this run the following 2 comands from command prompt CD […]

Microsoft Lync Basic 2013 Released

Microsoft Lync Basic 2013 has been released, this is basically just a slimmed down version of the full client. The client has the below functionality Check contacts availability Send IM’s Start/Join voice call Join online meetings You can download from x64 – http://www.microsoft.com/en-us/download/details.aspx?id=35450&WT.mc_id=rss_alldownloads_all x86 – http://www.microsoft.com/en-us/download/details.aspx?id=35451&WT.mc_id=rss_alldownloads_all

HTTP Error 403.14–Forbidden in IIS

While configuring Lync Mobility I came across the following error when browsing to the MCX and Autodiscover virtual directories: Solution: The Directory Browsing service had been installed with the Web Server (IIS) role. Enable Directory Browsing on the relevant IIS site: Open IIS Manager Navigate to the relevant site/virtual directory In the Features view, select […]

Unified Messaging server was unable to submit messages to a Hub Transport server because there is no Hub Transport server available – Event ID 1082

While configuring Unified Messaging for Lync users I came across the follow error: The voicemail files could be found at C:\Program Files\Microsoft\Exchange Server\UnifiedMessaging\voicemail however they were not visible in the user’s mailbox or their Lync client. The error indicates that the Hub Transport Role cannot be contacted however, in this case there was one Exchange […]

“The agent operation failed on SERVERNAME because DPM could not communicate with the DPM protection agent” when removing a protected server from Console

Recently we were removing a decommissioned a server and went to remove its agent from DPM however we received the below error. The agent operation failed on SERVERNAME because DPM could not communicate with the DPM protection agent. The computer may be protected by another DPM server, or the protection agent may have been uninstalled […]

SQL Server 2012 SP1 CTP has been Released

SQL Server 2012 SP1 CTP has been released Brief overview (referenced from http://www.microsoft.com/en-us/download/details.aspx?id=34700&WT.mc_id=rss_alldownloads_all) SQL Server 2012 Service Pack 1(SP1) Customer Technology Preview (CTP) is now available for download. SQL Server 2012 service packs are cumulative updates and upgrade all releases of SQL Server 2012. This service pack contains the cumulative updates up to SQL Server […]

System Center 2012 Service Pack 1 Beta Released

System Center 2012 SP1 Beta has been released Brief overview (referenced from http://www.microsoft.com/en-us/download/details.aspx?id=34607) The Beta of System Center 2012 Service Pack 1 (“SP1”) enables System Center customers to jointly evaluate System Center 2012 with Windows Server 2012 and Windows 8. The Beta is for evaluation purposes only and not to be used in production as […]

The Microsoft Exchange Replication service failed to determine if the log files in database ‘Database’ are divergent from the source copy on server ‘Servername’. Error: An error occurred while processing a request on server ‘ Servername ‘. Error: Database ‘Database GUID’ was not active on source server ‘ Servername ‘.

We recently experienced the below error message on a Exchange Database in a DAG scenario where the database had 2 servers that had copies of the database. The server that the database in question was mounted on had a blue screen and the database attempted to fail over to the secondary copy but was unable […]

Windows PowerShell 3.0 released !

Windows PowerShell 3.0  has been released for Windows 2008 r2 and Windows 7  Download link below http://www.microsoft.com/en-us/download/details.aspx?id=34595&WT.mc_id=rss_alldownloads_all

MDT 2012 Update 1 Released!

Just to let you know MDT 2012 Update 1 has been Released Some of the key changes in MDT 2012 Update 1 are: Added support for Windows 8 and Windows Server 2012. Support for System Center 2012 Configuration Manager SP1 CTP: Added support in MDT for deploying Windows 8 and Windows Server 2012 with Configuration […]

Exchange 2013 Preview Download

Exchange 2013 Preview has been released and can be downloaded from the following URL: http://technet.microsoft.com/en-us/evalcenter/hh973395.aspx Be aware that it is only available as a 64bit version and can be installed on Windows Server 2008 R2 and Windows Server 2012. The following URL will give you all of the prerequisites required to install Exchange 2013: http://technet.microsoft.com/library/aa996719(EXCHG.150).aspx […]

Get the list of preferred domain controllers on Exchange 2010

I was asked recently to find out what domain controllers Exchange 2010 deployment were pointing to. We were in the process of looking to decommission a few older 2003 domain controllers and wanted to ensure that Exchange 2010 was not pointing to them as preferred DCs. After a bit of playing around in EMS (Exchange […]

Get inactive computers in domain using command line

Here is a quick command that can be run on the domain to see if there are are computer accounts in Active Directory that have been inactive for over a month: dsquery computer "OU=OU NAME,DC=DOMAIN,DC=LOCAL" -inactive 4 -limit 0   The inactive value increases by weeks so two months would be 8 and so on. You […]

SharePoint Foundation 2013 Preview

The SharePoint Foundation 2013 Preview has been released! SharePoint Foundation 2013 is the essential solution for organizations that need a secure, manageable, web-based collaboration platform. SharePoint helps teams stay connected and productive by providing easy access to the people, documents, and information that they need to make well-informed decisions and get work done. Use SharePoint […]

The certificate with thumbprint XXXXXXXXX was found but is not valid for use with Exchange Server (reason: PrivateKeyMissing).

The following error may be received after running Enable-ExchangeCertificate: Enable-ExchangeCertificate : The certificate with thumbprint XXXXXXXXX was found but is not valid for use with Exchange Server (reason: PrivateKeyMissing). At line:1 char:27 + Enable-ExchangeCertificate -Thumbprint XXXXXXXXX -Services "IMAP" Solution: The certificate is damaged and needs to be repaired. This can be due to a number […]

How to add Exchange 2010 server into Public Folder Replication

Here is how you can add public folder replicas onto a specific Exchange Server. Run the below command in the Exchange Management shell have to mapping to Exchange Servers Program Files and then Scripts (Default is Program Files\Microsoft\Exchange Server\Scripts) .\AddReplicaToPFRecursive.ps1 -TopPublicFolder "\" -ServerToAdd ChangetoServerNametoAddReplicasFor

How to Remove Exchange 2010 server from Public Folder Replicas

Here is how you can remove public folder replicas from a specific Exchange Server. Run the below command in the Exchange Management shell have to mapping to Exchange Servers Program Files and then Scripts (Default is Program Files\Microsoft\Exchange Server\Scripts) .\RemoveReplicaFromPFRecursive.ps1 -TopPublicFolder "\" –ServerToRemove ChangetoServerNametoRemoveReplicasFrom

Office 2013 Patch Released for Outlook 2013 Empty Deleted Items Bug

Since the release of the Office 2013 preview last week, some users running Outlook 2013 have found that when the “Empty Deleted Items Folder” Cleanup Tools option is enabled, genuine mail items are deleted on exit. Some users have been able to retrieve the files via “Recover Deleted Items”. Be aware that this is beta […]

Update Rollup 2 for System Center Service Manager 2012

Update Rollup 2 for System Center Service Manager 2012 (KB2719827) has been released: Bug fixes included in this update: The URL links to incidents or activities in Notification Templates is incorrect. This issue is discussed in the following blog: http://blogs.technet.com/b/servicemanager/archive/2012/02/13/including-links-to-incidents-or-activities-in-notification-templates-scsm-2012.aspx The timestamp for incidents created through SMTP connector are incorrect. If a user changes the […]

View number of Group Polices in AD via Powershell

Below are a few simple commands you can run to display the number of group polices you have and also the name of all you group policies. Open PowerShell on a Domain Controller and run “Import-module grouppolicy” Number of Group Policies (Get-GPO -All).count Name of Group Polices Get-GPO -All | ft displayname

View number of User Accounts in AD via AD PowerShell

 Below are 3 simple commands that display how many users you have in AD, how many users that are enabled and also how many that are disabled. Number of User Accounts (get-aduser –filter ).count Number of Enabled User Accounts (get-aduser -filter *|where {$_.enabled -eq "True"}).count Number of Disabled User Accounts (get-aduser -filter *|where {$_.enabled -ne […]

Microsoft Forefront TMG Control failed to start. The failure occurred during Security Watchdog notification processing because the system call ApplyAccessControlSettings failed. Use the source location 122.86.7.0.9193.540 to report the failure. The error description is: An attempt was made to reference a token that does not exist

  We recently experienced an issue when upgrading 2 TMG Servers in a NLB to TMG SP2. As soon as we upgraded the first TMG to SP2 the TMG control service failed to start and the following was logged in the application logged “Microsoft Forefront TMG Control failed to start. The failure occurred during Security […]

Shutdown Script via PowerShell

We got requested recently to create a shutdown script for a specific number of servers. In PowerShell 2.0 there is a pretty easy way to go about this. First of all what you need to do is create a TXT file with a list of the servers you want to shut down like so and […]

Faulting module HpTcpMon.dll causing the Printer Spool service to crash

We recently experienced an issue with a print server after rebooting it, the server came back up but the printer spool service kept crashing with the following error "Faulting application spoolsv.exe, version 6.0.6001.18511, time stamp 0x4c6a8f6f, faulting module HpTcpMon.dll, version 7.1.5.51, time stamp 0x4ab0e358, exception code 0xc0000005, fault offset 0x00005dbe, process id 0xe8c, application start […]

SharePoint Workspace 2010 “exceeds the lookup column threshold”

We experienced an issue recently synchronizing a workspace. When we tried to Sync we received the following error “An Unknown error occurred while attempting to synchronize this tool, The query cannot be completed because the number of lookup columns it contains exceeds the lookup column threshold enforced by the administrator.   To resolve this issue […]

Microsoft Direct Access Connectivity Assistant 2.0 RC

Microsoft Direct Access Connectivity Assistant 2.0 RC has been released, it can be used by computers running Windows 7 when connecting to internal corporate networks with DirectAccess in Windows Server 2012 RC. It improves the DirectAccess connection experience, supports one-time password (OTP) authentication for DirectAccess users, Overview of the DA Assistant from the MS website. […]

The certificate used for mutual authentication is expiring SCOM 2007 R2

We received the following alert in System Center Operations Manager 2007 R2 on our RMS and gateway servers: The certificate used for mutual authentication is expiring on 6/25/2012 1:19:33 PM GMT. If this certificate is not updated by this time, this Health Service will not be able to communicate with other Health Services. Solution: Renew […]

Display all Virtual Machines in a Hyper-V Failover Cluster

Here is a quick command you can run via PowerShell to give you a list of all the clustered Virtual Machines on your Virtual Server Hosts. Make sure your running this from a Server with the Failover Manager PowerShell Modules installed. Launch Powershell Type “Import-Module FailoverClusters” Run the following “Get-ClusterResource -Cluster PSHVCLUS03 | ft OwnerGroup” […]

Lync Server 2010 Meeting Content Viewer Released

Microsoft have release the “Lync Server 2010 Meeting Content Viewer” which basically gives you the ability  to convert web conferencing content, such as whiteboard and poll files saved in the file store by Lync Server 2010, from its binary format into a viewable format. You can download this from http://www.microsoft.com/en-us/download/details.aspx?id=30144&WT.mc_id=rss_alldownloads_all

Unable to federate with Office 365 Lync Online

In a Lync On-premise deployment, you may find yourself unable to federate with users in a Office 365 Lync Online domain even though you both have Open Federation set. The remote user appears as “Presence Unknown” in the Lync client and the following error can be seen in the UCCAPILOG log: Unable to Federate – […]

New AD Replication Status Tool

  Here’s a nice new GUI based tool which shows you the status of AD replication in your forest. A brief overview of this tool from MS below. The Active Directory Replication Status Tool (ADREPLSTATUS) analyzes the replication status for domain controllers in an Active Directory domain or forest. ADREPLSTATUS displays data in a format […]

Bypass Caching on a Web Site in TMG

There may be certain situations where you require certain sites not to be stored in the TMG cache. You can do this by creating a cache rule with the following settings. Navigate to Web Access Policy Choose Web Caching Navigate to the Cache Rules tab Press New Type in the name of your cache rule […]

Lync Federation Issue “Presence Unknown” with a remote Lync/OCS partner

You find yourself unable to federate with a specific organisation in Lync. The remote contact appears as “Presence Unknown” even after you have allowed the federated domain in the Lync Control Panel. The next step is to enable Lync client logging, attempt to communicate with the affected user and then review the log. To view […]

Issue Mailing Public Folders after Migrating to Exchange 2010

Recently we had an issue after migrating to Exchange 2010, all mail enabled public folders were unable to receive mail and users sending mail to the public folder received the following NDR. #554 5.2.0 STOREDRV.Deliver.Exception:ObjectNotFoundException; Failed to process message due to a permanent exception with message The Active Directory user wasn’t found. ObjectNotFoundException: The Active […]

Update Rollup 3 for Exchange Server 2010 Service Pack 2 Released

Just to let you know Update Rollup 3 for Exchange Server 2010 Service Pack 2 (KB2645995) has been released You can download the rollup from http://www.microsoft.com/en-us/download/details.aspx?id=29899&WT.mc_id=rss_alldownloads_all Rollup 3 contains the following fixes (Referenced from http://support.microsoft.com/?kbid=2685289) "Cannot open the free/busy information" error message when you try to view folder permissions in Outlook Extra.exe does not trace […]

View what Public Folder Database your Mailbox Databases are pointing to in Exchange 2010

Here is a quick simple command you can run to view what Public Folder Database your Mailbox Databases are pointing to in Exchange 2010. Get-MailboxDatabase  | Sort-Object PublicFolderDatabase |  Ft Name, PublicFolderDatabase   This will give you an output like below Name                                              PublicFolderDatabase —-                                                        ——————– DB1                                                    01-PF DB2                                                   01-PF DB3                                                   02-PF DB4                                                   02-PF DB5                                                   03-PF

Disable Mailbox Database Failover in Exchange 2010

In an Exchange 2010 DAG, you may want to disable database activation on another mailbox server that holds a copy but maintain the replication and replay activities. Below is the command to do so: Suspend-MailboxDatabaseCopy -Identity DB2\MBXSERVER1 -ActivationOnly

Set a Lagged Mailbox Database Copy in Exchange 2010

Here is a quick simple command you can run to set a lagged copy time on a Database copy when it already exists. The below command will set the  lag copy for 7 days behind (The maximum you can increase this to is 14 Days) Set-MailboxDatabaseCopy –Identity DatabaseName\Mailboxservername -ReplayLagTime 07.00:00:00

CRM 2011 Rollup 8 Released

Just to let you know CRM 2011 Rollup 8  has been released You can download from the following location http://www.microsoft.com/en-us/download/details.aspx?id=29692&WT.mc_id=rss_alldownloads_all

Code blocks are not allowed in this file error in SharePoint 2010

We came across the below issue after a using uploaded some files to a SharePoint site. When navigating to the affected site users would receive the following error: An error occurred during the processing of /site/SharedDocuments/Forms/AllItems.aspx. Code blocks are not allowed in this file. Solution: The AllItems.aspx had become corrupt. To resolve this we replaced […]

Update Rollup 2 for Exchange Server 2010 Service Pack 2 Released

Just to let you know Update Rollup 2 for Exchange Server 2010 Service Pack 2 (KB2645995) has been released You can download the rollup from http://www.microsoft.com/en-us/download/details.aspx?id=29427 Rollup 2 contains the following fixes (Referenced from http://support.microsoft.com/?kbid=2661854) Update Rollup 2 for Exchange Server 2010 SP2 resolves the issues that are described in the following Microsoft Knowledge Base (KB) […]

Setting the Maximum Send and Receive Size for all users in a certain Distribution Group in Exchange 2010

Here is a quick command you can run from the Exchange management shell which will set the Maximum Send and Receive Size for all users in the specified Distribution Group. In The Below Example i’m setting the Send/Receive Limit to 100mb for all users in the Distribution Group called DG1. Get-DistributionGroup DG1| Get-DistributionGroupMember | Set-Mailbox […]

Exchange 2010 – Script to find unhealthy content indexes

I was asked by an Exchange Administrator who was new to Exchange 2010 to see if I could set up a simple script that would check the state of the Exchange databases that may affect it failing over in the event of an outage. The following script simply checks the state of each database copy […]

Windows 7 Clear Saved Passwords Command Line

Here is a quick and easy command line that can be used to bring up the Stored User Names and Passwords on Windows 7: rundll32.exe keymgr.dll, KRShowKeyMgr This is useful when the control panel item may have been removed by group policy. Cheers Paul

Detailed Exchange 2010 Health Check

Please see below a handy PowerShell Script which will give you a health check on each individual Exchange server in your environment The PowerShell Script will check the following That all Exchange Databases are Mounted Mapi Connectivity to all databases are working ActiveSync Connectivity to each CAS Server is working OWA Connectivity to each CAS […]

Basic Exchange 2010 Health Check PowerShell Script

Please see below a handy PowerShell Script which will give you a quick health check on your environment The PowerShell Script will check the following That all Exchange Databases are Mounted Mapi Connectivity to all databases are working ActiveSync Connectivity to each CAS Server is working OWA Connectivity to each CAS server is working Mailflow […]

CRM 2011 Rollup 7 Released

Just to let you know CRM 2011 Rollup 7  has been released You can download from the following location http://www.microsoft.com/download/en/details.aspx?id=29221&WT.mc_id=rss_alldownloads_all

Windows Live Essential 2011

Windows Live Essentials 2011 has been released and is now available for download from the Microsoft Download Center . You can download via the following link http://www.microsoft.com/download/en/details.aspx?id=29219&WT.mc_id=rss_alldownloads_all 

Windows 8 Keyboard Shortcuts

After installing the Windows 8 Consumer Preview, I have found myself frequently switching between the Metro and Desktop App. The following keyboard guide is useful as it lists all of the shortcuts: Keyboard Guide I find myself frequently using Windows Key + I to power off my machine and Windows Key + Q to search […]

CRM 2011 Issue on Windows 8

We’ve had a few issues recent in regards to the CRM 2011 Outlook add-in on Windows 8. The issues manifested there selves in a two different ways. First being that we couldn’t install the CRM client due to the Installation of Windows Identity Foundation failing CRM Client installed but we were getting connection errors even […]

How to view your DNS Cache

Here’s quite a useful command that will come in handy while troubleshooting name resolution issues. The below command will show you all the entries in your DNS cache and will help you identify if it needs to be cleared as it may be holding an old IP address for a certain hostname. ipconfig /displaydns

Microsoft SQL Server 2012 Evaluation Released

Microsoft SQL Server 2012 Evaluation has now been released! You can download it from the following location http://www.microsoft.com/download/en/details.aspx?id=29066 “Microsoft SQL Server 2012 enables a cloud-ready information platform that will help organizations unlock breakthrough insights across the organization as well as quickly build solutions and extend data across on-premises and public cloud backed by capabilities for […]

A server-side seed operation has failed. Error: An error occurred while performing the seed operation, which may indicate a problem with the source disk. Error: An error occurred while attempting to access remote resources. Error: An error occurred while processing a request on server ‘SERVER’. Error: Database ‘catalog’ was not active on source server

While running Exchange 2010 SP1, We recently came across the error below after attempting to add a mailbox database copy using the Exchange Management Console: Solution: Add the database copy using the Exchange Management Shell with the Add-MailboxDatabaseCopy command

Exchange 2010 Error “One or more Objects properties are pointing to Active Directory deleted objects”

We came across an issue recently where we have a few alerts flagged up on our monitoring system (SCOM 2007 R2) in regards to the below Exchange error. Object [CN=Test,OU=Test,DC=Test,DC=com]. Property [HomeMtaServerId] is set to value [Test.com/Configuration/Deleted Objects/Microsoft MTA DEL:Guid], it is pointing to the Deleted Objects container in Active Directory. This property should be […]

Skype Beta Released For Windows Phone

Skype Beta has been released today and is now available for download from the Marketplace for your Window 7.5 Phone . You can download via the following link http://www.windowsphone.com/en-US/apps/c3f8e570-68b3-4d6a-bdbb-c0a3f4360a51 

Import NK2 Files into Outlook 2010

Note: This blog is written as if you are migrating a user from Windows XP with Office 2003 to Windows 7 with Office 2010. If are migrating a user to a new computer coupled with an upgrade to Outlook 2003 you can import the nickname file from Outlook 2003 into the new Outlook 2010 suggested […]

Grant Impersonation Permissions Exchange 2010

In Exchange 2010, applying impersonate permissions to a service account is achieved by using Role-Based Access Control (RBAC). See the below command to grant the permissions: New-ManagementRoleAssignment –Name:FriendlyAssignmentName –Role:ApplicationImpersonation –User:serviceAccount

Exchange 2003 get list of users with Mailboxes and not disabled

During a recent migration of Exchange 2003 to Exchange 2010 we needed to find out how many users had a mailbox and were not disabled. In the end I used Active Directory Users and Computers snap in to create a saved Query. 1. Open ADUC and right click on Saved Queries and chose new –> […]

Exchange 2010 SP2 Upgrade Issue “Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master”

We had an issue recently when upgrading our Exchange Server to Exchange 2010 SP2. Basically the issue was that the first Exchange server we were trying to upgrade was not in the same site as the schema master and we got thrown the below error. “Setup encountered a problem while validating the state of Active […]

Unable to restore a Public Folder in Exchange 2010 SP1

We recently came across an issue where we were unable to restore a deleted Public Folder. We attempted this using ExFolders, MFCMapi and Outlook and received the following errors: Exfolders: MFCMapi: Outlook: Solution: Installing Service Pack 2 for Exchange 2010 allowed us to complete the restore with MFCMapi.

Add a Lagged Mailbox Database Copy in Exchange 2010

Here is a quick simple command you can run to add a mailbox database copy with the lagged copy time already set so you don’t have to go back and set the lagged copy setting after the seeding. The below command is adding a copy for the mailbox database named “DatabaseName” onto the server ‘LagServer’ […]

Using PowerShell to create printers

Recently I had the need to create shared printers on a Windows Server 2008 R2 print server. The naming convention had to be strict and it was taking some time to set up the printers manually. After looking on the web I came across this site (http://poshcode.org/1462) which gave me the following code to set […]

Update Rollup 1 for Exchange Server 2010 Service Pack 2 Released

Just to let you know Update Rollup 1 for Exchange Server 2010 Service Pack 2 (KB2645995) has been released You can download the rollup from http://www.microsoft.com/download/en/details.aspx?id=28809&WT.mc_id=rss_alldownloads_all Rollup 1 contains the following fixes (Referenced from http://support.microsoft.com/?kbid=2645995) You cannot view or download an image on a Windows Mobile-based device that is synchronized with an Exchange Server 2010 […]

“The user has insufficient access rights” error when trying to set Send as permissions on a mailbox in Exchange 2010

We came across an issue today when we were trying to set Send As permissions for a specific mailbox and recieved the below error on Exchange 2010. “Error: Active Directory operation failed on DC.domain.com. This error is not retriable. Additional information: Access is denied. Active directory response: 00000005: SecErr: DSID-03151E07, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0 […]

Remote Assistance Quick Connect

Here is a command line that can be used to connect to the users PC without having to go through setting up an invitation file and a password: msra.exe /offerRA HOSTNAME or msra.exe /offerRA IP Address If you get the following message: You need to ensure that you are running the command as a user […]

Add Email Address Aliases in Exchange 2010

We recently needed to add a Secondary Email address to a mailbox in Exchange 2010. Please see the command below on how to do this (In this example the user is test@test.com and he would like the secondary email address to be test1@risual.com) Run the below from the Exchange management shell. Set-Mailbox test@test.com -EmailAddresses @{add="test1@test.com"}

Unable to remove additional mailboxes from Outlook

After adding additional mailboxes to Outlook (Tools > Email Account > Change > More Settings > Advanced > Add), when you retrace your steps you may find that you are unable to remove the additional mailbox(es) because it isn’t listed, even though the mailbox is still visible in the main Outlook pane. When right-clicking on […]

Exchange 2010 Rollup 6 for Exchange 2007 SP3 Released

Just to let you know Exchange 2007 SP3 Rollup 6 has been released You can download the rollup from http://www.microsoft.com/download/en/details.aspx?id=28751 Rollup 6  contains the following fixes (Referenced from http://support.microsoft.com/?kbid=2608656) 2289607 – The week numbers displayed in OWA do not match the week numbers displayed in Outlook for English users and French users in an Exchange […]

DPM 2010 EUR Issue Previous Versions not appearing on Certain Folders/Shares

We had an issue recently with End User Recovery for DPM 2010  recently , where on certain shares on a file server we were backing up didn’t show previous versions, with the following error “There are no previous versions available”. Working Previous version on file share Failing Previous versions on the same file share To […]

Office 365–Certification Coming Soon!

Microsoft have recently announced they will be releasing MCITP certification for Office 365. These will be in the form of two exams: Exam 70-323: Administering Office 365 intended for IT professionals who administer Microsoft Office 365 in an environment that may include Microsoft Exchange, Microsoft Lync, and/or Microsoft SharePoint – link . Once passed you […]

Office 365 Virtual Labs

For all those out there who are looking to move some of their services to the cloud, there is an free online resource from Microsoft that will take you though the steps required in order to set up your environment for a move to the cloud: http://technet.microsoft.com/en-us/office365/hh699847 You only need Silverlight installed and each lab […]

“Command line error.” when using the STSADM command-line tool

When using the SharePoint command-line tool STSADM, you may receive “Command line error.” even though the syntax is correct: Solution Manually type out the command rather than copying/pasting from another application such as Internet Explorer. This is caused by the encoding method, particularly any hyphens in the command. Hyphens and dashes vary between ANSI and […]

Microsoft Outlook Social Connector Provider for Facebook has been Released

Microsoft have released an Outlook connector for Facebook , you can get the download from here http://www.microsoft.com/download/en/details.aspx?id=5039&WT.mc_id=rss_alldownloads_all Instructions to Set up Once Installed restart Outlook and you may be prompted by the Outlook Social Connector configuration wizard to connect to Facebook. Under Social Network Accounts, select Facebook. For User Name: enter your Facebook email account. […]

Windows 8 Server – Resilient File System (ReFS) Details Released

Microsoft has recently revealed the new file system RsFS. Much more detail can be found at the following blog: http://blogs.msdn.com/b/b8/archive/2012/01/16/building-the-next-generation-file-system-for-windows-refs.aspx In this blog, I am just highlighting some of the key things to take away about ReFS: Only Windows Server 8 will include the ReFS Windows 8 desktop will continue with NTFS ReFS will not […]

Office 2003 to Office 2010 Menu and Toolbar Commands Guide

After being on site where the users are currently being upgraded from Office 2003 to Office 2010 we found that a lot of users were struggling with finding some of the basic functions that used in Office 2003 on the new Office 2010. The following URL will take you to a Microsoft website that will […]

Disabling ActiveSync on Exchange 2010

We had a query from a customer recently , asking how you can disable ActiveSync on a Per User and for All Users basis. You can disable ActiveSync by doing one of the below steps depending on your requirements. To Disable ActiveSync on an Individual User Basis 1. Open the Exchange Management Console. 2. Under […]

How to Slipstream TMG SP2 onto your TMG Media

Now that TMG 2010 SP2 has been released you may be wondering how you can Slipstream it into your media, so I’m just going to provide you with a quick easy guide below. First of all we are going to extract the TMG media by coping the contents of your TMG 2010 DVD/ISO into a […]

Upgrading TMG Evaluation to RTM and receive the Following Error “The Internal Network is missing. Verify that the Internal Network has been defined”

We had an issue recently when upgrading TMG 2010 Eval to full blown licensed TMG. To upgrade to TMG Full version we inserted a TMG disk and ran the installation wizard which came back with the following error “The Internal Network is missing. Verify that the Internal Network has been defined” What the issue turned […]

Outlook 2010 Mail Control Panel Location

Here is the location of the mail control panel just in case you cannot see it in the list of control panels that are available: C:\Program Files\Microsoft Office\Office14\MLCFG32.CPL OR C:\Program Files (x86)\Microsoft Office\Office14\MLCFG32.CPL You can simply copy and paste the lines above into a run box to display the mail setup control panel: Cheers Paul

IPCONFIG from Run Box

Here is a quick command that can be used so that you can run the ipconfig/all command from the run box without it closing down on you: cmd /k ipconfig /all This should bring up the cmd box but pause and wait for input before closing down: Pressing the key should close the box down. […]

TMG 2010 SP2 Rollup 1 Released

Just to let you know TMG 2010 SP2 Rollup 1 has been released Here is the link to the rollup http://support.microsoft.com/kb/2649961 The following fixes are in this rollup package “2654016 (http://support.microsoft.com/kb/2654016/ ) FIX: A client may be unsuccessful in accessing a Java SSO application published to the web in a Threat Management Gateway 2010 environment […]

CRM 2011 Rollup 6 Released

Just to let you know CRM 2011 Rollup 6  has been released   You can download from the following location http://www.microsoft.com/download/en/details.aspx?id=28712&WT.mc_id=rss_alldownloads_all

Increase Call Timeout on a Common Area Phone in Lync 2010

When a Common Area Phone (Hot-desk) is dialled and the call is unanswered, the call disconnects after 20 seconds by default. This number can be increased using the SEFAUtil tool. Solution SEFAUtil.exe /server:lyncserver.domain.com user@domain.com /enablefwdnoanswer /callanswerwaittime:40 For details on implementing SEFAUtil see the following blog: http://support.risualblogs.com/blog/2012/01/11/installing-sefautil-for-lync-server-2010/

Installing SEFAUtil for Lync Server 2010

Secondary Extension Feature Activation (SEFAUtil) allows Lync administrators to configure call forwarding settings on behalf of other users and query their call routing settings. Below are the steps for implementing SEFAUtil on an existing Lync Front End server: Login to Frontendserver.domain.com, download and install Microsoft Lync Server 2010 Resource Kit Tools Download Here From the […]

How to Disable SSL 2.0 on Your Windows 2008 R2 Server

We had a request recently to Disable SSL 2.0 on a Customers Server for Security Reasons as it is flagged as an issue when they were doing there internal Pen testing. You can do this simply by setting the below registry key. Key: HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server Value: DisabledByDefault Type: REG_DWORD Data: 0x1 Once set reboot the […]

Exchange 2010 Build Numbers

Please see below all Exchange 2010 Version numbers, useful bit of information for when you’re trying to lookup what version of Exchange you have. Exchange Server 2010 Microsoft Exchange Server 2010 RTM – 14.0.639.21 Update Rollup 1 for Exchange Server 2010 – 14.0.682.1 Update Rollup 2 for Exchange Server 2010 – 14.0.689.0 Update Rollup 3 […]

Exchange 2010 content index state crawling

We have set up DAG monitoring scripts for one of our customers which tell us the status of all the mailbox copies and we noticed that one of the database copies had been stuck in a status of “Crawling” for over a day. To rectify this problem we did the following: 1. Log onto the […]

Microsoft Lync 2010 Released for iPhone

Hi Guys just to let you know a Microsoft Lync 2010 app has been released for the iPhone Please see “http://itunes.apple.com/us/app/microsoft-lync-2010-for-iphone/id484293461?mt=8” for more information.

VPN PPTP Issue on ISA 2006

We came across an issue recently , where VPN via PPTP all of a sudden stopped working after a reboot to the ISA Server. Whenever we tried to VPN in we were getting error “800” messages on our client machines and if we did logging on the ISA we could see that our VPN attempts […]

Windows 7 Remote Assistance UAC Prompt

There is a registry key that can be set to allow administrators who are remote controlling a Windows 7 system to view and interact with a UAC prompt without pausing the session: All you need to do is set the EnableUIADesktopToggle registry key to 1: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ Cheers Paul

Exchange 2010 SP2 Upgrade “Setup cannot continue with the upgrade because the ‘cscript’ () process (ID:7284) has open files. Close the process and restart Setup”

We had an issue recently when running an upgrade to exchange 2010 SP2 where the Pre-Requisite checker would fail on the Hub Transport role with the following error “Setup cannot continue with the upgrade because the ‘cscript’ () process (ID:7284) has open files. Close the process and restart Setup”. The issue turned out being due […]

Pre-Requisites for Exchange 2010 SP2 Fail Due to UM Language Packs

We had an issue recently when trying to upgrade Exchange SP1 to SP2 , while running through the Pre-Reqs we failed on the Unified Message role due to having more than the en-us language pack present. You can find what additional UM language Packs you have installed via running the following in the Exchange Management […]

Windows Server 2008 R2–Backup and restore printers

Here is a simple command line that can be saved as a scheduled task that can be used to backup all of your printer settings in Windows Server 2008 R2: CD %WINDIR%\System32\Spool\Tools Printbrm.exe -s \\<sourcecomputername> -b -f <filename>.printerExport To restore the settings to another server run the following command: Printbrm -s \\<destinationcomputername> -r -f <filename>.printerExport […]

RDP over Direct Access

A customer has requested recently that they want to be able to RDP to Direct Access Machines. You Can do this by doing the following. Create a Group Policy and only Apply it to your DA devices group. Edit the GPO, Expand “Computer Configuration > Policies > Windows Settings > Security Settings > Windows Firewall […]

Exchange 2010 SP2 has been Released

Just to let you know Exchange 2010 SP2 has been released Here is the link to the service pack http://www.microsoft.com/download/en/details.aspx?id=28190&WT.mc_id=rss_alldownloads_all

Running Exchange PowerShell as Scheduled Task

If you want to run any of the Exchange PowerShell commands from a standard PowerShell environment then you simply need to add in the following line in order to run it as if it is an Exchange Management Console: Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 For example, the script below will output the size of the Exchange Databases to […]

Exchange 2010 SP1 “432 4.3.2 STOREDRV.Deliver; recipient thread limit exceeded”

We experienced an issue recent in a Exchange 2010 environment where all public folder replications messages were stuck in the queue on one of our Exchange boxes with the following error “432 4.3.2 STOREDRV.Deliver; recipient thread limit exceeded”. After looking into this for a while i came across the following article “http://blogs.technet.com/b/exchange/archive/2011/04/11/store-driver-fault-isolation-improvements-in-exchange-2010-sp1.aspx” which explains the […]

SCOM 2007 R2 Installation Failure “Invalid Management Group Name”

We ran into an issue recently when running a SCOM Agent installation on a machine that previous had a SCOM agent removed from it. Basically whenever we put the Management group that was specified on the old SCOM agent I.E. prior uninstall it would error out with below. “Invalid Management Group name” This problem occurs […]

Cumulative Update 3 for System Center Service Manager 2010 SP1 Released

Just to let you know Cumulative Update 3 for System Center Service Manager 2010 SP1 has been released Here is the link to the update http://www.microsoft.com/download/en/details.aspx?id=28159&WT.mc_id=rss_alldownloads_all The Update contains fixes for the following issues: MP Import: When a data type is a decimal sometimes the decimal becomes an integer Corruption of the Type ManagementEntity table […]

Microsoft® SQL Server® 2012 Release Candidate 0 Has Been Released

Just to let you know Microsoft® SQL Server® 2012 Release Candidate 0 has been released   Here is the link to the download “http://www.microsoft.com/download/en/details.aspx?id=28145” (Details For Download below referenced From the Above URL) “Microsoft SQL Server 2012 RC0 enables a cloud-ready information platform that will help organizations unlock breakthrough insights across the organization as well […]

How to Enable the New Error pages after updating to TMG SP2

With TMG SP2 Microsoft have released a new error page look (See Below) You can enable this after you upgrade to TMG SP2 by doing the following Open TMG Console Right Click “Forefront TMG (Server Name) and select properties Go to the “Error Pages” tab and select “Use the version available from Forefront TMG SP2 […]

Upgrading TMG Standard to Enterprise Edition

We recently came across a scenario where we had to upgrade Forefront TMG Standard edition to Enterprise edition, it is a very simple procedure and you don’t lose any configuration such as Rules and Network Config. Steps to Upgrade Open TMG Console Choose System Press the System Tab Right Click the server to upgrade Click […]

Importing Users using PowerShell

We had a request from on of our clients where they wanted to create new user accounts for around 50 new employees. In order to do this we created a simple PowerShell script that used a populated CSV file to create the users in a certain OU and with a default password. The CSV file […]

SCCM 2012 Release Candidate is now available

System Center 2012 Configuration Manager and System Center 2012 Endpoint Protection (previously known as Forefront Endpoint Protection) Release Candidates are now available for download. New features in the release candidate include: Improved endpoint protection functionality, with integrated setup, management and reporting of System Center 2012 Endpoint Protection. (see below) Improved application catalog design that provides […]

How to Configure CRM 2011 for IFD and publish via TMG or UAG

Scenario We have a CRM server that we need to configure for IFD. We currently have CRM published internally on http://crm.contoso.com. We have no ADFS server currently set up so we will be setting that up from scratch. The below steps will take you through the steps of setting up IFD and also explain how […]

Change lifetime of a Security token for a claims-based authentication

We had an issue recently when deploying ADFS 2.0 and claim based authentication for CRM 2011. Basically after 40 minutes we would get an error in CRM saying that we needed to re-authenticate. This is due to “The lifetime of a default security token for a claims-based authentication deployment using AD FS 2.0 is 60 […]

ADFS 2.0 401 Unauthorized Access

We had an issue recently when setting up CRM 2011 IFD up. The issue was that internally we were unable to access the CRM website as it kept throwing a Windows Authentication box prompt up from our ADFS server. Then we eventually we got a 401.1 error after failing to authenticate 3 times. We checked […]

Script to find users that were created after a certain date

We had a request come through which asked us to get all the users that were created after a certain date. A good tool for this is the ADFind.exe which can be obtained from here: http://www.joeware.net/freetools/tools/adfind/index.htm Download and extract it to a folder, open a administrative command prompt, browse to the location that you extracted […]

Enable Lync Windows Event Logging via the Registry

Windows event logging for Lync can be enabled/disabled via the registry by modifying the key below: HKCU\Software\Microsoft\Communicator\EnableEventLogging The default value is 0 which will not log Lync events in the Application log. Set the value to 1 to enable Lync Windows event logging.

UAG SP1 Update 1 Released

Just to let you know UAG SP1 Update 1  has been released Here is the link to the update http://www.microsoft.com/download/en/details.aspx?id=27604&WT.mc_id=rss_alldownloads_all The following functionality and feature improvements have been made (Referenced From the Above URL) The following is provided by Forefront UAG Update 1: • Lync web services publishing—Forefront UAG now supports publishing Lync web services […]

Exchange 2010–Get mailboxes above certain size

Here is a PowerShell command that can be used to fetch the mailbox sizes that are over a certain amount of total item size: get-mailbox | Get-MailboxStatistics | where {$_.TotalItemSize -ge 600MB} The script above can be simply amended to the amount of MB or GB in size that you want to find out. So, […]

Event ID 1022, Error 1245. Source: MSExchangeIS Mailbox

You may across  Event ID 1022, Error 1245 in the application log of an Exchange 2007 mailbox server. The event can appear frequently and references a mailbox within the description, see the example below: Solution: The 1245 error indicates that the mailbox referenced has exceeded the storage limit/quota configured on the mailbox database. To stop […]

UAG SP1 Update 1 Issue

We recent installed Update 1 onto our SP1 UAG server , after the install all clients connecting over direct access suddenly broke. We had a look at the Web Monitor on the UAG server and looked under Current Status in the Direct Access Monitor section. We noticed that DNS64 had a cross through it. We […]

Windows 8 Disable Metro UI

If like many people have done, you have downloaded and installed the developer preview of the new Windows 8 operating system: http://msdn.microsoft.com/en-us/windows/apps/br229516 You may have been confronted by the new Metro user interface: Microsoft has released this as an initial version in order to get feedback on improvements for the final version. A few of […]

How to Configure the Network Access Account in SCCM 2012

Just a quick guide on where to configure the Network access account in SCCM 2012 as it is pretty tricky to find in the new console. The Network Access account is used for accessing resources on the network. To Set it follow the below steps. Open the SCCM Console Navigate to Administration > Site Operations […]

TMG 2010 SP2 Released

Just to let you know TMG 2010 SP2  has been released   Here is the link to the update http://www.microsoft.com/download/en/details.aspx?id=27603&WT.mc_id=rss_alldownloads_all The following functionality and feature improvements have been made (Referenced From the Above URL) “New Reports • The new Site Activity report displays a report showing the data transfer between users and specific websites for […]

Exchange 2010 Remove Move Request

Just a quick command you can run from the Exchange 2010 Shell which removes all move requests, this is quite handy to run after you’ve done a lot of Exchange mailbox moves . as if you don’t clear them you will not be able to move the users mailbox again. Get-MoveRequest | Remove-MoveRequest

SQL 2005 Maintenance Cleanup Task fails to delete “.bak” files

After creating a Maintenance Cleanup Task to delete old backup files with “.bak” specified as  the File Extension, you may come across an issue where the job completes without error but non of the backup files specified are deleted. Solution Specify the file extension as “bak” as the dot is not required

SCVMM 2012 Install Issue

We had an issue recently where we couldn’t run an upgrade to SCVMM 2012, as soon as we ran the Setup.exe and hit install the following error was displayed. “Setup cannot create the file C:\ProgramData\VMMLogs\SetupWizardAdditional.log. Verify that Setup has permissions to create the file, and then try the operation again.” We simply resolved this by […]

Delete files by date

Here is a command line that can be saved into a batch file that will delete files that are over 30 days old in a certain path: forfiles /p "C:\FOLDER" /d -30 /c "cmd /c del @path" This can be used to clean up folders by deleting files that are older than the 30 days […]

Get Database Replay Lag Times in Exchange 2010

Just a quick post to let you know how you can get the lag times that are set on the databases if you have any configured in your DAG: Get-MailboxDatabase –Identity dbname -Status  | Format-List replaylagtimes This should output something similar to this: Hope this helps Paul

Force an Object Discovery in SCOM 2007 R2

Just a very quick blog to let you know how you can force an Object Discovery instead of waiting the desired amount of time specified in the Discovery rule which can sometimes take up to 24 hours. You can just restart the “System Center Management” service and the discovery will kick in straight away

Exchange 2010 issue where GAL is blank when running Outlook in online mode

We had an issue recently when we migrated some exchange 2003 mailboxes onto an Exchange 2010 (Please note Exchange 2010 was SP1) Environment. Basically after the migration all migrated users using Outlook in online mode could only see a blank Global Address List. After looking into the issue we found that the resolution was to […]

Exchange 2010 issue “Detected catalog corruption for database”

We came across an issues recently where one of our Exchange servers in a DAG started having the below errors appear in it’s Event Log. Event ID 5301 Detected catalog corruption for database Database1 Event ID 123 At ‘9/20/2011 3:17:57 PM’ the Microsoft Exchange Information Store Database ‘Database1’ copy on this server experienced a corrupted […]

The download of anti-spam updates failed with an error

We were having a few SCOM alerts each day to inform us that the anti spam updates that usually come through Windows Update were failing to install on a customers Exchange 2007 server that was running on Windows Server 2008 SP1. Looking in the c:\Windows\WindowsUpdate.log file I could see that there was an error with […]

Find The Number of Users per Mailbox Database Exchange 2010

In the Exchange 2010 Management Console, mailbox databases do not display any information in regards to the number of mailboxes stored within them. Below is a command which can be run in the Exchange Management Shell to retrieve this information: (Get-MailboxDatabase) | ForEach-Object {Write-Host $_.Name (Get-Mailbox -Database $_.Name).Count}

Windows 7 List of Installed Drivers

Here is a quick command to list all of the drivers that are currently installed on your Windows 7 PC: driverquery /v /fo csv > drvlist.csv The command will output the information into a more readable CSV (Comma Separated Values) file. You can run this command as a normal user, it does not require administrator […]

BitLocker tab missing in ADUC

We recently added an additional Windows Server 2008 R2 domain controller to our domain and found that the BitLocker tab in the Active Directory Users and Computers snap in was not appearing for the laptops. In Windows Server 2008 you had to download and install the BitLocker Recovery Password Viewer for Active Directory Users and […]

Your account is configured to prevent you from using this computer.

You receive the following error when logging into a client machine on your domain with a specific user account: “Your account is configured to prevent you from using this computer.” Solution: Ensure the user account is not configured to only logon to specific machines via Active Directory Users and Computers:

Search results may take a long time to appear because Microsoft Exchange Search is unavailable. Results will not include matches in the e-mail body.

The error below is received when searching for mail within OWA: “Search results may take a long time to appear because Microsoft Exchange Search is unavailable. Results will not include matches in the e-mail body.” This is due to the full-text index being corrupt. To confirm that the index is corrupt, run Test-ExchangeSearch from the […]

Exchange 2010 SP1 Update 5 Released

Just to let you know Exchange 2010 Sp1 Rollup 5 has been released. We have been running it now for 2 weeks in our environment and have noticed no issues with it Here is the link to the update http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27193

Exchange 2007 Move System Attendant Mailbox

Recently we had an issue on Exchange 2007 that required us to change the mailbox database that the System Attendant Mailbox was located in. We did this by doing the following Open Adsiedit.msc Connect to the CN=configuration Navigate to CN=Services , CN=Microsoft Exchange, CN=Organisation Name, CN=Administrative Groups ,CN=Administrative Group, CN=Servers, CN=Server Name,  CN=Microsoft System Attendant […]

Find All Expired Accounts in your Domain via Active Directory PowerShell

Here’s a quick command you can run in AD PowerShell that will give you a list of all Expired accounts in your domain. Search-ADAccount -AccountExpired | fl Name , AccountExpirationdate This will give you a list like below. Name                                    : User1 AccountExpirationdate         : 30/03/2011 00:00:00 Name                                    : User2 AccountExpirationdate         : 23/04/2011 00:00:00

ADModify username variable

If you are using this very useful tool to change users home directory paths in AD and you need to input the path according to the user name, you may find that the regular %username% does not work with ADModify. The username value that the program does understand is: %’sAMAccountName’% For example a users home […]

Move Arbitration Mailboxes in Exchange 2010

Came across an issue recently where a customer was unable to delete the first mailbox database they created in their exchange environment due to the following error. Error: This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration mailboxes. To get a list of all mailboxes in this database, run the […]

Exchange 2010 Restore From Lag Database

Just a few easy instructions that will allow you to mount a lagged database in Exchange 2010 into a recovery database. This will allow you restore items/mailboxes that may have got deleted from a maximum of 14 days ago. In these instructions I will be restoring a mailbox database name  DB01 to the point in […]

Remote Reboot via PowerShell

Below is PowerShell command which can be run to force a reboot on a remote machine: (gwmi win32_operatingsystem -ComputerName ComputerName -cred (get-credential)).Win32Shutdown(6)

HRESULT: 0x800f0818 Unable to add/modify Roles or Features through Server Manager or Powershell after installing updates

After installing numerous Windows Updates, usually when bringing a newly installed server up to date on patches, you may recieve the following error in server manager: Error: Unexpected error refreshing Server Manager: Exception from HRESULT:0x800F0818d This issue occurs when corrupt .mum or .cat files are present after the extraction and installation process of windows updates. To […]

Record your PowerShell session

There is a quick way to record your session in PowerShell to a text file so you have a record of every command you have typed. In PowerShell run the following command (Change location to wherever you would like) Start-Transcript c:\Powershell.txt –Append Now use PowerShell as you usually would, once you have finished with PowerShell […]

SharePoint 2010 Prerequisites Installer Error “Error: the tool was unable to install Windows Identity Foundation (KB974405)”

We got an error recently when trying to install  the PrerequisiteInstaller.exe  from the SharePoint media. The error message was “Error: the tool was unable to install Windows Identity Foundation (KB974405)”. We simply resolved this by installing the component manually (Download Link http://www.microsoft.com/download/en/details.aspx?id=17331) We then re-ran installer and all worked fine

Microsoft SQL Server 2008 Service Pack 2 Released!

Microsoft SQL Server 2008 SP2 has now been released and can be obtained from the Microsoft Download Centre. The following features are new: Reporting Services in SharePoint Integrated Mode SQL Server 2008 R2 Application and Multi-Server Management Compatibility with SQL Server 2008. SQL Server 2008 Instance Management. Data-tier Application (DAC) Support. http://www.microsoft.com/download/en/details.aspx?id=12548&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+MicrosoftDownloadCenter+%28Microsoft+Download+Center%29#tm

You marked "RoomMailboxName" as a resource. You cannot schedule a meeting with "RoomMailboxName" because you do not have the appropriate permissions for that account. Either enter the name as a required or optional attendee or talk to your administrator about giving you permission to schedule "RoomMailboxName".

You receive the following error when creating a meeting request for a Room Mailbox using Exchange 2010: I confirmed that all permissions were correct and compared the settings against another Room Mailbox that was working correctly. Solution: Create an Outlook Profile for the Room Mailbox that is experiencing issues Launch Outlook with the newly created […]