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…

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…

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…