Hello Yfke Prins,
When you remove a device from Azure AD and Intune, the old Windows Update policies often get stuck in your local registry. Before making changes, please check your current management status by running dsregcmd /status to ensure no active system policies will immediately reapply the restrictions. After confirming the device is completely unmanaged, please back up your registry and open PowerShell as an administrator to clear the stuck policies.
You can test the command safely by adding the -WhatIf parameter first, and then run Remove-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" -Recurse -Force to fully delete the old Intune settings. Finally, run Restart-Service -Name wuauserv -Force to restart the Windows Update service, which will force the Settings app to remove the organizational lock. If this successfully restores your local administrative control, please click "Antwoord accepteren".
Tracy Le.