Promote Secondary Domain Controller via Powershell

In this environment there is a Windows Core 2019 DC installation. To promote a server to a domain controller use the following steps: Run sconfig to give the server a Name, IP address and DNS servers in Powershell Install-WindowsFeature AD-Domain-Services -IncludeManagementTools Install-ADDSDomainController -InstallDns -Credential (Get-Credential jordansphere\administrator) -DomainName jordansphere.co.uk Note: You will then be prompted for Read More…

Allow COM+ to Windows Firewall Core 2019

I got the following error when trying to manage Server Core from another machine. COM+ Network Access (DCOM-In) All rules in the Remote Event Log Management Group Resolution PS C:\Users\Administrator> Set-NetFirewallRule -Name “RemoteEventLogSvc-In-TCP” -Enabled True -Profile DomainPS C:\Users\Administrator> Set-NetFirewallRule -Name “RemoteEventLogSvc-NP-In-TCP” -Enabled True -Profile DomainPS C:\Users\Administrator> Set-NetFirewallRule -Name “RemoteEventLogSvc-RPCSS-In-TCP” -Enabled True -Profile DomainPS C:\Users\Administrator> Set-NetFirewallRule Read More…

Install Child Domain on Windows 2019 Core

In this example I will be adding a child domain called mgmt.jordansphere.co.uk to the main domain jordansphere.co.uk Install Windows (not desktop experience) From the CLI prompt run sconfig You should then be able to rename the computer and give it an IP address. Exit to CLi prompt Go into powershell Install-WindowsFeature AD-domain-services Install-ADDSDomain -ParentDomainName jordansphere.co.uk Read More…

Zabbix Agent Not Starting with Error 1067

Problem A newly installed zabbix agent (4.4.x) was installed on a Windows 2016 server using an automated script. The error was showing   Windows could not start the Zabbix Agent service on Local Computer Error 1067: The process terminated unexpectedly   Troubleshooting i tried to run the command in the foreground    "C:\Progra~1\Zabbix-Agent\zabbix_agentd.exe" -f –config "C:\Progra~1\Zabbix-Agent\zabbix_agentd.conf" And Read More…

Route Commands on ESXi, VCSA, Linux & Windows

Sample route commands    Windows Show routing table route print Add a persistent route ROUTE -p ADD 10.10.129.0 MASK 255.255.255.0 10.5.72.254   ESXi Show routing table esxcfg-route -l  Show routing table for specific stack esxcfg-route -l -N (stack name) Add route esxcli network ip route ipv4 add –gateway 10.5.72.254 –network 10.10.129.0/24   VCSA Show routing Read More…

VCSA Backups Fail

Issue Using FTPS to backup the VCSA 6.7 U2 configuration I got the following error: Error: Structure com.vmware.appliance.recovery.backup.job.details.info has a union with a field not required for this case = end_time Resolution Investigating the issue it appears the FTP login was a success and the directories were created successfully but when the process tried to Read More…

Syncing Active Directory Time with NTP Server

Problem The Domain Controllers (Windows 2016) were around ~20 seconds out of sync.  I wanted to sync it with uk.pool.ntp.org   Solution 1) Find the PDC On a host on the domain run the following command: NETDOM QUERY FSMO   2) Log into the PDC server (normally primary DC) On a command line with elevated permissions: w32tm Read More…