Created on
12-27-2023
08:50 AM
Edited on
01-13-2026
10:26 PM
By
Jean-Philippe_P
| Description | This article describes how to fix an issue where, when trying to change the central management type from FortiManager to FortiGuard or none, administrators may run into an error that prevents them with the error 'Please unregister-device from FortiManager first. -582'. |
| Scope | FortiOS, FortiGate, FortiManager. |
| Solution |
config system central-management Please unregister-device from FortiManager first.
execute central-mgmt unregister-device <FortiManager serial number>
To unregister the FortiGate from FortiCloud Manager when there is an FQDN instead of a serial number, use the following command.
execute central-mgmt unregister-device fortigatecloud.fortinet.com
config system central-management |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2026 Fortinet, Inc. All Rights Reserved.