Using Certify the web for lets encrypt certificates

Go to cloudflare and login click profile icon select my profile go to api tokens tab create new custom token Give token a name give the following permissions Zone Zone Edit Zone DNS Edit Zone Resources Include all zones IP Address filtering none (unless you wanted to restrict access, I have not as my IP is dynamic) TTL Blank Continue to summary Create token Copy API Token Install Certify the web application https://certifytheweb.com/home/ For authentication we will use DNS verification via Cloudflare API On Certify the web go to Settings stored credentials add new stored credentials Select Cloudflare DNS API Set credentials name to easily identify fill in the api token in the api token field click save   on manage certificates page new certificate click okay on prompt about registering a new contact select certificate authority of lets encrypt enter email address,( notify you of upcoming renewals if required, invalid email addresses will be rejected by certificate authority Agree to the terms click register contact   On new certificate window leave slecte site as no IIS side selected add the required domain name and click + Go to authorization tab change challenge type to dns-01 DNS update method - cloudflare...
Read More

Windows Server 2019 – shutdown event tracker shows at every login when RDP to server

While I was building a new server in which I was using storage pools I rebooted the system to check that the drives auto mounted, while doing this I found that I kept getting the shutdown event tracker when I logged in and it did not go away (this even occurred when using restart option) I look online for other things and found that someone else had this issue for 2016 and 2019, The solution open registry go to \HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability backup .\DirtyShutdown .\DirtyShutdownTime Then delete those values...
Read More

Failover Cluster manager – get list of Vm’s and if a VM has a DVD (iso file)

Powershell Get-ClusterGroup -Cluster 19-hv | ? {$_.GroupType –eq 'VirtualMachine' } | Get-VM | Get-VMDvdDrive   19-hv is the cluster name I have created VMName ControllerType ControllerNumber ControllerLocation DvdMediaType Path ------ -------------- ---------------- ------------------ ------------ ---- 19-RDSH SCSI 0 1 None 2016DC-1 SCSI 0 1 None 2019 SCSI 0 1 None Android IDE 1 0 ISO \\fs1\OS\Linux\android-x86-5.1-rc1.iso AzureADConnect2 SCSI 0 1 None CentOS-G1 IDE 1 0 None Domonitor SCSI 0 1 None exchange IDE 1 0 None FireflyIII IDE 1 0 None G2-testboot SCSI 0 1 None GMVault SCSI 0 1 None GW2 SCSI 0 1 None JenkinsTestServer IDE 1 0 None LanSweep SCSI 0 1 None leSSL1 IDE 1 0 None MCS2(Toms Server) IDE 1 0 None MCS3 SCSI 0 1 None MCS4 SCSI 0 1 None Mgmt1 SCSI 0 1 None MineOS-G1 IDE 1 0 None Observium SCSI 0 1 None ODSPSync SCSI 0 1 None PFsense SCSI 0 1 None PFSenseG1 IDE 1 0 None Proxmox-G1 IDE 1 0 None SharePoint 2019 SCSI 0 1 None Sharepoint1 SCSI 0 1 None SQL SCSI 0 1 None Steam-Cache SCSI 0 1 None SYSDeploy SCSI 0 2 None SYSDEPLOY1 IDE 1 0 None SYSWebM1 IDE 1 0...
Read More

Office 365 – Azure backup remove recovery services vault

Within Azure I used the Azure Backup server I unregsitered the server I was using however backup items still displayed which prevent me removing the vault solution was to go to manage > backup infrastructure then under management servers click on Backup mananagement server and remove from there. If it is a single server backup under backup ingrastructure go to protected servers (azure backup agent) select server and choose delete Once removed you can then delete the recovery vault...
Read More

hyper-v Enable processor compatibility

Enabling this feature manually on each vm, via settings processor > expand > Compatibility > tick Migrate to a physical computer with a different processor version   View current status of all vm's on a host. PS C:\WINDOWS\system32> Get-VM | get-VMProcessor VMName Count CompatibilityForMigrationEnabled CompatibilityForOlderOperatingSystemsEnabled ------ ----- -------------------------------- -------------------------------------------- Activation-Test 1 False False AzureADConnect2 1 False False AzureBackup1 2 False False exchange 4 False False Proxy1 1 False False RDSHost (rdvh1) 1 False False SCCM (WSUS) 2 False False Steam-Cache 2 False False SYSDeploy 2 False False TesVMG1 1 False False TesVMG2 1 True False vd1-H0 1 False False vd1-H1 1 True False w10IotE 1 False False Windows10-vdi-m 1 False False Windows10-vdi-v1 1 False False Update all vm's on host (only updates vms that are powered off.) PS C:\WINDOWS\system32> Get-VM | set-VMProcessor -CompatibilityForMigrationEnabled $true   After (only updates VMs that are powered off) PS C:\WINDOWS\system32> Get-VM | get-VMProcessor VMName Count CompatibilityForMigrationEnabled CompatibilityForOlderOperatingSystemsEnabled ------ ----- -------------------------------- -------------------------------------------- Activation-Test 1 True False AzureADConnect2 1 False False AzureBackup1 2 False False exchange 4 True False Proxy1 1 True False RDSHost (rdvh1) 1 False False SCCM (WSUS) 2 False False Steam-Cache 2 True False SYSDeploy 2 True False TesVMG1 1 True False TesVMG2...
Read More

Issue detecting hard drive that was in a raid

I recently had an issue with 2 hard drives I had setup in raid on my server. I stopped using them on the server in which I deleted the virtual disks that were created, and plugged them into another pc without raid card, on this pc I had windows 10 and it did not show the hdds in device manager, in BIOS sata config page under software presence it mentioned "unknown" To get it working I booted in a Windows 10 install USB, then in the parition section the drives shows up and I was able to create the partitions on the drives. Once I was back into windows those partitions showed as raw in device manger so I deleted them and created new partitions....
Read More