Categories
Informatique

How to Upgrade Debian 12 to Debian 13 (Trixie) – Step-by-Step Guide

Looking to upgrade your system from Debian 12 Bookworm to the latest Debian 13 Trixie? This step-by-step tutorial will guide you through a safe and efficient upgrade process. Perfect for servers and desktop environments, this guide ensures minimal downtime and maximum system stability.

At the end of the post, we are providing you with a script that does the heavy lifting for you.

Categories
Informatique

Cloudflared Docker: getting the health status to work

This guide explains how to use the Docker container of cloudflare/cloudflared:latest with a functioning healthcheck via the metrics & ready endpoints.

The Cloudflared docker image can help you bring secure connectivity to other parts of your Docker setup.

Categories
Informatique

Uninstalling Docker completely from Debian

How to Uninstall Docker Completely from Debian

If you no longer need Docker on your Debian system, here’s how to fully remove Docker and its related components, including docker-compose. Follow these steps for a thorough cleanup:

Categories
Informatique

LogCentral , a great european alternative to Papertrail

OK, DevOps teams love Papertrail for its “frustration‑free log management”: within seconds, all your application, server and router logs stream into a real‑time interface.
Categories
Informatique

Microsoft AutoUpdate – Required Data Notice

If you’re managed Macs and they’ve started to display a “Required Data Notice” popup all the time, a setting in your MDM is upsetting Microsoft AutoUpdate.

Categories
Informatique IT

Blocking Co-Installers in Windows with Intune Remediations

When using Windows 10/11, Windows Plug & Play drivers can automatically install applications (unsecured, dangerous or both) on your computer. This is a feature called Co Installers.

This – initially convenient – behaviour can be undesirable for most of us. For example a bug in Razer’s Synapse software allowed standard users to gain admin access to the machines.

At BoucheCousue, we offer managed services to our customers and our therefore looking to reduce any surface of attack on the machines being used by end users.

How to block CoInstallers?

You can manually edit your registry by adding or changing a key in

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDevice Installer 

Modify or create the value DisableCoInstallers as a DWORD-32 with a value of 1

Source: BleepingComputer

How to block CoInstallers using Intune Remediations

For Intune, you can use Remediation Scripts to change registry settings automatically.

Here is the detection script to upload:

## DetectCoInstallers - BoucheCousue
## Detection script for Intune Remediation

# Parameters
$regkey="HKLM:SOFTWAREMicrosoftWindowsCurrentVersionDevice Installer"
$name="DisableCoInstallers"
$value=1

# Registry Detection Template
If (!(Test-Path $regkey))
{
Write-Output 'RegKey not available - remediate'
Exit 1
}

$check=(Get-ItemProperty -path $regkey -name $name -ErrorAction SilentlyContinue).$name
if ($check -eq $value){
write-output 'setting ok - no remediation required'
Exit 0
} Else {
write-output 'value not ok, no value or could not read - go and remediate'
Exit 1
}

And the remediation one:

## DetectCoInstallers - BoucheCousue
## Remediation script for Intune Remediation

# Parameters
$regkey="HKLM:SOFTWAREMicrosoftWindowsCurrentVersionDevice Installer"
$name="DisableCoInstallers"
$value=1

#Registry Template
If (!(Test-Path $regkey))
{
New-Item -Path $regkey -ErrorAction stop
}

if (!(Get-ItemProperty -Path $regkey -Name $name -ErrorAction SilentlyContinue))
{
New-ItemProperty -Path $regkey -Name $name -Value $value -PropertyType DWORD -ErrorAction stop
write-output "remediation complete"
exit 0
}

set-ItemProperty -Path $regkey -Name $name -Value $value -ErrorAction stop
write-output "remediation complete"
exit 0

Base script by MikeMDM, customized for the needs of this registry key.

Thanks: Big up to Mattias Melkersen for bringing up this topic on X and to Nathan McNulty for sharing the fix that Will Dormann offered.

Categories
IT

Deploying the Slack token on macOS with JAMF

Slack has a Windows/macOS compatible feature that allows the use of a file called Signin.slacktoken helping the users be redirected to the right workspace to sign in.

Categories
Informatique IT

Indexing Google Drive in Spotlight for Mac OS

If you use Google Drive on Mac OS (formerly named Drive File Stream), you might be having a hard time finding documents and folders in Spotlight. It is quite an easy problem to solve.

Categories
Informatique IT

Update script for PCEngines APU2 from PFSense

You want to update the BIOS of a PCEngines APU2 box from Pfsense? It is rather easy.

Categories
Divers

UniFi Controller showing “Server Reject” error

Your UniFi Controller is being stubborn and refuses to adopt an access point from Ubiquiti or a switch ? Or doesnt even display it?

You have of course checked the logs and ran the “info” command on the end device and you’re getting either Server Reject or Pending Adoption?