Tuesday, December 27, 2011

How to save sent items in different folder incase of shared/resource mailboxes


Whenever user often accesses a shared mailbox, we add the shared mailbox as an additional mailbox in each user’s Outlook profile.

This works fine, except for the fact that e-mail messages sent from the additional mailbox go into the “Sent items” folder of the primary mailbox within a user’s profile. In order for the other users accessing the shared mailbox to keep track of the activity in the shared mailbox, it’s important for us that outgoing messages are stored in the “Sent items” folder of the shared mailbox

This is a common situation, and not just with Exchange 2010 and Outlook 2010. Although it isn’t well known, we can change this standard behavior using an Outlook client-specific registry key. When adding the registry key, when you reply to or forward e-mail messages located in the shared mailbox, they actually go into the expected “Sent items” folder.

To change the “Sent items” behavior, you need to create the following registry key

Key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Preferences
Name: DelegateSentItemsStyle
Type: DWORD
Value: 1

Note that it needs to be created on HKEY_CURRENT_USER.

 Changing where items sent from a shared mailbox are stored requires a new registry key.

Friday, December 23, 2011

PowerShell v3 has some great GUI

If you're a Power Shell scripting guy and want to try GUI mode of it...

Here is the article describing it's features...

http://searchwindowsserver.techtarget.com/tip/PowerShell-v3-has-some-great-GUI?asrc=EM_NLN_15840871&track=NL-1687&ad=857815&




Wednesday, December 14, 2011

New SID crashes Windows Server 2008 & Windows 7 OS

As part of troubleshooting one of the application servers yesterday, we've executed newsid.exe on the server and rebooted the same. After reboot the server was not coming up, getting OS screen and getting the blue screen later. Tried to repair the OS, System Restore etc., but all efforts went in vain. 
After doing some googling and reading some technical articles came to know that newsid doesn't work for Windows 7 family (Desktop & Server (2k8)) of OS.
Need to use built-in sysprep tool to generate newsid for Windows 7 family OS systems. Here is the procedure.

  • First, click to Start-->Run, type sysprep and press OK


  • This will open sysprep folder which is located in c:\Windows\System32. Open sysprep application.
  • This will open System Preparation Tool 3.14 window. As a System Cleanup Action select Enter System Out-of-Box Experience (OOBE).
  • Important: Select Generalize to change SID, it’s not selected by default & for shutdown options select Reboot.

 


  • After rebooting you’ll have to enter some data, for example, Country or region, Time and currency and Keyboard input.
 


  • Also, you’ll have to accept EULA. And that’s it. After booting, in Server Manager you’ll see that everything is changed, if you had some settings set now they’re changed.



Now you can again use PsGetSid to check that your OS has new SID.