Booting Windows using GRUB2

Using apt-get install grub-customizer to install the tool we can start adding the correct stuff. From here add an entry and select “Chain Loader”. This will produce and entry like this; set root='(hd1,1)’search –no-floppy –fs-uuid –set 0C7ABF867ABF6ADAdrivemap -s (hd0) ${root}chainloader +1 I my case this did not work (most likely because I use Windows 10 […]

Clear mail from specific address from exim queue

We have alot of issues with people using open contact forms on their websites causing spammers to fill up the exim mail queues on webservers. Today I found a great set of commands to fix the issue. exim -bp will show the current queue exiqgrep -ir spam@example.com | xargs exim -Mrm will query the entire […]

Windows icon locations

C:\Windows\System32\Shell32.Dll C:\Windows\Explorer.Exe C:\Windows\System32\AccessibilityCpl.Dll C:\Windows\System32\Ddores.Dll C:\Windows\System32\GameUx.Dll C:\Windows\System32\imageres.dll C:\Windows\System32\MorIcons.Dll C:\Windows\System32\mmcndmgr.dll C:\Windows\System32\mmRes.Dll C:\Windows\System32\NetCenter.Dll C:\Windows\System32\netshell.dll C:\Windows\System32\networkexplorer.dll C:\Windows\System32\PifMgr.dll C:\Windows\System32\PniDui.Dll C:\Windows\System32\SensorsCpl.Dll C:\Windows\System32\SetupApi.Dll C:\Windows\System32\wmploc.DLL C:\Windows\System32\wpdshext.dll C:\Windows\System32\DDORes.dll C:\Windows\System32\compstui.dll

Webmin install made easier

A small script to automate the installation of webmin and adding it to source.list.d. sudo apt-get install apt-transport-https gnupg2 wget -y wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add – echo ‘deb https://download.webmin.com/download/repository sarge contrib’ | sudo tee /etc/apt/sources.list.d/webmin.list sudo apt-get update sudo apt-get install webmin -y Or without sudo: apt-get install apt-transport-https gnupg2 wget […]

Update SharePoint STS certificate

Renew the current self-signed certificate using IIS via “Server Certificates”, right-clicking on the current certificate and running the “Create Self-Signed Certificate”. Export this new certificate by right-clicking it. Then run the following PowerShell script using PowerShell ISE with Administrator rights; .’C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\CONFIG\POWERSHELL\Registration\SharePoint.ps1′ $pfxPath = “your file here.pfx” $pfxPass = “your password […]