Posts

Microsoft Office 2003 Registration Info After Uninstall

Recently I had to uninstall Microsoft Office 2003 from a computer and then install Microsoft Office 2007. The were no errors on both processes but when I scanned the computer with Spiceworks, it appeared  to have Office 2003 installed as well as 2007. That is because the registration info is not removed when the product is unistalled. In order to remove that info, you have to delete the following key and it's subkeys: HKLM\Software\Microsoft\Office\11.0\Registration You should backup your registry before making any changes, or at least the keys you 're about to delete.  

Microsoft Exchange 2007 and Email Forwarding

A very common scenario is the one where you are using Microsoft Exchange Server 2007 as your communication system and you have users that want their messages to be forwarded to another address. For example, your domain is foo.com and you have a user that already has an email account at bar.com. If you do not want to create a mailbox on your exchange you can simply create a mail contact and on that mail contact you have to set the address at bar.com as Reply and External and add the address that you want the contact to have on your organization.

MPI.NET Installation and Usage

MPI.NET  is a great MPI implementation for MPI and C#. You can find installation instructions on the mail page but to summarize the procedure all you have to do is: Install  Windows Computer Cluster Install MPI.NET runtime or SDK on all computers You can then test the MPI installation by running pingpong.exe just like it's described in the tutorial. In order to start an application on another computer you must start the smpd service by starting smpd.exe on  microsoft compute cluster bin folder with -d as argument. You also have to create rules that allow mpi traffic on your firewall for mpiexec and your application.

Microsoft Exchange 2007 Agent Logs

Unfortunately, the logging for the rejected or deleted messages in Exchange Server 2007 is a bit poor. There is a set of commands that may help examining the log: Display the log for the specific period: Get-AgentLog -StartDate “4/16/2007″ -EndDate “4/17/2007″ Get-AgentLog -StartDate “4/17/2007 8:00 AM” -EndDate “4/17/2007 2:00 PM” Filtering in order to show messages to a particular recipient : Get-AgentLog -StartDate “4/16/2007″ -EndDate “4/17/2007″ | where {$_.recipients -like “foo@yourdomain.com”} To search for messages from a particular sender : Get-AgentLog -StartDate “4/16/2007″ -EndDate “4/17/2007″ | where {$_.P1FromAddress -like “aqe@easymoney2u.com” -or $_.P2FromAddresses -like “aqe@easymoney2u.com ”} There are more commands, that can help you filter the log for the agent or the host IP address and other stuff.   Many thanks to Bharat Suneja for this article.  

Autodesk TrueView 2012 Aunattended Setup

I was trying to deploy Autodesk Trueview 2012 but I could not find a MSI package in order to use it with GPO. If you download the installation file and extract it's contents you can use the following command in order to perform a silent installation: setup.exe /Q /W /I setup.ini Further setup options can be configured on setup.ini file. This command in combination with psexec tools can help you deploy the package.

Live Mesh functionality with Skydrive

I myself am one of the people who used Live Mesh in order to sync my documents with skydrive. But with Mesh deprecated I can no longer select a folder an have it sync with skydrive, I have to move my files in the Skydrive folder. One solution to the problem is to create junctions using  junction . Lets say you have a directory called "testdir" on your desktop folder. You can use junction to make a junction point inside your skydrive folder that points to the folder "testdir". In order to do that you can use: junction Skydrive\dir desktop\testdir . If you want to delete the junction point just enter: junction -d skydrive\dir The only problem is that the directory cannot be on the network... Be very careful with junction point because the changes in the junction point affect the original folder too.

Create ISO files using Powershell

You can use the following function in order to create .ISO files using Windows Powershell: function New-IsoFile  {    <#     .Synopsis      Creates a new .iso file     .Description      The New-IsoFile cmdlet creates a new .iso file containing content from chosen folders     .Example      New-IsoFile "c:\tools","c:Downloads\utils"      Description      -----------      This command creates a .iso file in $env:temp folder (default location) that contains c:\tools and c:\downloads\utils folders. The folders themselves are added in the root of the .iso image.     .Example      dir c:\WinPE | New-IsoFile -Path c:\temp\WinPE.iso -BootFile etfsboot.com -Media DVDPLUSR -Title "WinPE"      Description      -----------      This command creates a boota...