<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8584375735658002348\x26blogName\x3dwebkod\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dLIGHT\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://webkod.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://webkod.blogspot.com/\x26vt\x3d-116665305619974757', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Updating Dynamic Distribution Groups in Exchange 2010

Monday, October 22, 2012 by kod

To configure a Dynamic Distribution Group in Exchange 2010, you can do it in two ways: 1. From EMC in Recipient Configuration > Distribution Group, right click on a existing Dynamic Distribution Group and select Properties. Go to Filter and Conditions tabs and select the appropriate settings. 2. From EMS you will only find a few conditions/filters that you can choose from in the GUI. So you will have to use EMS to fine tune your DDG. For example, if you want to filter the members of a Dynamic Distribution Group by city, you can use it to query users that have the City attribute assigned. To change the existing Dynamic Distribution Group which uses LDAP filter to use OPATH filter you use:
Set-DynamicDistributionGroup -Identity "GROUPNAME" -RecipientFilter {(Alias -ne $null -and City -like 'Bucharest') -and -not(Name -like 'SystemMailbox{*') -and -not(Name -like 'CAS_{*')}
All the users that have Bucharest as the City attribute will be members of this Distribution Group.

Labels: , , ,

Export Mailbox in Exchange 2010 SP1

Thursday, August 30, 2012 by kod

You can export a mailbox in Exchange 2010 SP1 with a new method called Mailbox Export Requests instead of previous Export-Mailbox command.
New-MailboxExportRequest -Mailbox mihai.caltaru -FilePath \\network_share\mihai.caltaru.pst
If you don't want to export it locally, you need to configure the network share in which the permissions for Exchange Trusted Subsystem are set to read/write. Pipe Get-MailboxExportRequest into the Get-MailboxExportRequestStatistics cmdlet and you will get detailed information regarding your export. When it finishes, the request remains on the server until removed by an administrator using Remove-MailboxExportRequest. To clear all your Exchange requests:
Get-MailboxExportRequest | where {$_.status -eq "Completed"} | Remove-MailboxExportRequest

Labels: , , , ,

Blackberry Mail Store Service Event 10000

Tuesday, August 7, 2012 by kod

MailStoreExchange::RefreshGALUsingMAPI - Error in HrFindExchangeGlobalAddressList, result=0x80004005. You need to modify or add the following key:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\BlackBerryServer_MailStoreProfile\dca740c8c042101ab4b908002b2fe182
Check if you Client Access Server is listed in: 001e6602 If the dca740c8c042101ab4b908002b2fe182 key or the 001e6602 string is missing, stop the BlackBerry Mail Store Service, and create the missing key or string. Enter the Fully Qualified Domain Name of the correct Client Access Server or the pool name under Value data in 001e6602 Also, check if the string 001e6602 exists in:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\BlackBerryServer_MailStoreProfile\dca740c8c042101ab4b908002b2fe182
If not, create it or modify it to point at the correct CAS.

Labels: , ,

Exchange 2010 SP1: Exporting Mailboxes

Tuesday, June 28, 2011 by kod

Exporting data from an Exchange 2010 SP1 mailbox to .pst file.
You use the following command:

New-MailboxExportRequest –Mailbox webkod –FilePath \\Srv\pst\webkod.pst

This will take all folders and data and export them into the specified .pst file.
If we want to add different parameters, we can find them here
Be careful, as in Exchange 2010 (non SP1 version) the command was different:


Export-mailbox -Identity webkod -PSTFolderPath c:\pst


There are a lot of new features in SP1's version of Exchange 2010, but if you still have the previous version, check out this tutorial on how you can export the mailbox.

Enable Remote Desktop – Remotely

Tuesday, January 26, 2010 by kod

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server, in the right panel, select fDenyTSConnection (REG_DWORD) and change it from 1 to 0 (enable remote desktop access)

path to freedom! :)
hint: you can access this through regedit>connect network registry

Labels: ,

Event ID 10016 Source DCOM

Thursday, December 24, 2009 by kod

Aveam eroarea asta pe mai multe statii din domeniu. Inclusiv pe un 2008SRV. Arata ceva de genul asta si CLSID-ul in cazul meu (pe toate statiile cu problema) era: {24FF4FDC-1D9F-4195-8C79-0DA39248FF48}
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {} to the user SID (). This security permission can be modified using the Component Services administrative tool.

Rezolvarea a aparut in momentul in care am pornit serviciul NAP - care by default este pe Manual si nu porneste. Deci, schimbam startup type-ul din manual in automatic si restartam masina in cauza. Eroarea 10016 ar trebui sa dispara din Events.

Labels: , ,

Commands of the day

Wednesday, July 29, 2009 by kod

Just a reminder:
wuauclt.exe /detectnow forteaza updateurile fara a mai astepta schedulerul
si
subst x: "....." cu subst x: /d pentru a sterge fisiere/foldere dintr'o cale cu peste 250 caractere. Pe scurt, face un drive virtual cu folderul cu pricina, de unde se poate sterge fara probleme continutul.

Labels: , ,

Windows cannot access the specified device, path, or file.

Tuesday, June 9, 2009 by kod

This error seems to appear on W2K3 R2 Server. Solution is simple:
Go to add/remove windows components, then uninstall the Internet Explorer Enhanced Security.

Labels: , , ,

Dcpromo error

Tuesday, May 12, 2009 by kod

Eroarea zice:
The Active Directory Installation Wizard cannot continue because the forest is not prepared for installing Windows Server 2003. Use the Adprep command-line tool to prepare both the forest and the domain. For more information about using the Adprep, see Active Directory Help.

The version of the Active Directory schema of the source forest is not compatible with the version of Active Directory on this computer.

Si apare in momentul in care incerci sa adaugi ca DC o masina pe care e instalat Windows Server 2003 R2.
Ea apare din cauza ca pe masina "schema master", "schema version" (lol) este 30 (versiunea originala de la 2003 SP1) in loc de 31 cate e pe 2003srv R2.
Pe schema master se ruleaza adprep de pe discul 2 de Windows 2003 Server R2.
run: \CMPNENTS\R2\ADPREP\adprep.exe /forestprep
Pe urma se ruleaza dcpromo in mod normal de pe masina cu 2003 R2.
PS: Versiunea de pe schema master se poate verifica din reg:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Parameters
cauti Schema Version (30 sau 31), ma rog...sau 13 (Win 2000).

Labels: , ,

Exchange Public Folder Error

Tuesday, February 10, 2009 by kod

The operation completed successfully
Facility: Win32
ID no: c0070000 Exchange System Manager

Cam asa arata eroarea. Ea in cazul in care ai instalat Exchange Server 2003 (SP1) si faci upgrade-ul de la IE 6 la IE 7. Momentul in care apare e cel in care dai click pe Public Folders (Exchange System Manager>Administrative Groups>your domain name>Folders>Public Folders).
Modul in care se rezolva problema e destul de usor, dar ATENTIE!...e de recomandat a se face intr-o perioada "moarta" din cauza unui mic downtime al serverului de mail.
Primul pas e sa opresti serviciile de Exchange si IIS:
- Microsoft Exchange System Attendant*
- IIS Admin*
* se vor opri si serviciile dependente de cele doua de mai sus..deci ATENTIE!
Serviciile dependente: Microsoft Exchange Information Store, Microsoft Exchange MTA Stacks, World Wide Web Publishing Service, Simple Mail Transfer Protocol (SMTP), HTTP SSL..(mai pot fi si altele, in functie de ce ai instalat pe srv.)
Bun, pasul doi si ultimul este sa redenumim fisierul psapi.dll, care se gaseste in:
drive\Program Files\Exchsrvr\bin, in psapi.dll.old.
Se pornesc serviciile inapoi (inclusiv cele dependente) si VOILA! job done!
Njoy ;)

Labels: , ,