{"id":14908,"date":"2025-10-29T00:21:37","date_gmt":"2025-10-29T06:21:37","guid":{"rendered":"https:\/\/www.supportpro.com\/blog\/?p=14908"},"modified":"2025-10-29T00:23:12","modified_gmt":"2025-10-29T06:23:12","slug":"how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/","title":{"rendered":"How to Restore Safe Files Flagged by CPGuard (False Positives Fix)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If you\u2019ve been running CPGuard for a while, you\u2019ve probably seen it happen that a clean file gets flagged as \u201cinfected.\u201d<br>Don\u2019t panic. It doesn\u2019t mean your site\u2019s hacked. It\u2019s just a <strong>false positive<\/strong>, and even the best malware scanners do that sometimes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The good news? CPGuard gives you full control through its <strong>command-line tool<\/strong>, so you can check what got caught, verify it\u2019s clean, and bring it back in just a few commands.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s how I usually handle it when it happens on a client\u2019s server.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1: Check What Got Quarantined<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When CPGuard thinks a file is risky, it doesn\u2019t delete it right away \u2014 it moves it into a quarantine folder for safety.<br>To see what\u2019s sitting there, run:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cpguard &#8211;list-quarantine<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You\u2019ll get a list of files that CPGuard has isolated, along with the reason it was flagged and the date.<br>Scroll through the list and note the filename that looks suspicious or one you\u2019re sure should be safe.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>(If you manage multiple sites on the same server, this command helps you spot what\u2019s been flagged where.)<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Make Sure the File\u2019s Actually Clean<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Don\u2019t restore the file right away. Take a minute to check it. Sometimes a real infection hides behind something that looks familiar.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s what I usually do:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.supportpro.com\/freecheckup.php\" title=\"\">Scan <\/a>the file using another antivirus or malware tool.<\/li>\n\n\n\n<li>Upload it to some<a href=\"https:\/\/www.supportpro.com\/freecheckup.php\" title=\"\"> malware scanner <\/a>for a second opinion.<\/li>\n\n\n\n<li>Look at its location. If it\u2019s part of the CMS or plugin folder and know it hasn\u2019t changed recently, it\u2019s probably safe.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If everything looks clean and consistent, move on to restoring it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3: Restore the File<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once you\u2019re sure it\u2019s safe, use this command to restore it:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cpguard &#8211;restore &lt;filename&gt;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cpguard &#8211;restore index.php<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This command pulls your file out of quarantine and puts it back in the same spot where it was before. It usually works instantly. You can double-check with the ls command to make sure it\u2019s back in place.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 4: Run a Quick Scan Afterward<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After restoring, it\u2019s smart to run a fresh scan \u2014 just to be sure CPGuard doesn\u2019t catch it again or something else isn\u2019t lurking nearby.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cpguard &#8211;scan now<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your restored file doesn\u2019t show up in the results this time, you\u2019re good to go. It\u2019s always better to confirm than assume.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Plus, if you\u2019re certain it was a false alarm, it\u2019s worth reporting it to the <strong>CPGuard support team<\/strong>.<br>Send them the log entry or even the file sample. They\u2019ll review it and, if needed, adjust their detection rules so it doesn\u2019t trigger again.<br>It helps everyone using CPGuard in the long run.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Quick Reference Table<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><div class=\"pcrstb-wrap\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Task<\/strong><\/td><td><strong>Command<\/strong><\/td><\/tr><tr><td>List quarantined files<\/td><td>cpguard &#8211;list-quarantine<\/td><\/tr><tr><td>Restore a file<\/td><td>cpguard &#8211;restore &lt;filename&gt;<\/td><\/tr><tr><td>Add an exclusion path<\/td><td>cpguard &#8211;exclude add &lt;path&gt;<\/td><\/tr><tr><td>List all exclusions<\/td><td>cpguard &#8211;exclude list<\/td><\/tr><tr><td>Run a scan<\/td><td>cpguard &#8211;scan now<\/td><\/tr><\/tbody><\/table><\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Wrapping It Up<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">False positives are annoying, but they\u2019re nothing new. Every <a href=\"https:\/\/www.supportpro.com\/freecheckup.php\" title=\"\">scanner<\/a>, even enterprise-grade ones \u2014 makes a mistake now and then. The key is knowing how to fix it without breaking your site. With CPGuard\u2019s <a href=\"https:\/\/www.supportpro.com\/blog\/how-to-use-cpguard-cli-for-powerful-server-protection\/\" title=\"\">CLI<\/a>, it only takes a few steps: find the quarantined file, double-check it, restore it, and confirm with a quick scan. No downtime, no drama, just back to normal.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you work with <a href=\"https:\/\/www.supportpro.com\/softwareinstallation.php\" title=\"\">multiple servers<\/a> or clients, keep this guide bookmarked. Also, contact the <a href=\"https:\/\/www.supportpro.com\/softwareinstallation.php\" title=\"\">SupportPRO <\/a>for further assistance. You\u2019ll probably need it again sooner or later.<\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile is-vertically-aligned-center has-white-background-color has-background\"><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size wp-block-paragraph\">Facing issues? <\/p>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\">Our technical support<br>engineers can solve it. <\/p>\n\n\n\n<!--HubSpot Call-to-Action Code --><span class=\"hs-cta-wrapper\" id=\"hs-cta-wrapper-3350a795-db50-482f-9911-301930d1b1be\"><span class=\"hs-cta-node hs-cta-3350a795-db50-482f-9911-301930d1b1be\" id=\"hs-cta-3350a795-db50-482f-9911-301930d1b1be\"><!--[if lte IE 8]><div id=\"hs-cta-ie-element\"><\/div><![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/3350a795-db50-482f-9911-301930d1b1be\" ><img decoding=\"async\" class=\"hs-cta-img\" id=\"hs-cta-img-3350a795-db50-482f-9911-301930d1b1be\" style=\"border-width:0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/3350a795-db50-482f-9911-301930d1b1be.png\"  alt=\"Contact Us today!\"\/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '3350a795-db50-482f-9911-301930d1b1be', {\"useNewLoader\":\"true\",\"region\":\"na1\"}); <\/script><\/span><!-- end HubSpot Call-to-Action Code -->\n<\/div><figure class=\"wp-block-media-text__media\"><img fetchpriority=\"high\" decoding=\"async\" width=\"904\" height=\"931\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png\" alt=\"guy server checkup\" class=\"wp-image-12943 size-full\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png 904w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-291x300.png 291w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-768x791.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-585x602.png 585w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019ve been running CPGuard for a while, you\u2019ve probably seen it happen that a clean file gets flagged as \u201cinfected.\u201dDon\u2019t panic. It doesn\u2019t mean your site\u2019s hacked. It\u2019s just&hellip;<\/p>\n","protected":false},"author":4,"featured_media":14909,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[169,316,181,4,332],"tags":[],"class_list":["post-14908","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dedicated-servers","category-security","category-server-checkup","category-server-security","category-troubleshooting"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"If you\u2019ve been running CPGuard for a while, you\u2019ve probably seen it happen that a clean file gets flagged as \u201cinfected.\u201dDon\u2019t panic. It doesn\u2019t mean your site\u2019s hacked. It\u2019s just a false positive, and even the best malware scanners do that sometimes. The good news? CPGuard gives you full control through its command-line tool, so\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"SupportPRO Admin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Server Management Tips | SupportPRO Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Restore Safe Files Flagged by CPGuard (False Positives Fix) | Server Management Tips\" \/>\n\t\t<meta property=\"og:description\" content=\"If you\u2019ve been running CPGuard for a while, you\u2019ve probably seen it happen that a clean file gets flagged as \u201cinfected.\u201dDon\u2019t panic. It doesn\u2019t mean your site\u2019s hacked. It\u2019s just a false positive, and even the best malware scanners do that sometimes. The good news? CPGuard gives you full control through its command-line tool, so\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/10\/Recovering-from-a-False-Positive-Detection-1.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/10\/Recovering-from-a-False-Positive-Detection-1.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-10-29T06:21:37+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-10-29T06:23:12+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Restore Safe Files Flagged by CPGuard (False Positives Fix) | Server Management Tips\" \/>\n\t\t<meta name=\"twitter:description\" content=\"If you\u2019ve been running CPGuard for a while, you\u2019ve probably seen it happen that a clean file gets flagged as \u201cinfected.\u201dDon\u2019t panic. It doesn\u2019t mean your site\u2019s hacked. It\u2019s just a false positive, and even the best malware scanners do that sometimes. The good news? CPGuard gives you full control through its command-line tool, so\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/10\/Recovering-from-a-False-Positive-Detection-1.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\\\/#article\",\"name\":\"How to Restore Safe Files Flagged by CPGuard (False Positives Fix) | Server Management Tips\",\"headline\":\"How to Restore Safe Files Flagged by CPGuard (False Positives Fix)\",\"author\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Recovering-from-a-False-Positive-Detection-1.jpg\",\"width\":1920,\"height\":1080},\"datePublished\":\"2025-10-29T00:21:37-06:00\",\"dateModified\":\"2025-10-29T00:23:12-06:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\\\/#webpage\"},\"articleSection\":\"Dedicated servers, Security, server checkup, Server Security, Troubleshooting\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.supportpro.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/#listItem\",\"name\":\"Server\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/#listItem\",\"position\":2,\"name\":\"Server\",\"item\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/server-security\\\/#listItem\",\"name\":\"Server Security\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/server-security\\\/#listItem\",\"position\":3,\"name\":\"Server Security\",\"item\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/server-security\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\\\/#listItem\",\"name\":\"How to Restore Safe Files Flagged by CPGuard (False Positives Fix)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/#listItem\",\"name\":\"Server\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\\\/#listItem\",\"position\":4,\"name\":\"How to Restore Safe Files Flagged by CPGuard (False Positives Fix)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/server\\\/server-security\\\/#listItem\",\"name\":\"Server Security\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\",\"name\":\"SupportPRO\",\"description\":\"SupportPRO Blog\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/\",\"telephone\":\"+18476076123\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/\",\"name\":\"SupportPRO Admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/13d2f63048d631e03a432375448be5eb7861069df4fef10f0cb1c7b36554c225?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"SupportPRO Admin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\\\/#webpage\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\\\/\",\"name\":\"How to Restore Safe Files Flagged by CPGuard (False Positives Fix) | Server Management Tips\",\"description\":\"If you\\u2019ve been running CPGuard for a while, you\\u2019ve probably seen it happen that a clean file gets flagged as \\u201cinfected.\\u201dDon\\u2019t panic. It doesn\\u2019t mean your site\\u2019s hacked. It\\u2019s just a false positive, and even the best malware scanners do that sometimes. The good news? CPGuard gives you full control through its command-line tool, so\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Recovering-from-a-False-Positive-Detection-1.jpg\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\\\/#mainImage\",\"width\":1920,\"height\":1080},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\\\/#mainImage\"},\"datePublished\":\"2025-10-29T00:21:37-06:00\",\"dateModified\":\"2025-10-29T00:23:12-06:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/\",\"name\":\"Server Management Tips\",\"description\":\"SupportPRO Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>How to Restore Safe Files Flagged by CPGuard (False Positives Fix) | Server Management Tips<\/title>\n\n","aioseo_head_json":{"title":"How to Restore Safe Files Flagged by CPGuard (False Positives Fix) | Server Management Tips","description":"If you\u2019ve been running CPGuard for a while, you\u2019ve probably seen it happen that a clean file gets flagged as \u201cinfected.\u201dDon\u2019t panic. It doesn\u2019t mean your site\u2019s hacked. It\u2019s just a false positive, and even the best malware scanners do that sometimes. The good news? CPGuard gives you full control through its command-line tool, so","canonical_url":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/#article","name":"How to Restore Safe Files Flagged by CPGuard (False Positives Fix) | Server Management Tips","headline":"How to Restore Safe Files Flagged by CPGuard (False Positives Fix)","author":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author"},"publisher":{"@id":"https:\/\/www.supportpro.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/10\/Recovering-from-a-False-Positive-Detection-1.jpg","width":1920,"height":1080},"datePublished":"2025-10-29T00:21:37-06:00","dateModified":"2025-10-29T00:23:12-06:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/#webpage"},"isPartOf":{"@id":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/#webpage"},"articleSection":"Dedicated servers, Security, server checkup, Server Security, Troubleshooting"},{"@type":"BreadcrumbList","@id":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.supportpro.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/server\/#listItem","name":"Server"}},{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/server\/#listItem","position":2,"name":"Server","item":"https:\/\/www.supportpro.com\/blog\/category\/server\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/server\/server-security\/#listItem","name":"Server Security"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/server\/server-security\/#listItem","position":3,"name":"Server Security","item":"https:\/\/www.supportpro.com\/blog\/category\/server\/server-security\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/#listItem","name":"How to Restore Safe Files Flagged by CPGuard (False Positives Fix)"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/server\/#listItem","name":"Server"}},{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/#listItem","position":4,"name":"How to Restore Safe Files Flagged by CPGuard (False Positives Fix)","previousItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/server\/server-security\/#listItem","name":"Server Security"}}]},{"@type":"Organization","@id":"https:\/\/www.supportpro.com\/blog\/#organization","name":"SupportPRO","description":"SupportPRO Blog","url":"https:\/\/www.supportpro.com\/blog\/","telephone":"+18476076123"},{"@type":"Person","@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author","url":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/","name":"SupportPRO Admin","image":{"@type":"ImageObject","@id":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/13d2f63048d631e03a432375448be5eb7861069df4fef10f0cb1c7b36554c225?s=96&d=mm&r=g","width":96,"height":96,"caption":"SupportPRO Admin"}},{"@type":"WebPage","@id":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/#webpage","url":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/","name":"How to Restore Safe Files Flagged by CPGuard (False Positives Fix) | Server Management Tips","description":"If you\u2019ve been running CPGuard for a while, you\u2019ve probably seen it happen that a clean file gets flagged as \u201cinfected.\u201dDon\u2019t panic. It doesn\u2019t mean your site\u2019s hacked. It\u2019s just a false positive, and even the best malware scanners do that sometimes. The good news? CPGuard gives you full control through its command-line tool, so","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.supportpro.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/#breadcrumblist"},"author":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author"},"creator":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/10\/Recovering-from-a-False-Positive-Detection-1.jpg","@id":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/#mainImage","width":1920,"height":1080},"primaryImageOfPage":{"@id":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/#mainImage"},"datePublished":"2025-10-29T00:21:37-06:00","dateModified":"2025-10-29T00:23:12-06:00"},{"@type":"WebSite","@id":"https:\/\/www.supportpro.com\/blog\/#website","url":"https:\/\/www.supportpro.com\/blog\/","name":"Server Management Tips","description":"SupportPRO Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.supportpro.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Server Management Tips | SupportPRO Blog","og:type":"article","og:title":"How to Restore Safe Files Flagged by CPGuard (False Positives Fix) | Server Management Tips","og:description":"If you\u2019ve been running CPGuard for a while, you\u2019ve probably seen it happen that a clean file gets flagged as \u201cinfected.\u201dDon\u2019t panic. It doesn\u2019t mean your site\u2019s hacked. It\u2019s just a false positive, and even the best malware scanners do that sometimes. The good news? CPGuard gives you full control through its command-line tool, so","og:url":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/","og:image":"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/10\/Recovering-from-a-False-Positive-Detection-1.jpg","og:image:secure_url":"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/10\/Recovering-from-a-False-Positive-Detection-1.jpg","og:image:width":1920,"og:image:height":1080,"article:published_time":"2025-10-29T06:21:37+00:00","article:modified_time":"2025-10-29T06:23:12+00:00","twitter:card":"summary","twitter:title":"How to Restore Safe Files Flagged by CPGuard (False Positives Fix) | Server Management Tips","twitter:description":"If you\u2019ve been running CPGuard for a while, you\u2019ve probably seen it happen that a clean file gets flagged as \u201cinfected.\u201dDon\u2019t panic. It doesn\u2019t mean your site\u2019s hacked. It\u2019s just a false positive, and even the best malware scanners do that sometimes. The good news? CPGuard gives you full control through its command-line tool, so","twitter:image":"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/10\/Recovering-from-a-False-Positive-Detection-1.jpg"},"aioseo_meta_data":{"post_id":"14908","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"seo_analyzer_scan_date":"2026-06-17 15:02:39","breadcrumb_settings":null,"limit_modified_date":false,"open_ai":"{\"title\":{\"suggestions\":[],\"usage\":0},\"description\":{\"suggestions\":[],\"usage\":0}}","ai":null,"created":"2025-10-29 06:01:36","updated":"2026-06-17 15:02:39"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.supportpro.com\/blog\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.supportpro.com\/blog\/category\/server\/\" title=\"Server\">Server<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.supportpro.com\/blog\/category\/server\/server-security\/\" title=\"Server Security\">Server Security<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tHow to Restore Safe Files Flagged by CPGuard (False Positives Fix)\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.supportpro.com\/blog"},{"label":"Server","link":"https:\/\/www.supportpro.com\/blog\/category\/server\/"},{"label":"Server Security","link":"https:\/\/www.supportpro.com\/blog\/category\/server\/server-security\/"},{"label":"How to Restore Safe Files Flagged by CPGuard (False Positives Fix)","link":"https:\/\/www.supportpro.com\/blog\/how-to-restore-safe-files-flagged-by-cpguard-false-positives-fix\/"}],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/14908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=14908"}],"version-history":[{"count":1,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/14908\/revisions"}],"predecessor-version":[{"id":14910,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/14908\/revisions\/14910"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media\/14909"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=14908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=14908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=14908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}