{"id":28447,"date":"2022-09-18T18:54:09","date_gmt":"2022-09-18T13:24:09","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=28447"},"modified":"2022-09-21T23:49:18","modified_gmt":"2022-09-21T18:19:18","slug":"why-d-drive-included-system-image-backup","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/why-d-drive-included-system-image-backup\/","title":{"rendered":"Why is my D drive included in System Image Backup"},"content":{"rendered":"<p>When you create a system image using the classic &#8220;Backup and Restore (Windows 7)&#8221; tool on a computer running Windows 7, 8, 10, or 11, your non-system drive may be incorrectly shown as &#8220;System.&#8221; Also, the non-system drive may be mandatorily included in the backup, along with the EFI\/<a href=\"https:\/\/www.winhelponline.com\/blog\/what-is-system-reserved-partition-in-disk-management\/\">System Reserved<\/a> Partition and the OS partition.<!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28452\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/09\/system-image-backup-nonsystem-drive-1.png\" alt=\"system image - secondary drive included in backup\" width=\"628\" height=\"585\" \/><\/p>\n<p>This issue happens despite no OS or pagefile on the secondary drive.<\/p>\n<h2>Cause<\/h2>\n<p>This issue occurs if a service is running from your secondary drive; for instance, a service whose <code>ImagePath<\/code> registry value is pointing to an executable on your secondary drive. This causes the Windows Backup tool to incorrectly classify the secondary drive as a &#8220;System&#8221; drive.<\/p>\n<p>Running the following command from a PowerShell admin window shows the list of services and the corresponding ImagePath values.<\/p>\n<pre data-prewrap=\"true\">Get-WmiObject win32_service | FL -Property Name, DisplayName, PathName,State | clip<\/pre>\n<p>The PowerShell command&#8217;s output is copied to the clipboard. Open Notepad and paste the data from the clipboard. You may see something like this:<\/p>\n<pre data-prewrap=\"true\">Name : TeamViewer\r\nDisplayName : TeamViewer\r\nPathName : \"D:\\Program Files\\TeamViewer\\TeamViewer_Service.exe\"\r\nState : Stopped<\/pre>\n<p>As you see, a service is configured to run from <code>D:\\<\/code> drive. In this example, it&#8217;s the <code>TeamViewer<\/code> service.<\/p>\n<p>Alternatively, you can run the following WMIC command to get the list of services and the path names:<\/p>\n<pre>wmic.exe service get Name, Caption, PathName \/format:list<\/pre>\n<p>Or to query only services whose <code>ImagePath<\/code> value points to a file on the <code>D:\\<\/code> drive, run this command:<\/p>\n<pre>wmic.exe service where \"PathName like '%D:%'\" get Name, Caption, PathName \/format:list<\/pre>\n<h2>Solution<\/h2>\n<p>To resolve the issue, you have two options. The first option is to temporarily change the ImagePath of the service to the system drive letter. The second option is to remove the service and reinstall\/reconfigure the respective app in the system drive.<\/p>\n<p><em>[A quick workaround for the issue is to remove the drive letter for your secondary drive via the Disk Management console (<code>diskmgmt.msc<\/code>), restarting the <code>wbengine<\/code> service and performing a system image backup. After the image backup completes, you can reassign the drive letter to your secondary drive. But, there are more elegant methods.]<\/em><\/p>\n<p><em>(For illustration, let&#8217;s assume the offending service is <strong>TeamViewer<\/strong>.)<\/em><\/p>\n<h3>Method 1: Change the Service&#8217;s ImagePath value Temporarily<\/h3>\n<ol>\n<li>Start the Registry Editor (<code>regedit.exe<\/code>)<\/li>\n<li>Go to the service registry key below:\n<pre>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\TeamViewer<\/pre>\n<\/li>\n<li>Double-click the &#8220;<code>ImagePath<\/code>&#8221; value and change the data from:\n<pre>\"D:\\Program Files\\TeamViewer\\TeamViewer_Service.exe\"<\/pre>\n<p>to<\/p>\n<pre>\"C:\\Program Files\\TeamViewer\\TeamViewer_Service.exe\"<\/pre>\n<\/li>\n<li>Launch the Services console by running <code>services.msc<\/code><\/li>\n<li>Right-click &#8220;Block Level Backup Engine Service&#8221; (<code>wbengine<\/code>) and click Restart.\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28448\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/09\/system-image-backup-non-system-drive-3.png\" alt=\"system image - secondary drive included in backup\" width=\"665\" height=\"327\" \/><\/li>\n<li>Now, relaunch the &#8220;Create a system image&#8221; window. It should no longer show your secondary drive\/partition\/data drive as &#8220;(System)&#8221;.\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28451\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/09\/system-image-backup-nonsystem-drive-2.png\" alt=\"system image - secondary drive included in backup\" width=\"628\" height=\"585\" \/><\/li>\n<li>Complete the system image backup and revert the <code>ImagePath<\/code> registry value to the following:\n<pre>\"D:\\Program Files\\TeamViewer\\TeamViewer_Service.exe\"<\/pre>\n<\/li>\n<li>Exit the Registry Editor and Services console.<\/li>\n<\/ol>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/restore-system-image-backup-windows-11\/\">How to Restore System Image Backup in Windows 10 or 11<\/a><\/div>\n<hr \/>\n<h3>Method 2: Remove the service<\/h3>\n<p>If you&#8217;re looking for a permanent fix, you need to uninstall the program\/service, reinstall it on the system drive and reconfigure it.<\/p>\n<p>For example, you can uninstall TeamViewer via Apps &amp; Features or Programs and Features.<\/p>\n<p>Optionally, you can run the following command from an <a href=\"https:\/\/www.winhelponline.com\/blog\/open-elevated-command-prompt-windows\/\">Admin Command Prompt<\/a> to delete the TeamViewer service.<\/p>\n<pre>sc.exe delete TeamViewer<\/pre>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/how-to-remove-unwanted-service\/\">How to Delete a Windows Service in Windows 10\/11 and Earlier<\/a><\/div>\n<p>If you need to use TeamViewer as a service (which is optional) instead of a standalone\/portable app:<\/p>\n<ol>\n<li>Reinstall the program on the system drive.<\/li>\n<li>Launch the Services console by running <code>services.msc<\/code><\/li>\n<li>Right-click &#8220;Block Level Backup Engine Service&#8221; (<code>wbengine<\/code>) and click Restart.<\/li>\n<li>Now, relaunch the &#8220;Create a system image&#8221; window.<\/li>\n<\/ol>\n<p><em>I hope that helps. Let&#8217;s know.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you create a system image using the classic &#8220;Backup and Restore (Windows 7)&#8221; tool on a computer running Windows 7, 8, 10, or 11, your non-system drive may be incorrectly shown as &#8220;System.&#8221; Also, the non-system drive may be mandatorily included in the backup, along with the EFI\/System Reserved Partition and the OS partition.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[7],"tags":[396,441,490,949],"class_list":["post-28447","post","type-post","status-publish","format-standard","hentry","category-windows","tag-powershell","tag-registry","tag-services","tag-windows-backup"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":27828,"url":"https:\/\/www.winhelponline.com\/blog\/restore-system-image-backup-windows-11\/","url_meta":{"origin":28447,"position":0},"title":"How to Restore System Image Backup in Windows 10 or 11","author":"Ramesh","date":"August 31, 2022","format":false,"excerpt":"The native Backup and Restore tool in Windows 10 and 11, also known as \"Windows 7 Backup and Restore Tool,\" lets you backup your files and create a system image of your current Windows installation. You can access the tool from the classic Control Panel. The system image backup is\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"system image recovery in windows 11 or 10 - screenshots - windows re","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/08\/win-re-system-image-options-9.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/08\/win-re-system-image-options-9.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/08\/win-re-system-image-options-9.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/08\/win-re-system-image-options-9.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":80550,"url":"https:\/\/www.winhelponline.com\/blog\/backup-the-efi-system-partition\/","url_meta":{"origin":28447,"position":1},"title":"How to Backup the EFI System Partition","author":"Ramesh","date":"March 23, 2026","format":false,"excerpt":"The EFI partition contains the boot files and the boot configuration database (BCD). Some OEMs also store the BIOS image backups and additional tools in the EFI partition. This post explains how to back up the files in the EFI partition. Backup the EFI System Partition The EFI partition has\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6425,"url":"https:\/\/www.winhelponline.com\/blog\/windows-backup-failed-exclusive-lock-efi-partition-avast\/","url_meta":{"origin":28447,"position":2},"title":"[Fix] &#8220;Windows Backup Failed to Get an Exclusive Lock on the EFI System Partition&#8221; Error","author":"Ramesh","date":"August 6, 2018","format":false,"excerpt":"When you try to create a system image using Windows Backup on your computer, the following error occurs and backup procedure stalls. Windows Backup failed to get an exclusive lock on the EFI system partition (ESP). This may happen if another application is using files on the ESP. Please retry\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"0x8078011E avast efi system partition lock windows backup","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/08\/efi-lock-0x8078011E.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/08\/efi-lock-0x8078011E.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/08\/efi-lock-0x8078011E.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":17951,"url":"https:\/\/www.winhelponline.com\/blog\/problem-occurred-creating-recovery-drive\/","url_meta":{"origin":28447,"position":3},"title":"[Fix] A problem occurred while creating the recovery drive","author":"Ramesh","date":"August 18, 2020","format":false,"excerpt":"Earlier, we saw how to fix the Some required files are missing error when attempting to create a USB Recovery Drive in Windows 10. The steps involved copying the Windows Recovery Environment image Winre.wim from the Windows 10 source (DVD\/ISO) and also fixing the recovery partition. The following is a\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"problem occurred creating recovery drive usb in windows 10 vssadmin list providers","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/vss-list-providers.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/vss-list-providers.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/vss-list-providers.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":75826,"url":"https:\/\/www.winhelponline.com\/blog\/system-image-backup-0x80780119-error\/","url_meta":{"origin":28447,"position":4},"title":"Fix: System Image Backup Error 0x80780119","author":"Ramesh","date":"July 4, 2024","format":false,"excerpt":"When you create a system image using the built-in System Image Backup tool in Windows 10 or 11, the error code 0x80780119 may appear. The backup failed. There is not enough disk space to create the volume shadow copy on the storage location. Make sure that, for all volumes to\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"delete font files in EFI partition - error 0x80780119 during system image backup","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/del-ttf-efi-partition.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/del-ttf-efi-partition.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/del-ttf-efi-partition.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/del-ttf-efi-partition.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":10522,"url":"https:\/\/www.winhelponline.com\/blog\/cannot-delete-windowsapps-folder-on-non-system-drives\/","url_meta":{"origin":28447,"position":5},"title":"[Fix] Cannot Delete WindowsApps folder on Non-System Drives","author":"Ramesh","date":"July 30, 2019","format":false,"excerpt":"If you have changed the default app save location to an external hard drive or secondary drive, Windows will create three folders, namely, WpSystem, WindowsApps, and WUDownloadCache on the target drive. You may later change your mind and revert the default save location to C:. But you may be unable\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"windowsapps external drive","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/windowsapps-external-drive-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/28447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=28447"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/28447\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=28447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=28447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=28447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}