The message "some of these settings are hidden or managed by your organization" is most likely not caused by a virus, but rather by Windows detecting that it was previously activated with an organizational license - probably the school's volume license key that the previous owner used.
When Windows is activated with an educational or enterprise license, it can leave behind certain group policy settings and management configurations even after a clean reinstall. This happens because:
-
Windows activation is tied to the motherboard - If the laptop was previously activated with the school's volume license, Windows may still recognize it as an "organizational" device even after reinstalling.
-
Residual policies in the firmware - Some organizational settings can persist in the UEFI/BIOS or TPM chip.
To fix this, you can try:
-
Check your current activation status: Go to Settings > Update & Security > Activation to see what type of license is currently active.
-
Remove organizational policies:
- Open Command Prompt as administrator
- Run:
dsregcmd /leave (this removes Azure AD join if present)
- Check if any work/school accounts are connected under Settings > Accounts > Access work or school
-
Use your OEM key: If you have the original OEM product key (usually on a sticker on the laptop), you can try activating Windows with that instead by going to Settings > Update & Security > Activation > Change product key.
-
Reset Windows policies: You might need to reset group policies by running gpupdate /force in an elevated command prompt.
If these steps don't resolve it, the laptop may need a more thorough cleanup of its activation status, but this should address most cases of organizational management remnants.