Thursday, September 30, 2021

Start Menu won't open for users on Windows Server 2016

 1. DISM /Online /Cleanup-Image /RestoreHealth

2. Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”} --

3. Delete this folder for each user: C:\Users\username\AppData\Local\TileDataLayer

Wednesday, September 29, 2021

Chrome "You cannot visit localhost right now because the website uses HSTS. Network errors and attacks are usually temporary, so this page will probably work later."

 

You get- "You cannot visit localhost right now because the website uses HSTS. Network errors and attacks are usually temporary, so this page will probably work later."

IF YOU'RE CERTAIN the page is safe, you can type thisisunsafe and you will be able to reach the site.



Tuesday, September 28, 2021

Delete or Disable AD account but keep mailbox in Office 365

You want to keep a user's mailbox indefinitely, however, you do *not* want to keep their AD account (or you want it disabled).  Converting it to a shared mailbox still anchors it to their AD account, so purging that deletes the mailbox.


 - Delete or Disable the account in AD.

 - Run an AD Sync.

 - Ensure the account is gone in Office 365. 

 - In Office 365 Admin Center, open the Azure Active Directory Admin Center.

 - Gop into Users, Deleted Users, find the user in question, check the box and click "Restore User".

 - Go into the user's cloud account and reapply the license.

 - Once their mailbox is in Exchange Admin Center, convert the mailbox to a shared mailbox.

 - Remove the license from their user account.

Saturday, September 18, 2021

You get HTTP 500 after Exchange Security Update (SU)

 (Get-AuthConfig).CurrentCertificateThumbprint | Get-ExchangeCertificate | Format-List

New-ExchangeCertificate -KeySize 2048 -PrivateKeyExportable $true -SubjectName "cn=Microsoft Exchange Server Auth Certificate" -FriendlyName "Microsoft Exchange Server Auth Certificate" -DomainName @()

Set-AuthConfig -NewCertificateThumbprint <ThumbprintFromStep1> -NewCertificateEffectiveDate (Get-Date)

Set-AuthConfig -PublishCertificate

Set-AuthConfig -ClearPreviousCertificate

IISReset

Friday, September 17, 2021

VEEAM B&R- Warning Skipping credentials backup because the encryption is disabled.

 In Veeam Backup and Replication you get the notification "Warning Skipping credentials backup because the encryption is disabled. This will complicate the restore process significantly. Enable configuration backup encryption to stop receiving this warning."


Personally, I do not want the credentials stored in the configuration backups, so this is the desired behavior.  To suppress this warning-

HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication "ConfigurationBackupSuppressEncryptionWarning", DWORD, value "1"

Sunday, September 12, 2021

Upgrade VMware ESXi 7.0.2 server to Update C to resolve Dell server hannging/USB issue

ESXi 7.0U2a Build 17867351

ESXi 7.0U2c Build 18426014

ESXi 7.0U3 Build 18644231

ESXi 7.0U3a Build 18825058

From SSH-

esxcli network firewall ruleset set -e true -r httpClient


esxcli software profile update -p ESXi-8.0U1c-22088125-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

esxcli software profile update -p ESXi-8.0U1c-22088125-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

esxcli software profile update -p ESXi-8.0U1c-22088125-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

esxcli network firewall ruleset set -e false 

esxcli software vib list |grep driver_name
esxcli software vib remove -n driver_VIB_name 

esxcli software vib update -d /vmfs/volumes/{Datastore-Name}/VMWare-ESXi-6.5.0-Update2-9298722-HPE-preGen9-650.U2.9.6.8.3-Sept2018-depot.zip


esxcli software profile get

esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-7.0

Run the update process:
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-7.0U3a-18825058-standard

ESXi-7.0U3a-18825058-standard
ESXi-8.0U1c-22088125-standard

List profiles - Online

esxcli software sources profile list --depot=https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

Use grep to filter the list for your version, 

esxcli software sources profile list --depot=https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6.7