Rexxer

Some tips for me and other

Uncategorized

Unblock LDAP User in Gitlab

Run gitlab-rails console production and enter those commands:

ESXi update

Place the host you are about to upgrade into Maintenance Mode. Type the following command to open the firewall for outgoing HTTP requests: esxcli network firewall ruleset set -e true -r httpClient Get the list for upgrade: Type the following command to upgrade e.g.: esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20180804001-standard or esxcli software […]

Test open port without telnet from Linux

Exchange 2019 + Mailbox rules stopped working

I’ve migrated from Exchange 2010 to 2019 and my rules stopped working. I did all the things but with no success. Finally I’ve found the solution: after Exchange 2013 mailbox for NDR messages ignores rules. I’ve checked this and setup another mailbox for NDR:

Remote Desktop Gateway + client error: The Kerberos client received a KRB_AP_ERR_MODIFIED error from the server servername$

I’ve setup a new RDG server but couldn’t connect to it. The client PC registered in the eventlog: The Kerberos client received a KRB_AP_ERR_MODIFIED error from the server servername$. The target name used was HTTP/externalservername.com After some searching I’ve solved this by modifying SPN records for the server on a DC. So I ran: setspn […]

Cleanup Veeam Backup Free

Uninstall Veeam Rename registry key or delete (special action) Delete Veeam folder in Program Files Delete Veeam folder in ProgramData (stop SQL Writer service) Delete veeam files in c:\windows\system32\config\systemprofile Delete folder in c:\windows\system32\config\systemprofile\Appdata\Local\Microsoft\Microsoft SQL ….

Save Office 2016 (…) activation

Copy C:\Windows\System32\spp folder and overwrite it with saved content when OS and Office will be reinstalled.

GRUB2 + adding Windows 10 EFI boot from grub command line

You see the prompt: grub2> Type “ls” and you’ll see the partition list. Choose the correct partition. Type e.g.: If there is an error after “chainloader” command about filesystem try another partition.

Exchange 2019 Dynamic DLs

It’s a pity but Ex2019 doesn’t have full UI for dynamic DLs. You can’t create custom rules as it was before. You have to do it via PowerShell. Get-DynamicDistributionGroup -Identity managers | fl Set-DynamicDistributionGroup -Identity managers -RecipientContainer “local.com/Container” -RecipientFilter “((((((Title -like ‘Lead‘) -or (Title -like ‘Manager‘))) -and (RecipientType -eq ‘UserMailbox’))) -and -not(UserAccountControl -eq ‘AccountDisabled, NormalAccount’) […]

RDWeb and webclient don’t work cause: Your session ended because an unexpected server authentication certificate was received from the remote PC

The issue appeared after changing the main certificate. All the stuff in the console looked OK but published applications stopped working. This link helped me: http://roundtec.blogspot.com/2019/09/replace-remote-desktop-broker.html The certificate for WebClient must be changed too. Load the RDWebClientManagement-module i PS elevated mode: “Import-Module -Name RDWebClientManagement” Check what certificate the WebClient expects now: “Get-RDWebClientBrokerCert” If this is […]

Previous Posts Next posts