Tuesday, August 18, 2009

List all mail addresses from Exchange 2007

Get-Mailbox | Select Name, @{Name=’EmailAddresses’;Expression={[string]::join(";", ($_.EmailAddresses))}} | Export-CSV EmailAddress.csv

Monday, March 30, 2009

SSD with 6 TB, 2GB/s speed

Monday, March 02, 2009

Vista doesn't create user profile, just a temp profile. Eventid 1511 in eventlogs as well

1. Reboot
2. Log on as a local admin other than the user with the profile problem.
3. Copy the old C:\Users\%UserName% contents to a network location.
4. Delete the C:\Users\%UserName% directory
5. Delte the C:\Users\TEMP directory
6. Regedit
7. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
8. Find the SID for the user with the corrupted profile and delete it (profile directory will be C:\Users\%UserName%.
9. Reboot.
10. Logon with the affected user's account.

Monday, February 23, 2009

The system is not at the correct Service Pack level for installing Oracle Database 10g error message on Windows XP

Find in the installation folder stage/prereq/client/refhost.xml

Remove SERVICE PACK VALUE from the section:

!--Microsoft Windows XP-->
VERSION VALUE=''5.1''/>
SERVICE_PACK VALUE=''1''/>
/OPERATING_SYSTEM>

And you prevail...

Tuesday, March 11, 2008

Windows Update reset

This is how you reset Windows update in Explorer:

net.exe stop wuauserv
cd /d %windir%
rd /s softwaredistribution
REGSVR32 %windir%\system32\wuapi.dll
REGSVR32 %windir%\system32\wuaueng1.dll
REGSVR32 %windir%\system32\wuaueng.dll
REGSVR32 %windir%\system32\wucltui.dll
REGSVR32 %windir%\system32\wups.dll
net.exe start wuauserv

Monday, July 16, 2007

Outlook ANSI32 Unicode64 autoarchive

Q: When archiving, Outlook displays a stupid error message.
A: Change the registry to your likes.

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook subkey. NewPSTFormat can have the following values:

Prefer Unicode PST: 0 (default)
Prefer ANSI PST: 1
Enforce Unicode PST: 2
Enforce ANSI PST: 3

Tuesday, February 13, 2007

Q. How can I recover Microsoft Office Outlook messages that have been deleted by hard delete?

A. Usually when you delete a message, Exchange moves it to the Deleted Items folder, which you can empty by right-clicking Deleted Items and selecting Empty "Deleted Items" Folder from the displayed context menu. Alternatively, you can configure Outlook to empty the Deleted Items folder each time Outlook is closed. To do so, select Tools, Options, and click the Other tab. In the General section, select the "Empty the Deleted Items folder upon exiting" check box.

After Exchange removes items from the Deleted Items folder, the Exchange server by default keeps the messages for an additional 7 days. During this time, you can recover deleted messages from the Deleted Items folder by selecting Tools, Recover Deleted Items.

You can perform a hard delete of a message by highlighting the message and pressing Shift+Del. Performing a hard delete removes the message without moving it to the Deleted Items folder. When you attempt to recover hard-deleted items, you'll see that the hard-deleted messages aren't listed in the recovery dialog box. If you select the folder from which you performed the hard delete (e.g., Inbox), you'll see that the option to recover deleted items is grayed
out on the Tools menu.

You can recover items that have been deleted from an Outlook folder--including hard-deleted items--either by performing the following steps or by adding the dumpster.reg entry to the registry.

1. Start the registry editor (regedit.exe).
2. Navigate to the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Client\Options subkey.
3. From the Edit menu, select New and click DWORD value.
4. Enter the name DumpsterAlwaysOn and press Enter.
5. Double-click the new value and set it to 1. Click OK.
6. Close the registry editor.

When you restart Outlook, the option to recover messages should be available for all folders.