{
	"id": "00acd1ab-ad07-4423-a3c0-4f7ee4f03583",
	"created_at": "2026-04-06T00:16:09.198621Z",
	"updated_at": "2026-04-10T03:21:02.687212Z",
	"deleted_at": null,
	"sha1_hash": "3673eea3cc84c40a252e94e7b2675429dce37235",
	"title": "REAgentC command-line options",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 67434,
	"plain_text": "REAgentC command-line options\r\nBy windows-driver-content\r\nArchived: 2026-04-05 14:40:53 UTC\r\nYou can use the REAgentC.exe tool to configure a Windows Recovery Environment (Windows RE) boot image\r\nand a push-button reset recovery image, and to administer recovery options and customizations. REAgentC comes\r\nwith Windows, and you can run the REAgentC command on an offline Windows image or on a running Windows\r\noperating system.\r\nNote\r\nIf you're using Windows PE 2.X, 3.X, or 4.X to configure recovery on an offline installation, you must use the\r\nWinrecfg.exe file from the Recovery folder of the Windows Assessment and Deployment Kit (Windows ADK).\r\nWinrecfg.exe supports only the offline operations that REAgentC.exe supports.\r\nREAgentC syntax\r\nreagentc.exe \u003ccommand\u003e \u003carguments\u003e\r\n/setreimage\r\nSets the location of a Windows RE boot image.\r\nSupports both online and offline operations.\r\n/setreimage syntax\r\n/setreimage /path \u003cpath_to_Windows_RE_image\u003e [/target \u003cpath_to_offline_image\u003e]\r\n/setreimage usage\r\n/path supports UNC paths to locations on the local disk. For example:\r\nReagentc /setreimage /path S:\\Recovery\\WindowsRE`\r\n/target Specifies the location of the Windows image when you apply the setting offline. For example:\r\nReagentc /setreimage /path T:\\Recovery\\WindowsRE /target W:\\Windows\r\nhttps://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/reagentc-command-line-options?view=windows-11\r\nPage 1 of 4\n\n/enable\r\nEnables a custom Windows RE boot image.\r\nThe /enable option runs automatically during the specialize configuration pass. If you don't specify a Windows\r\nRE boot image, the computer attempts to enable Windows RE by using the default Winre.wim file from the\r\n\\Windows\\System32\\Recovery folder.\r\nSupports both online and offline operations.\r\n/enable syntax\r\n/enable [/auditmode] [/osguid \u003cbcd_guid\u003e]\r\n/enable usage\r\n/auditmode : By default, the /enable option doesn't perform any actions when Windows is in audit\r\nmode. To override the default behavior and enable Windows RE from audit mode, specify the /auditmode\r\noption. For example:\r\nReagentc /enable /auditmode\r\nIf you generalize the image after you use the /enable option in audit mode, Windows RE is disabled until\r\nyou use the /enable option again or until after the specialize configuration pass runs.\r\n/osguid {\u003cbcd_guid\u003e} allows you to enable your custom Windows RE boot image from Windows PE. It\r\ncan only be used after bcdboot.exe has been run. \u003cbcd_guid\u003e is the Boot Configuration Data (BCD)\r\nidentifier of the target Windows installation, obtained by running bcdedit -enum -v .\r\nReagentc /enable /osguid {00000000-0000-0000-0000-000000000000}\r\n/disable\r\nDisables any active Windows RE image that is mapped to the online image.\r\nSupports only online operations.\r\n/disable usage\r\nReagentc /disable\r\n/boottore\r\nhttps://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/reagentc-command-line-options?view=windows-11\r\nPage 2 of 4\n\nSpecifies that Windows RE starts automatically the next time the system starts.\r\nSupports only online operations.\r\n/boottore usage\r\nReagentc /boottore\r\n/setosimage\r\nThis setting isn't used in Windows 10 or later\r\nRegisters the location of a push-button reset image in an online or offline image. The recovery image must be in\r\nthe Windows image (.wim) format.\r\nSupports both online and offline operations.\r\n/setosimage syntax\r\n/setosimage /path \u003cpath_to_recovery_image\u003e /index \u003cimage_index\u003e [/target \u003cpath_to_offline_image\u003e]\r\n/setosimage usage\r\nThe /index option specifies the index number of the recovery image to use from within a .wim file. For\r\nexample:\r\nReagentc /setosimage /path R:\\RecoveryImage /index 1\r\nThe /target option specifies the location of the offline Windows image. For example:\r\nReagentc /setosimage /path R:\\RecoveryImage /index 1 /target W:\\Windows\r\n/info\r\nDisplays the current status of Windows RE and any available recovery image on an online or offline image.\r\nSupports both online and offline operations.\r\n/info syntax\r\n/info [/target \u003cpath_to_offline_image\u003e]\r\n/info usage\r\nhttps://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/reagentc-command-line-options?view=windows-11\r\nPage 3 of 4\n\n/info on its own returns the status of the online operating system:\r\nReagentc /info\r\nThe /target option obtains configuration information about an offline image. For example:\r\nReagentc /info /target W:\\Windows\r\n/setbootshelllink\r\nRegisters the link to a custom tool that appears in the Windows Advanced startup menu.\r\nSupports both online and offline operations.\r\n/setbootshelllink syntax\r\n/setbootshelllink [/configfile \u003cpath_to_BootShellXML\u003e] [/target \u003cpath_to_offline_image\u003e]\r\n/setbootshelllink usage\r\nThe BootShellXML file is an.xml file that contains the \u003cBootShell\u003e element and the Name and\r\nDescription attributes that you want to appear in the link. For more information, see Customize\r\nWindows RE:\r\nReagentc /setbootshelllink /configfile F:\\BootMenu\\AddDiagnosticsToolToBootMenu.xml\r\nThe /target option specifies the location of the offline Windows image. If this argument isn't used, the\r\nrunning operating system is used. For example:\r\nReagentc /setbootshelllink /target W:\\Windows\r\nWindows RE Troubleshooting Features\r\nSource: https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/reagentc-command-line-options?view=windows-11\r\nhttps://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/reagentc-command-line-options?view=windows-11\r\nPage 4 of 4",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"references": [
		"https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/reagentc-command-line-options?view=windows-11"
	],
	"report_names": [
		"reagentc-command-line-options?view=windows-11"
	],
	"threat_actors": [],
	"ts_created_at": 1775434569,
	"ts_updated_at": 1775791262,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/3673eea3cc84c40a252e94e7b2675429dce37235.pdf",
		"text": "https://archive.orkl.eu/3673eea3cc84c40a252e94e7b2675429dce37235.txt",
		"img": "https://archive.orkl.eu/3673eea3cc84c40a252e94e7b2675429dce37235.jpg"
	}
}