Server 2022 Activate Directory – Exchange bits

For SMTP bits in AD you need the exchange tools. These are for my notes so make sense to me.

Your account needs to be in the enterprise admins and schema admins group.
You need to install the exchange bits so run this command but you also need to mount an exchange ISO. I used Exchange 2019

d:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataON /PrepareAD /OrganizationName:”Contoso Corporation”

We’re not installing or setting up exchange, just need it to put in all the extra exchange stuff in AD for the mailNickname bits

If you don’t need any of the exchange fields you can ignore all this.

Server 2022 – Disable reboot warning

https://www.softwareok.com/?seite=faq-Windows-Server&faq=19

1.) Method: Group Policy

  1. Open Group Policy Editor :
  • Press Win + R, type gpedit.msc and hit Enter .
  1. Navigate to:
    Computer Configuration → Administrative Templates → System .
  2. Find the policy “Disable shutdown event logging” .
  3. Double click on it and set the policy to “Enabled” .
  4. Click OK and close Group Policy Editor.