Home
Microsoft 365
Linux
Windows
Powershell
Cloud Computing
    Citrix Xendesktop
    Citrix XenApp
Useful links
About
  • Home
  • Microsoft 365
  • Linux
  • Windows
  • Powershell
  • Cloud Computing
    • Citrix Xendesktop
    • Citrix XenApp
  • Useful links
  • About
ajni.IT -
Azure•Cloud Computing

Azure Bastion Minimum Rights for Delegated Administration

January 15, 2024 by AJNI No Comments

If you need to delegate Azure Bastion to a user without assigning too many rights, here are some tips for you:

  • User needs to have Virtual Machine login or Virtual Machine Administrator Login on VM or Resource Group where the VM is located
  • Read rights are needed on Bastion Resource Group
  • Make sure to wait 5-10 mins after applying settings
Reading time: 1 min
Microsoft 365

Exchange Online and On Prem save Sent Mails through Send As or Send on Behalf in the Shared Mailbox

January 8, 2024 by AJNI No Comments

By default, if you send a mail on behalf of a Shared Mailbox, the sent item will be saved in the user’s primary mailbox and not the shared mailbox. If you want to change it to expected behaviour, i.e. save the items in the Shared Mailbox, execute following command. This works in Exchange Online and Exchange OnPrem.

set-mailbox -MessageCopyForSentAsEnabled $True

set-mailbox -MessageCopyForSendOnBehalfEnabled $True

References:

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

Reading time: 1 min
Windows Server

Exchange On-Prem Remove internal Exchange Server Names and IPs from Message Headers

January 1, 2024 by AJNI No Comments

By default on an on prem Exchange 2013/2016/2019 environment, internal server names are displayed in the message header analyzer, which you would not want to expose externally.

This is how it would look like:

To remove that information, execute this command in the Exchange Powershell. Make sure you have the right Send Connector Name.

Get-SendConnector “Internet” | Remove-ADPermission -User “NT Authority\ANONYMOUS LOGON” -ExtendedRights ms-Exch-Send-Headers-Routing

And now this is how it looks like:

References:

https://practical365.com/remove-internal-exchange-server-names-ip-addresses-message-headers/

Reading time: 1 min
Virtualization•VMware

VMware Remove “Safely Remove Hardware” icon in a Windows Guest OS

December 27, 2023 by AJNI No Comments

As a normal user without admin rights, you can theoretically kill the Windows Guest OS (for example if you are connected through Citrix or Remote Desktop Services) by safely removing the VMXNET3 adapter on the bottom right. This is very bad and is apparently “by design”.

To hide the icon proceed as folow:

With the VM powered off, click Edit Settings > Options > General and configuration parameters. Add row and then type devices.hotplug. As a value insert FALSE. You can then power on your machine.

References:

https://communities.vmware.com/t5/ESXi-Discussions/Remove-quot-Safely-Remove-Hardware-quot-icon-in-a-Windows-guest/td-p/2495345

Reading time: 1 min
VDI•Windows Client OS•Windows Server

File Explorer hangs/calculating when deleting file

September 27, 2023 by AJNI No Comments

Having performance problems when deleting one single file or folder? File Explorer takes 2-3 seconds to “calculate” something before deleting? Deleting automatic destinations might help you out. I had a case where this file was 4MB big, which is a lot for only text/paths.

Delete everything under:

C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations

The big file in question is f01b4d95cf55d32a.automaticDestinations-ms. You might want to delete this file only. But I deleted everything.

References:

https://answers.microsoft.com/en-us/windows/forum/all/file-explorer-freezes-every-time-i-try-to-delete-a/95dc1a91-6a28-487a-8741-5569226e9a36

https://www.tenforums.com/tutorials/175934-how-backup-restore-quick-access-pinned-folders-windows-10-a.html

Reading time: 1 min
Page 8 of 23« First...«78910»20...Last »

Like what you are reading? Buy me a coffee.

Tip Of the Day

  • Add Alias to Windows Fileserver (Server 2019, 2022, 2025)

    2 days ago

Keep in touch

Oh hi there!
It’s nice to meet you.

Sign up to receive awesome content in your inbox, every month.

Check your inbox or spam folder to confirm your subscription.

Categories

  • AI & Deep Learning (1)
  • Azure (20)
  • Citrix XenApp (21)
  • Citrix Xendesktop (13)
  • Cloud Computing (40)
  • Coding (1)
  • Hyper-V (10)
  • Linux (8)
  • Microsoft 365 (26)
  • Powershell (21)
  • Security (7)
  • VDI (16)
  • Virtualization (21)
  • VMware (12)
  • Windows (21)
  • Windows Client OS (39)
  • Windows Server (92)

Archives

  • May 2025
  • April 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • April 2023
  • March 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • December 2020
  • November 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019

ajni IT © 2019