Memorise

Archive for the ‘Microsoft’ Category

Managing public folders in Exchange Server 2007 SP1

Managing public folders in Exchange Server 2007 SP1 still requires the use of PowerShell cmdlets snap-in exposed in the Exchange Management Shell. This practical example illustrates how to resolve common issues around public folder access rights. Scenario A: Outlook shows public folder as “Access Denied”(you do not have permissions to …) [PS] C:\Windows\System32>Get-PublicFolderClientPermission -Identity “\folder\sharedItems” […]

Windows Event Viewer CUSTOM XML FILTER

<QueryList> <Query Id=”0″ Path=”Security”> <Select Path=”Security”>*[EventData[Data and (Data=”swilkinson”)]]</Select> </Query> </QueryList> Here are examples of simple custom filters in Windows Event Log: Select all events in the Security Event Log where the account name involved (TargetUserName) is “AUser” <QueryList><Query Id=”0″ Path=”Security”><Select Path=”Security”>*[EventData[Data[@Name=”TargetUserName”] and (Data=”AUser”)]]</Select></Query></QueryList> Select all events in the Security Event Log where the string “AUser” […]

Fix “Logon Failure: The Target Account Name is Incorrect” Error

Reset Machine Account Passwords using Netdom.exe netdom resetpwd /s:server /ud:domain\User /pd:* The /s:server is the name of another domain controller in which the KDC service is running. That server will be used for setting the machine account password. The other two parameters are simply the user name and password for a domain administrator account. You will need to install […]

How to renew a self signed certificate in Exchange Server 2007

How to renew a self signed certificate in Exchange Server 2007 When a new Exchange Server 2007 role is installed on a computer the server automatically generates a self signed certificate to be used with services like transport (SMTP), POP,  IIS (OWA and Exchange Web Services) and IMAP. This certificate expires right after the completion […]

How To Reduce Size of WinSXS

A bit more research later and I found that Vista SP2 has a similar Service Pack Cleanup Tool in the same C:WindowsSystem32 directory called COMPCLN.exe. You can start the program by using the following instructions: Click Start > Run Type in CMD and press [enter] At the command prompt, type COMPCLN and press [enter] Press […]

Enable the Built-In Windows 7 Administrator Account

You can hover over the CMD line and press CTRL + SHIFT + ENTER to invoke the “Run as Administrator” shortcut. In the Command Prompt window, type: net user Note how the Administrator account is there, yet the new user account has not been yet created. To set the Administrator’s account password: net user * […]

Fix For Outlook 2007 Constantly Asking for Password on Vista

If you are encountering problem where Outlook constantly asks you for your password even though you check the “Remember my password” box every single time, then you are in luck because this tip shows how to fix the problem. This fix should theoretically help with Windows Mail as well, but I haven’t been able to […]