| Craig’s Blog |
Because knowing matters!
UBNT PPPoE Disconnects Bash script to remediate
Hi All, Script is working as expected. I modified it to how i need it. There were some mistakes which i worked out and corrected. Here is my script. You do need to make it executable. You firstly need to vi and create the file. sudo vi...
Bind9 with Cluster CRM – Pacemaker/Corosync
About six years ago, my company setup a two node DNS cluster using Heartbeat with Pacemaker on Ubuntu 14.04.This was to provide our customers with a recursive DNS server located in our Datacentre.The two node cluster is setup to be CNS only (caching name server). I...
Reset Start Menu & Taskbar
If you are rolling out a GPO for startmenu and taskbar or even both. When you push out your XML script and it doesnt seem to work on some workstations. You can simple delete a few reg entries and files rather than delete the entire profile. Follow these...
AD Upgrade DFS
You can verify if the system uses the FRS using dfsrmig /getglobalstate , To do this 1) Log in to domain controller as Domain ad min or Enterprise Admin2) Launch powershell console and type dfsrmig /getglobalstate. Output explains it's not initiated DFRS...
Simple Email Powershell Script
Send a Simple Email Send-MailMessage -To "User01 <[email protected]>" -From "User02 <[email protected]>" -Subject "Test mail"Send an email with attachmentSend-MailMessage -From "User01 <[email protected]>" -To "User02...
3CX Certified – GET IN!
I found that a lot of the questions ambiguous! on the 3CX basic exam. I got 24/30 4-5 times. It was silly! They need to sort the questions out internally! I understand they need to filter out people who want a free ride, but they need to sort this...
Office 365 Active Sync Device Report
Hi All, I got my inspiration from Paul Cunningham, when I stumbled across his awesome script a few years ago to query my exchange environment and to output it to my email once a week and produce a table with a list all the devices that are connected and...
Turning UAC off Properly for Windows Server
ProblemMost administrators will disable UAC (User Access Control) using standard approach as it was standard procedure since Windows Vista, continued thru Windows 7 and other client systems. To do that you just had to:Press STARTType in msconfig to...
Server Admin – Bulk Unblock files for copied applications via network
Tired of this?and this...In Windows you will find that files copied to your local drives are not trusted until you right-click on them and in the properties click the ‘Unblock’ button. This is all very well for one or two files, but gets extremely...
Having issues with MSI Installation! Try this Command Switch
Open the command promt and type this msiexec.exe /fvecmus "nameofyourmsi.msi"
KMS Activation Batch Script
The script below activates Windows 7, 8 and 10 with Office 2013. If you need to activate Office 2010, 2016 or 2019 change the "Office15" to "Office16" for Office 2016 or "Office14" for Office 2010 etc@echo offslmgr.vbs /skms (domain or IP)slmgr.vbs...
Reset Root Password ESXi 5.X
1.) start server up with live linux CD. Mine was ubuntu deskop2.) start up "Terminal" 3.) sudo -s to log on as root NOTE: /dev/sda5 is the partition we want to "Hack" we are after a file called state.tgz this is where all local users are kept4.) in...
VPN DNS suffix in Windows 10
DNS Suffix FIX!This fix was actually shown to me by my collegeue Dragan Glusac. We noticed that when you install or upgrade Windows 10 and you go to create a PPTP VPN connection you cant right click it and do properties. It doesnt do anything. If you were...
Autodiscover for Exchange 2007 onwards
The IssueBy now, anyone who has managed, deployed, or worked with an Exchange 2007 or laterenvironment should be familiar with Autodiscover. If you aren’t yet, I’ll give a shortExplanation of what it is and how it works.Autodiscover is a feature that...
Autodiscover KMS Volume activation
Introduction to KMS ActivationA Microsoft Key Management Server (KMS) is a legitimate service offered under Microsoft Volume Activation 2.0 solution which is used to activate volume licensed Microsoft products. The KMS allows automated activation of...