Archive

Archive for the ‘Technical’ Category

Anonymous Exchange 2007 / 2010 Relay to External Domains through connector

May 4th, 2012 No comments

Run the following command in the EM Shell. It cant be done in the GUI

Get-ReceiveConnector "Anonymous Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"

Categories: Exchange, Technical Tags: , ,

IMA Service wont start

May 2nd, 2012 No comments

If you have a server where the IMA service wont start try the following command on it.

dsmaint recreatelhc

Categories: Technical Tags: , , ,

Exchange 2010 Catalogs corrupt, EventID 123, ExchangeStoreDB

March 16th, 2012 No comments

If you see the error in the event log with an ID of 123 and source ExchangeStoreDB :-

At ’3/16/2012 11:42:51 AM’ the Microsoft Exchange Information Store Database ‘DATABASENAME’ copy on this server experienced a corrupted search catalog. Consult the event log on the server for other “ExchangeStoreDb” and “MSExchange Search Indexer” events for more specific information about the failure. Reseeding the catalog is recommended via the ‘Update-MailboxDatabaseCopy’ task.

Then you need to reseed the catalogs on the backup server.

Carry out the following steps.

1) Suspend the Database on the backup server. Right click, suspend.
2) Open Exchange Management Shell, Run the command.

Update-MailboxDatabaseCopy –Identity DATABASENAME\BACKUPSERVER –SourceServer MOUNTEDSERVER

3) This will then copy across the catalogs
4) Unsuspend it

Source : Technet

Categories: Exchange, Technical Tags: , , ,

List delegates in Exchange using EMC

March 8th, 2012 No comments

Run the following command in the EMC to list all mailboxes who have delegates on them.

Get-Mailbox -resultsize unlimited | Where {$_.GrantSendOnBehalfTo -ne $null} | select Name, @{Name='GrantSendOnBehalfTo';Expression={[string]::join(";", ($_.GrantSendOnBehalfTo))}} | Export-CSV C:\SendOnBehalfTo.csv -noTypeInformation

Categories: Exchange, Technical Tags: , , ,

Access 2003 Preparing to Install Message

February 3rd, 2012 No comments

If Microsoft Access 2003 keeps saying preparing to install everytime you load it just import this file into your registry.

http://cl.ly/DtZZ

Job done :)

SharePoint Config Database Log file Big

February 1st, 2012 No comments

Most of the times its located in :

C:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\Data

If it needs shrinking do the following :-

Backup the database using SQL Management. Connect to the instance using

\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query

as the server name.

Once backed up right click on the Database Sharepoint Config and click new query.

Execute each of the following querys in turn

BACKUP LOG [Sharepoint_Config_blahblahblah] TO DISK='D:\temp\configLogBackup.bak'
GO

BACKUP LOG [Sharepoint_Config_blahblahblah] WITH TRUNCATE_ONLY
USE [Sharepoint_Config_blahblahblah]
GO

DBCC SHRINKFILE (N'Sharepoint_Config_blahblahblah_log' , 50)
GO

Categories: Technical Tags:

Rebuild VSS

January 16th, 2012 No comments

Server 2008

net stop "System Event Notification Service"
net stop "Background Intelligent Transfer Service"
net stop "COM+ Event System"
net stop "Microsoft Software Shadow Copy Provider"
net stop "Volume Shadow Copy"
cd /d %windir%\system32
net stop vss
net stop swprv
regsvr32 /s ATL.DLL
regsvr32 /s comsvcs.DLL
regsvr32 /s credui.DLL
regsvr32 /s CRYPTNET.DLL
regsvr32 /s CRYPTUI.DLL
regsvr32 /s dhcpqec.DLL
regsvr32 /s dssenh.DLL
regsvr32 /s eapqec.DLL
regsvr32 /s esscli.DLL
regsvr32 /s FastProx.DLL
regsvr32 /s FirewallAPI.DLL
regsvr32 /s kmsvc.DLL
regsvr32 /s lsmproxy.DLL
regsvr32 /s MSCTF.DLL
regsvr32 /s msi.DLL
regsvr32 /s msxml3.DLL
regsvr32 /s ncprov.DLL
regsvr32 /s ole32.DLL
regsvr32 /s OLEACC.DLL
regsvr32 /s OLEAUT32.DLL
regsvr32 /s PROPSYS.DLL
regsvr32 /s QAgent.DLL
regsvr32 /s qagentrt.DLL
regsvr32 /s QUtil.DLL
regsvr32 /s raschap.DLL
regsvr32 /s RASQEC.DLL
regsvr32 /s rastls.DLL
regsvr32 /s repdrvfs.DLL
regsvr32 /s RPCRT4.DLL
regsvr32 /s rsaenh.DLL
regsvr32 /s SHELL32.DLL
regsvr32 /s shsvcs.DLL
regsvr32 /s /i swprv.DLL
regsvr32 /s tschannel.DLL
regsvr32 /s USERENV.DLL
regsvr32 /s vss_ps.DLL
regsvr32 /s wbemcons.DLL
regsvr32 /s wbemcore.DLL
regsvr32 /s wbemess.DLL
regsvr32 /s wbemsvc.DLL
regsvr32 /s WINHTTP.DLL
regsvr32 /s WINTRUST.DLL
regsvr32 /s wmiprvsd.DLL
regsvr32 /s wmisvc.DLL
regsvr32 /s wmiutils.DLL
regsvr32 /s wuaueng.DLL
sfc /SCANFILE=%windir%\system32\catsrv.DLL
sfc /SCANFILE=%windir%\system32\catsrvut.DLL
sfc /SCANFILE=%windir%\system32\CLBCatQ.DLL
net start "COM+ Event System"

Server 2003

cd /d %windir%\system32
Net stop vss
Net stop swprv
regsvr32 ole32.dll
regsvr32 oleaut32.dll
regsvr32 vss_ps.dll
vssvc /register
regsvr32 /i swprv.dll
regsvr32 /i eventcls.dll
regsvr32 es.dll
regsvr32 stdprov.dll
regsvr32 vssui.dll
regsvr32 msxml.dll
regsvr32 msxml3.dll
regsvr32 msxml4.dll

Categories: Technical Tags: , , ,