Category: Windows

  • Add permission on all public folders in Exchange

    I used this to get folder owner permissions on all public folders for the user daniel. In Exchange Management Console: Get-PublicFolder -recurse | Add-PublicFolderClientPermission -User daniel -AccessRights FolderOwner Get-PublicFolder -recurse | Add-PublicFolderAdministrativePermission -User daniel -AccessRights AllExtendedRights

  • Search for an email address in Exchange / Active Directory

    Open Active Directory Users and Computers. Right click on the domain and choose find. Change to custom search in the find field. Click on the advanced tab to enter a LDAP query. LDAP query to find the email address daniel@domain.com: proxyAddresses=smtp:daniel@domain.com LDAP query to find all objects that uses the email domain domain.com: proxyAddresses=smtp:*@domain.com

  • Sharepoint function “Open with Explorer” greyed out in Internet Explorer

    A user that had downgraded Internet Explorer to version 9 hade a problem with SharePoint. The user couldn’t use “Open with Explorer” on a document library becuase the “Open with Explorer” icon was greyed out. I found out that the user was using Internet Explorer 64-bit and after switching to the 32-bit version the problem…

  • Search, list and export all mail contacts email addresses in Exchange

    In Exchange Management Shell: Get-MailContact | select DisplayName -ExpandProperty EmailAddresses | select DisplayName, SmtpAddress | export-csv C:\mailcontacts_address.csv

  • Search, list and export all distribution groups email addresses in Exchange

    In Exchange Management Shell: Get-DistributionGroup | select DisplayName -ExpandProperty EmailAddresses | select DisplayName, SmtpAddress | export-csv C:\dg_email_address.csv

  • Search, list and export all mailbox email addresses in Exchange

    In Exchange Management Shell: get-mailbox | select DisplayName -ExpandProperty EmailAddresses | select DisplayName, SmtpAddress | export-csv C:\mailbox_email_address.csv

  • Troubleshooting account lockout issue

    I had a problem when an Active Directory user account got locked out all the time. I tried the following tools: Account Lockout and Management Tools NetWrix Account Lockout Examiner I found out that when I unlocked the user account the bad password attempts started again and after 20 retries the account got locked out.…

  • Problem installaing .NET Framework 3.5 on Windows 8

    When I tried to install .NET Framework 3.5 (includes .NET 2.0 and 3.0) from “control panel/programs and features/turn windows features on or off” I got the following error code 0x800F081F. The solution was to install .Net 3.5 via DIM: dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:\sources\sxs /LimitAccess D: = DVD drive/USB drive or ISO.

  • Can’t find and install iLO 2 driver on HP ProLiant DL380 G5 running Windows Server 2012

    I had problem finding an iLO 2 driver that would work with Windows Server 2012. The server was a HP ProLiant DL380 G5. I had earlier managed to get an iLO 2 driver to work with Windows Server 2012 on a HP ProLiant ML350 G5. The hardware ID was: VEN_103C&DEV_3302. It was shown in the…

  • Restore a deleted Active Directory object with PowerShell

    This requires that you have enabled the enable Active Directory Recycle Bin before you deleted the object. Run Windows PowerShell as Administrator. Start by loading the Active Directory module for Windows PowerShell: Import-Module ActiveDirectory List all deleted users (for some reason computer objects also are included when you use objectclass -eq “user): get-adobject -filter ‘objectclass…