Posts

Showing posts from 2012

Tips for a cutover migration to Office 365 with ADFS and Single Sign-on

Here are some of my tips for a cutover migration to Office 365 with ADFS and Single Sign-onWhen you read about converting mailboxes to mail-enabled users (MEUs) they don't mention Exchange 2010.  So I opened a ticket with Microsoft and they confirmed that everything for 2007 will work with 2010, and it did. This is the wiki on that subject: Convert Exchange 2007 mailboxes to mail-enabled users after a staged Exchange migration http://community.office365.com/en-us/wikis/exchange/845.aspx Here are some problems I ran into converting mailboxes to MEUs: My primary smtp on Exchange 2010 still had a reference to skillsinc.local (along with skillsinc.com) after I changed all the UPNs from .local to .com and that was messing things up.  When I looked in Office 365 none of my migrated mailboxes had .onmicrosoft.com aliases!  Without that Federation will not work.  I used ADMODIFY from Codeplex to remove all reference to skillsinc.local from my local AD.  This blog does a great job detailing ho…

Office 365 PowerShell Commands

Office 365 PowerShell Commands
Here are some powershell commands that I used with Office 365 to automate my Cutover migration.  In these examples I'm using my domain skillsinc.com where your domain should be.
These are mostly commands you would use after you have moved your mailboxes to Office 365.

Open the Microsoft Online Services Module for Windows PowerShell
If you want to run any commands that have Msol in them, like Get-MsolUser, you need to run this first:
$Cred = Get-Credential
Connect-MsolService -Credential $cred

If your not running on your ADFS server, you may need to connect to it first with this:
Set-MsolAdfscontext -Computer adfs1

If you want to run any commands that involve the mailboxes, like Get-Mailbox, you need to run this first:$Cred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $Cred -Authentication:Basic -AllowRedirection
Import-PSSession $Session
Assign Licenses
Check the name …

Automatic Batch Rebuild of Adobe Acrobat Index Files

Image
If you create an index of Adobe Acrobat files for fast searching, you may want to create a scheduled task that updates the index every night.
Adobe didn't have any pages that told me what should be in the BPDX file, but after some serious googling I was able to find a sample.

Here is a sample:

#--------------BatchUpdateCertIndex.bpdx------
c:\Document Archives\My Index.pdx /rebuild
#-----------------------------------------

When I call the BPDX file from Task Scheduler I use this command line:
"C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\Acrobat.exe" "c:\scripts\BatchUpdate.bpdx"

Acrobat will not close on it's own, but since I run this every night on a server, I just leave it running and it fires off again the next day in the same dialog box without opening new sessions.



This is the Help (or lack of it) from the Adobe Website on how to use the BPDX:

Use the Catalog feature and a catalog batch PDX file (.bpdx) to schedule when and how often to automatical…

Microsoft System Center 2012 Agent removes C++ 2005 Runtime version .762

Problem
Installing the Microsoft System Center Configuration Manager 2012 Agent  (with or without the SCCM 2012 Endpoint Protection) breaks Infor ERP Express (Visual) and also the Barcode module.
The SCCM 2012 client is at RTM.  This problem was not present with Beta 2 of SCCM.
This is the error:
"This application has failed to start because it's side-by-side configuration is incorrect."

The Event Viewer says this dependant assembly cannot be found:
Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"
If I went to c:\windows\winsxs, the folder that should have this assembly is missing.
When I check the Previous versions snapshot of the folder before SCCM 2012 was installed, I can see that the SCCM agent (ccmsetup.exe) had removed the .762 versions.  This was on a x64 machine, but since Visual is a 32 bit app, we need the x86 version of .762.

Problem SolvedThis was tested on Wi…

System Center 2012 Unified Installer Errors

Image
I have been working on installing System Center 2012 on about 6 Hyper-V virtual Microsoft Server 2008 R2 servers for the last 3 or 4 days.  All along the way I kept running into problems.
Here are a few of the problems I ran into and how I fixed them.

Follow the Directions for WinRM to letter.  I tried set the policy in the domain group policy and the installer looks in the local policy, so I had to set it in both places.  I also tried to limit the trusted hosts with , *.mydomain.local instead of just using * and it didn't like what I entered, so I just went back to * and it worked.Make sure you create a folder for every prerequisite andonly download the files you need.  For most of us that will be just the x64 files.  Some files have the same name in both the x86 and x64 packages and you could end up expanding the x86 files over your x64 files and then the install will fail or hang.Expand all your prerequisites.  When I downloaded all the prerequisites, I didn't expand them.  I…

Installing software and drivers on Windows 8 when the installer blocks Win8

I'm running the Consumer Preview of Windows 8 and I wanted to install the Logitech Webcam Pro 9000 software because I need the advanced controls, but the installer was doing an OS check and blocked the install.

I worked around the OS check by using Compatability mode.
Right click on the installer an choose Troubleshoot Compatability.
It will simulate Windows XP SP3 and everything will then install.