Friday, August 16, 2024

Email sent from a shared mailbox are not saved to the Sent Items

 Issue :

When a user sends an Email from his delegated (shared) mailbox the Email which sent from the delegated mailbox are stored in user's (who sent mail) sent item instead of the shared mailbox's sent item.


Cause :

When user send a new message from the shared mailbox, Outlook automatically sends from the sender's account. Therefore, messages are stored in the Sent Items folder of the sender's mailbox.


Solution :

Note : Outlook must be configured to run in cached mode for this option to work correctly. This will not work in NEW OUTLOOK mode which does not support cached mode.


  1. Click Start, click Run, type regedit, and then click OK.

  2. Locate and then click the following registry subkey:

    HKEY_CURRENT_USER\Software\Microsoft\Office\x.0\Outlook\Preferences

     Note :

    The x.0 placeholder represents your version of Office (16.0 = Office 2016, Office 2019, or Office LTSC 2021, 15.0 = Office 2013, 14.0 = Office 2010).

  3. On the Edit menu, point to New, and then click DWORD Value.

  4. Type DelegateSentItemsStyle, and then press Enter.

  5. Right-click DelegateSentItemsStyle, and then click Modify.

  6. In the Value data box, type 1, and then click OK.

  7. Exit Registry Editor.

  8. Close and open the outlook and try to send EMail again.


Source : https://learn.microsoft.com/en-us/exchange/troubleshoot/user-and-shared-mailboxes/sent-mail-is-not-saved

https://learn.microsoft.com/en-us/outlook/troubleshoot/email-management/email-remains-in-the-outbox-when-you-use-the-deleg

Tuesday, July 23, 2024

Extend the C drive for Windows Server 2022 if Recovery partition blocks

When you try to extend unallocated space of C drive of Windows 2022 Virtual Machine (VM), Recovery partition will lie between both C and unallocated space and it blocks the extend of the drive.

So please follow the below steps to fix it.

 1. Check backup status of the server. If we don't have backup take full backup

2. Disable the recovery Partition using below command

Note: Please make sure you are not disabling recovery partion if we didn't disable it we can't able to re-create recovery partition after disk expansion

3.Open command prompt with elevation mode.
C:\Windows\system32>reagentc /disable
C:\Windows\system32>reagentc /info


4. Backup the files which is in the Folder "C:\Windows\System32\Recovery" 
Note: Check show hidden files and uncheck the hide protected Operating system files option to view the folder /files

5. Go to diskpart in command prompt
Diskpart> lis dis ( It will list the disks)

Note down whether disk is GPT or MBR.


Diskpart> Sel dis 0 (It will select the disk 0)
Diskpart> lis par ( It will show the partitions available on disk)

Note down the size of the recovery partition in my device it is 600MB)

Diskpart> Sel par 3 (Here select which disk (Recovery disk) you want change id)
Diskpart> delete partition override

6. Extend the unlocated partition without drive letter
7. After deleting recovery partition expand the drive with free space keeping 600 MB space for recovery partition
8. After expanding drive with free space we need to re-create recovery partition in 600 MB space, Right click unallocated volume and create new simple volume without assigning drive letter (Format : NTFS, Volume label : System reserved )
9 . MBR partition table has id's integer (ID should be 27)
Diskpart> det par ( It will show the details of partition)

Diskpart> lis dis ( It will list the disks)
Diskpart> Sel dis 0 ( It will select the disk 0)
Diskpart> Sel par 3 ( Here select which disk (Recovery disk) you want change id)
Diskpart> set id=27 ( It will change Type to 27) //Note : if the disk format is GPT, SET ID=de94bba4-06d1-4d40-a16a-bfd50179d6ac
Diskpart> det par ( it will show the details of the Partition now type should be 27)
Diskpart> Exit

10. Check if backed up files are available in "C:\Windows\System32\Recovery" if not restore it.

11. Enable the recovery Partition using below command

C:\Windows\system32>reagentc /enable (It will enable the recovery Partition)

12. Open view files and uncheck show hidden files and check the hide protected Operating system files and click OK.

Email sent from a shared mailbox are not saved to the Sent Items

  Issue : When a user sends an Email from his delegated (shared) mailbox the Email which sent from the delegated mailbox are stored in user...