Run this procedure for each database except master and tempdb. You can't revoke the guest permissions in both these databases.
SELECT dpr.name, dpr.type_desc, dpe.permission_name, dpe.state_desc
FROM sys.database_principals dpr LEFT JOIN sys.database_permissions dpe
ON grantee_principal_id = principal_id
WHERE name = 'guest'