Exchange 2010 için Kullanıcı Kişisel Resimlerini Eklemek


Exchange üstüne kullanıcıların resimlerini eklemek için yapılmış güzel bir tool. Free olması da cabası. Kullanmanızı tavsiye ederim. Link

Sitede başka güzel free tool’larda var. Buradan bakabilirsiniz.

Resim eklendikten sonra aşağıdaki gibi bir sonuç elde edersiniz.

Bu işlemi bu program olmadan EMC üstünden de yapabilirsiniz. Gerekli komut aşağıdaki gibidir.

Import-RecipientDataProperty -Identity “sertac topal” -Picture -FileData ([Byte[]]$(Get-Content -Path “C:\picture\sertac.jpg” -Encoding Byte -ReadCount 0))

–    Resim JPG uzantılı olmak zorunda,
–    İdentity “sertac topal” yazan yere Exchange konsolda mailboxları gördüğünüz yerde Alias sütununda yazan şekilde girilmesi lazım.
–    Sertac.jpg  isimli resim paylaşımda olmamalı. EXC olan makinenin hdd sinde olması yeterli

 

 

 

Bu yazılar sertac.gen.tr sitesinden alıntıdır.

Exchange 2010 Önerilen Ram Yapılandırma Tablosu


Exchange 2010 server role Minimum supported Recommended maximum
Edge Transport 4 GB 1 GB per core (4 GB minimum)
Hub Transport 4 GB 1 GB per core (4 GB minimum)
Client Access 4 GB 2 GB per core (8 GB minimum)
Unified Messaging 4 GB 2 GB per core (4 GB minimum)
Mailbox 4 GB 4 GB plus 3-30 MB additional memory per mailbox:The total required memory is based on the user profile and database cache size. For more information about how to determine the total required memory, see Understanding the Mailbox Database Cache.
Client Access/Hub Transport combined role (Client Access and Hub Transport server roles running on the same physical server) 4 GB 2 GB per core (8 GB minimum)
Multiple roles (combinations of Hub Transport, Client Access, and Mailbox server roles) 8 GB 4 GB plus 3-30 MB additional memory per mailbox:The total required memory is based on the user profile and database cache size. For more information about how to determine the total required memory, see Understanding the Mailbox Database Cache.

 

Bu yazılar sertac.gen.tr sitesinden alıntıdır.

SCOM 2012 Alert Mailleri için Exchange 2010 Ayarı


Ortamınızda 1 adet Scom 2012 1 adet Exchange 2010 olduğunu düşünün. Scom’da alert olduğu zaman size mail atmasını istiyorsunuz. Scom tarafındaki ayarları yaptınız ortamdaki Exchange üstünde host edilen kişilere mail atar hale geldiniz.
Peki ortamdaki Exchange sunucusunun host etmediği bir domain’e (hotmail, yahoo gibi) mail atmak isterseniz ne olacak? Exchange sunucunuz buna müsade etmeyecektir. Bu işlemi yapabilmek için Exchange sunucumuza Scom için Relay izni vermemiz gerekli.
Bu operasyon için 2 komutu var ve komutlar Exchange Management Shell üstünden giriliyor.

New-ReceiveConnector -Name “Anonymous Relay” -Usage Custom -PermissionGroups AnonymousUsers -Bindings 192.168.2.2:25 -RemoteIpRanges 192.168.2.15

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

Yukarıdaki komutlarda;
192.168.2.2 = Exchange Server
192.168.2.15 = SCOM Server

Kaynak : http://technet.microsoft.com/en-us/library/bb232021.aspx

 

Bu yazılar sertac.gen.tr sitesinden alıntıdır.

421 4.4.2 Connection Dropped due Socket Error


Exchange Serverda attığınız mailler gitmediğinde kuyruğa baktığınızda aşağıdaki gibi bir hata görüyorsanız;

Çözüm : Exchange Management Shell üstünde bu komut çalıştırılır.

Set-SendConnector -Identity “SendKonnektörünüzünadınıyazınız” -IgnoreSTARTTLS $true

 

Bu yazılar sertac.gen.tr sitesinden alıntıdır.

Exchange Public Folder Silmek


Exchange 2003′den yaptığınız migration sonrasında yeni exchange üstünde artık public folder kullanmak istemiyorsanız yani silmek istiyorsanız aşağıdaki komutlar ile bunu gerçekleştirebilirsiniz.

  • Exchange Management Shell açılır
  • Get-OfflineAddressBook -Server Sunucuadınızıgiriniz | remove-OfflineAddressBook
  • Get-PublicFolder -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Recurse -ErrorAction:SilentlyContinue
  • Get-PublicFolder \Non_Ipm_Subtree -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Recurse -ErrorAction:SilentlyContinue

Bu işlem bittikten sonra client’lar da gönder/al dediklerinde muhtemelen hata alacaksınız. Sebebi Offline Address Book. Önceden bu operasyon Public Folder üstünden olduğundan ve bizde şimdi bu data yı sildiğimizden ötürü bize Public Folder ile ilişkisi olmayan bir Offline Address Book gerekli. Bunun için;

  • Exchange konsolu açılır, Organization Configuration àMailbox àOffline Address Book altında yeni bir address book oluşturulur.
  • Organization Configuration àMailbox àDatabase Management altından Public Folder Database bulunur ve Remove edilir.

 

Bu yazılar sertac.gen.tr sitesinden alıntıdır.

DPM Could Not Enumetare Application Component Microsoft Exchange Server


DPM 2012 ile Exchange 2010 DAG yapısını yedeklemek için Protection gurup oluştururken aşağıdaki gibi bir hata alabilirsiniz.

DPM Could Not Enumetare Application Component Microsoft Exchange Server
Please make sure that writer is in good state.

Çözüm : Regedit i açın ve aşağıdaki adrese gidin ve DAG’a üye olan sunucularda aşağıdaki Anahtarların olduğunu doğrulayın. Hangisinde yoksa olandan Anahtara sağ tıklayarak export edin ve olmayana import ederek iki tarafıda eşitleyin. Daha sonra tekrar Protection Group oluşturmayı deneyin. Eğer yine aynı hatayı alırsanız ADIM-2 deki dosyaları kontrol edin ve sonra tekrar deneyin.

ADIM-1:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns

Bu anahtarın altında aşağıdaki gibi 3 başlık olmalı;
– Microsoft.Exchange.Management.PowerShell.E2010
– Microsoft.Exchange.Management.PowerShell.Setup
– Microsoft.Exchange.Management.Powershell.Support

ADIM-2:
C:\Program Files\Microsoft\Exchange Server\V14\Bin
klasörüne gidin ve aşağıdaki dosyaların olduğunundan emin olun. Olmayana olandan kopyalayabilirsiniz.

– CommonConnectFunctions.ps1
– CommonConnectFunctions.strings.psd1
– Connect-ExchangeServer-help.xml
– ConnectFunctions.ps1
– ConnectFunctions.strings.psd1
– RemoteExchange.ps1
– RemoteExchange.strings.psd1

 

 

Bu yazılar sertac.gen.tr sitesinden alıntıdır.

A reboot from a previous installation is pending


Genelde Exchange server kurulumunda yada konsolunun kurulumu sırasında alınan bir hatadır. Bunun dışında da denk geldiğim durumlar oldu.

Çözüm :
Regedit açılır, ve aşahıdaki anahtara gidilir,
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
sağ tarafta bulunan “PendingFileRenameOperations” isimli key’i silin.

 

 

Bu yazılar sertac.gen.tr sitesinden alıntıdır.

BgInfo İle Masaüstüne Birşeyler Yazdırma


Başlığı nasıl yazacağımı bilemedim:) Boyutu ufacık olan bir program ile client’ların masaüstüne (wallpaper üzerine) kullanıcı adını, IP adresini, hatta MAC adresini bile yazabilmeniz mümkün. Bu peki bukadar önemlimidir derseniz yanıtlamakta fayda var.

 

Düşünceleri seneryolaştırırsak şöyle diyebiliriz. Birçok (50-100) bilgisayardan oluşan bir bilgisayar ağı yönetiyorsunuz diyelim. Ve sizde o ağın bulunduğu kurumda IT elemanısınız. Kullanıcı size telefon ile arayıp bilgisayarında bir sıkıntı olduğunu söylüyor olsun. (aslında olmaması imkansız :) ) Bu durumda muhakkak kullanıcıdan bilgisayarı hakkında bilgiler istiyor olacaksınız. En ufak örnekle bilgisayar adını yada IP adresi nedir? sorularını yönelticeksiniz. RDP ile bağlantı kurmak gerekebilir mesela. Bu durumda eğer kullanıcı bilgisizse kalkıp bilgisayar başına gidip yerinde destek vermek zorunda kalacaksınız. Fakat “BgInfo” adlı ufak bir program ile kullanıcıların masaüstüne istediğiniz bilgileri yazdırabilirsiniz!

Bu işlemi ilk olarak “Nüfus ve Vatandaşlık İşleri Müdürlüklerindeki” bilgisayarlarda görmüş ve nasıl yapıldığını merak etmiştim. Hatta 81 il 950 (yaklaşık) ilçe nüfus müdürlüklerine kullanılmaktadır. (ortalama 12000 pc, bu bir gereksiz bilgi:) )

Peki bu program nasıl kullanılır?

Kişisel bilgisayarlarda kullanılması pek mantıklı değildir. Kendi bilgisayarınızı zaten kendiniz yönetiyorsunuz :) Eğer kurumunuzda domain ortamı var ise bir logon scripti ile client’lara yayabilirsiniz.

  • İlk olarak bu adresten “BGINFO” programını indiriyoruz. Kurulum gerektirmemektedir.Lisans sözleşmesini onaylayıp programı çalıştırıyoruz. Arayüzü gerçekten çok basit bir program.

bginfo01

  • Sağ tarafdaki fields alanında istediğiniz değişkenleri çift tıklayarak ekliyorsunuz. İstediğiniz gibi türkçeleştirebilirsiniz.
  • Bilgileri ekranın neresine basmak istiyorsanız Position kısmından ayarlıyorsunuz.

bginfo03

  • Preview butonundan yaptığınız değişikliklerin önizlemesine bakabilirsiniz.
  • Düzenlemeyi bitirdikten sonra File>Save As komutuyla bir dizine “bginfo” kaydediyoruz. (uzantısı .bgi)

Sıra .bgi dosyasını client’lara dağıtmaya geldi. Bunun için GPO’yu kullanacağımızı az önce söylemiştim. Server’ınızda herhangi bir alana bir klasör (ben deploy yaptım) oluşturup paylaşım ve güvenlik yetkilerini “Domain Users” olarak verelim. İnidirdiğimiz “BgInfo.exe” ve oluşturduğumuz “bginfo.bgi” dosyalarını paylaşıma açtığımız “deploy” dizinine atıyoruz. (tüm client’ların sorunsuz ulaşabilmesi gerekmekte!)

Yapmamız gereken son adım ise “BgInfo.exe” ve oluşturduğumuz “bginfo.bgi”yi client’lara yayabilmemiz için bir logon scipti oluşturmaktır. Windows not defterini açarak içine şu kodları yazıp “bginfo.vbs” adıyla bir dizine kaydedelim. (Koyu alanları kendinize göre uyarlayın)

Set objShell = CreateObject(“Wscript.Shell”) objShell.Run “\\sunucu_adi\deploy\bginfo\bginfo.exe \\sunucu_adi\deploy\bginfo\bginfo.bgi /NOLICPROMPT /timer:0″, 1, True

Oluşturduğumuz “bginfo.vbs” scriptini bir GPO oluşturarak bilgisayarların açıldığında çalışacak şekilde yerleştiriyoruz.

bginfo04 bginfo05 bginfo06

Eğer adımları doğru uygularsanız sonuç güzel olucak… Alttaki örnekte görüldüğü gibi :)

Ve Sonuç...

Http den Https Yönlendirme


This article is for IIS 7 for IIS 6 configuration please refer to this article.

If you configure IIS to only allow https connections, a user will get a 403.4 error when attempting to access the page via http. To fix this problem we create a custom 403.4 page that redirects http requests to https. We will be changing this configuration in a couple of steps:

Step 1 – Verify SSL is required for the selected site
Step 2 – Create a HttpRedirect.htm file and save it to C:\InetPub
Step 3 – Set the 403.4 error page to use this file instead of the regular error file
Step 4 – Test

This is a standard 403.4 error message file provided out of the box with IIS 7.

 

Step 1 – Verify SSL is required for the site

  • Right click the web site
  • Select “Edit Bindings…”

 

  • Select “Add…”
  • Select the “Type” as “https”
  • Select “IP Address” as “All Unassigned”. NOTE: You can assign multiple SSL Certificate to a server as long as each SSL certificate is using a DIFFERENT IP ADDRESS because only one IP Address can bind the 443 port at a time with IIS
  • Select the “SSL certificate”, select the SSL certificate that you have imported for this website
  • Press OK to continue

 

You should see the binding for “https” on the list of bindings now

  • Press “Close” to continue

 

We can stop the configuration here if we wanted users to access the site via http OR https, I want to force users to use https so we will make the next configuration change

  • Under the “Features View”, double click “SSL Settings”

 

  • Check “Require SSL” and press “Apply”

 

Step 2 – Create a HttpRedirect.htm file and save it to C:\InetPub

We will be creating an HTM file containing the following code. We will save this file to C:\Inetpub.

1)      Open Notepad and copy in the following code below
2)      Go to File > Save as and save this file as HttpRedirect.htm, and save the file to C:\Inetpub directory.

You can download a copy of this file here: HttpRedirect.zip

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!-- beginning of HttpRedirect.htm file -->
  
<script type="text/javascript">
  
function redirectToHttps()
  
{
  
var httpURL = window.location.hostname+window.location.pathname;
  
var httpsURL = "https://" + httpURL ;
  
window.location = httpsURL ;
  
}
  
redirectToHttps();
  
</script>
  
<!-- end of HttpRedirect.htm file -->

 
 

Step 3 – Set the 403 error page to use this file instead of the regular error file

You can do this at the SERVER or SITE level. If you perform this action at the SERVER level it will be effective for all sites on the server and if you perform this action at the site level it will only be applicable to that website

  • Select the server name on the left side under “Connections”
  • Under the “features view” on the right side, double click “Error Pages”

 

  • Select “Add…”

 

  • Set the status code as “403.4″
  • Set the file to “C:\Inetpub\httpsRedirect.htm”
  • Press “OK”

 

  • You should now see the 403.4 error listed with the other error codes
  • Select the error code and press “Edit Feature Settings…”

 

  • Change to “Custom error pages”
  • Change the path of the page to “C:\Inetpub\httpsRedirect.htm”
  • Change the path type to “file”
  • Press OK

 

Step 4 – Testing the website