Recently I had the need to do a quick and dirty fix of a couple of virtual applications that had been deployed to users in an environment that uses App-V with SCCM integration. Applications are advertised to users based upon AD Security Group membership and are configured to download and execute, rather than stream from a DP.
Without going into the reasons behind why this can happen (that’s another post) – I’ll demonstrate how to quickly resolve the error and get the user back up and running. Before proceeding make sure you have got SCCM Client Center
A error of this kind would be seen by the user when attempting to launch the broken application, e.g. ;

- Find the package ID of the affected virtual application
- Connect to the users SCCM cache (%windir%system32CCMcache) and see if the source files for the affected application are still there (use the package ID to find the folder)
- If the cached package is still there, load SCCM client center, navigate to Agent Actions > Cache and delete the package from here (this will ensure it is not orphaned)
- From within Client Center > Client Actions run a Download & Apply User (or machine) policy
- On the affected machine, restart the SMS Agent Host Service (or reboot)
- From within Client Center > Advertisements, re-run the advertisement for the failed virtual application
You should now see the application begin to download into the SCCM cache, and once complete the package should register itself with the App-V client and once again be functional.
If this fails your App-V cache may be corrupt. To resolve this you can use SFTMIME which is a tool contained within the App-V client installation directory. The following command can be used to clear all applications from within the cache;
- sftmime.exe remove obj:app /global /complete
Please note, this command will remove all applications from the App-V client, and the user running the command must have administrative permissions.
A full reference for SFTMIME can be found here;
http://technet.microsoft.com/en-us/library/cc817090.aspx
Thanks,
SteveH
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
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 fixed as soon as possible.
The issue is as said above that the HomeMTA value is set to deleted objects.
You can run the following in the Exchange Management Shell to quickly resolve the issue, add the username above into the below PowerShell command. This will correct the HomeMTA value to the correct setting.
Get-Mailbox “MailboxMentionedAbove” | update-recipient
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 
February 23rd, 2012
paulw
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 contacts:
1. Copy the NK2 file from the old machine which is usually located in C:/Documents and Settings/USERNAME/Application Data/Microsoft/Outlook. This file may be hidden and is called the same as the Outlook profile.
2. Put the NK2 file in the following location on the new PC. %appdata%MicrosoftOutlook
3. Open control panel –> Mail and click on the Show Profiles button:

4. While the mail profile list is open, click on Start –> Run and type in outlook.exe /importnk2 and click on OK
This should launch Outlook and import the addresses into the Suggested Contacts and the users should see the addresses appear from their old Outlook:

Cheers
Paul
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
Hi There,
During testing of a SHIM to fix an application, I accidentally deleted the SDB file from C:WindowsAppPatchCustom, rather than using the sdbinst -u <guid> command to uninstall properly. Whilst attempting to re-run this command I was hit with the following error;

This error was preventing me from using sdbinst to reinstall the SHIM.
The solution is pretty simple – there are two locations in the registry that need removing;
- HKLMSoftwareMicrosoftWindowsCurrentVersionUninstall<GUID>.sdb
- HKLMSoftwareMicrosoftWindows NTCurrentVersionAppCompatFlagsInstalledSDB<GUID>
Delete these and you will then be able to re-import your custom SHIM.
Thanks
SteveH
February 22nd, 2012
paulw
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 –> Query
2. Give it a name and click on Define Query button
3. Select Custom Search from the drop down menu and then click on the Advanced tab:

4. In the box put in the following:
(&(&(&(!UserAccountControl:1.2.840.113556.1.4.803:=2)(msExchHomeServerName=*)(objectClass=User))))
5. Click on Ok and the query should fetch out all users with mailboxes in Exchange 2003 and that are not disabled.
Cheers
Paul
Just a quick blog on how you can allow a Distribution Group to receive mail from External Users in Exchange 2010/2007
1. Open the Exchange Management Console
2. Expand Recipient Configuration > Distribution Group
3. Right Click Distribution Group you need and choose properties

4. Go to the Mail Flow Settings Tab > Select Message Delivery Restrictions and choose properties
5. Un-tick “Require that all senders are authenticated”
6. Press ok
You will now receive mail from External users to your Distribution Group 
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 Directory: 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. Run setup with the /prepareAD parameter and wait for replication to complete.”
To work around this you can temporarily add the below registry key this will make the server belong to a different site, we want our Exchange server to connect to the same site as the Schema Master.
- Open RegEdit
- Browse to HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNetlogonParameters
- Create a REG_SZ entry with the name SiteName
- Set the Value to the site name of the site the Schema Masters in
- Reboot the Server
Once the server is upgraded delete the REG entry and reboot the server and you will have an upgraded Exchange server and everything will be back to normal 