I recently had an issue where an iSCSI volume, formatted in NTFS spat its permissions. We all know the built-in UI for applying permissions is garbage, and as such I used this powershell script to grab each folder, and create a new process per folder, which then recursively applied new permissions. The reason why jobs…
Identifying shucked Hard Disk Drives
I recently bought a bunch of WD Elements 8TB drives so I can rip the drives out and use them in my home server. Doing this for large capacity drives is typically far cheaper than buying the drives alone. Due to the high capacities, these drives are typically NAS or Datacentre level drives, which for…
Cannot delete a file or folder, even if you own it
You know what I really hate? When I tell Windows to delete something and bloody TrustedInstaller gets all high and mighty and says “no”… So I then go and take ownership of the file, strip all the permissions off it, and then try to delete it, and then says “Sorry, you need permission from Markus…
Can’t remove the domain ‘domain.com’ because it’s referenced in an email address policy by the proxy address template ‘smtp:@domain.net’.
If you’re having issues removing an existing domain from Exchange due to the error in the title, try the following: On your Domain Controller, open ADSI Edit Select “Action” in the top bar Select “Connect To…” In the new window, in the dropdown box named “Select a well known Naming Context” and select “Configuration” Click…
WSUS hangs when running the Server Cleanup Wizard
So today our WSUS server was flagging up that it was out of drive space. No problem I said, I’ll just clear out some updates and let it run as it has once more, for the past 10 years. Oh dear… This box has 1.5TBs of updates, for every single Microsoft product that requires them,…
Git documentation is a fucking nightmare
Having used Git in the past, and honestly crying at how batshit easy it is to totally ruin your shit at any slight mistep, I can now safely say I now know how to unfuck any fucked Git situation (kinda). Whilst looking to see if my site was being indexed correctly, I noticed a site…
Enabling NVMe RAID on the MSI MEG X570 ACE
Like me you’re probably wondering how the heck you enable RAID for your shiny new NVMe drives. Turns out, in a stroke of genius and true adhesion to the old ways, the NVMe RAID option is in fact, non-existent. To enable RAID for your NVMe drives, you need to turn SATA RAID… That’s right… SATA…….
How to piggyback off an existing WinPE image to implement a custom script
Here’s a trick I used to make my Macrium Reflect boot USB auto-map network drives so that I’d no longer have to manually map them every time I booted it up, but this trick will work for other WinPE setups too, I presume. Firstly, you’ll need the Windows 10 ADK installedSecondly, you’ll need your WinPE…
How to show connected Switches and Devices via Dell or Cisco switch CLI
This command is known (By at least one person) as “The best command out there for network mapping”, as it tells you what port things are plugged into, and the next hop and IP address of that thing. In the case of both brands, you must be in ‘enabled’ mode first using en, and then…
WordPress permalinks 404 when set to ‘Post Name’
As per my own experience with this very website, I had the issue where after enabling SSL, my permalinks stopped working. Turns out, the default ssl.conf site config file from Apache, had the <Directory /> settings set to not work with permalinks To fix this, edit your site’s config file:nano /etc/apache2/sites-enabled/yourwebsite.conf Ensure the following areas…