Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Показать сообщение отдельно

Аватара для Storvil

Новый участник


Сообщения: 37
Благодарности: 0

Профиль | Отправить PM | Цитировать


Цитата Vadikan:
Весь вывод текстом и оба лога файлами сюда. »
Код: Выделить весь код
PS C:\WINDOWS\system32> reagentc /disable
REAGENTC.EXE: среда восстановления Windows уже отключена.

PS C:\WINDOWS\system32> diskpart

Microsoft DiskPart, версия 10.0.19041.3636

(C) Корпорация Майкрософт (Microsoft Corporation).
На компьютере: DESKTOP

DISKPART> sel dis 0

Выбран диск 0.

DISKPART> sel par 4

Выбран раздел 4.

DISKPART> delete partition

DiskPart: выбранный раздел успешно удален.

DISKPART> create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac

DiskPart: указанный раздел успешно создан.

DISKPART> gpt attributes =0x4000000000000001

DiskPart успешно назначил атрибуты для выбранного раздела GPT.

DISKPART> format quick fs=ntfs label="Windows RE"

  Завершено (в процентах): 100

Программа DiskPart успешно отформатировала том.

DISKPART> lis vol

  Том    ###  Имя  Метка        ФС     Тип         Размер   Состояние  Сведения
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
     Том 0         System Rese  NTFS   Раздел        16 Mб  Исправен
     Том 1     C   System       NTFS   Раздел       464 Gб  Исправен   Загрузоч
     Том 2                      FAT32  Раздел       100 Mб  Исправен   Системны
*    Том 3         Windows RE   NTFS   Раздел      1024 Mб  Исправен   Скрытый
     Том 4     D   Data         NTFS   Раздел       931 Gб  Исправен   Файл под
     Том 5         ACRONIS SZ   FAT32  Раздел       465 Gб  Исправен

DISKPART> exit

Завершение работы DiskPart...
PS C:\WINDOWS\system32> reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE /logpath %temp%\reagent-set.log
REAGENTC.EXE: указанный путь не найден.

PS C:\WINDOWS\system32> reagentc /enable /logpath %temp%\reagent-enable.log
REAGENTC.EXE: образ среды восстановления Windows не найден.

PS C:\WINDOWS\system32> reagentc /info
Информация о конфигурации среды восстановления Windows и
сброса системы:

    Состояние среды восстановления Windows:         Disabled
    Расположение среды восстановления Windows:
    Идентификатор данных конфигурации загрузки: 00000000-0000-0000-0000-000000000000
    Расположение образа для восстановления:
    Индекс образа для восстановления:      0
    Расположение пользовательского образа:
    Индекс пользовательского образа:          0

REAGENTC.EXE: операция выполнена успешно.
reagent-set.log
2024-03-30 18:43:59, Info [ReAgentc.exe] ------------------------------------------------------
2024-03-30 18:43:59, Info [ReAgentc.exe] -----Executing command line: "C:\Windows\system32\ReAgentc.exe" /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE /logpath %temp%\reagent-set.log-----
2024-03-30 18:43:59, Info [ReAgentc.exe] ------------------------------------------------------
2024-03-30 18:43:59, Info [ReAgentc.exe] Enter WinReSetConfig
2024-03-30 18:43:59, Info [ReAgentc.exe] Parameters: configWinDir: NULL
2024-03-30 18:43:59, Info [ReAgentc.exe] Update enhanced config info is enabled.
2024-03-30 18:43:59, Warning [ReAgentc.exe] Failed to get recovery entries: 0xc0000225
2024-03-30 18:43:59, Info [ReAgentc.exe] winreGetWinReGuid returning 0X490
2024-03-30 18:43:59, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x490)
2024-03-30 18:43:59, Error [ReAgentc.exe] winreConvertDirNameToOffset failed: 0x3
2024-03-30 18:43:59, Info [ReAgentc.exe] Exit WinReSetConfig return value: 0, last error: 0x3
2024-03-30 18:43:59, Error [ReAgentc.exe] WinReSetConfig failed: : 0x3
2024-03-30 18:43:59, Info [ReAgentc.exe] ------------------------------------------------------
2024-03-30 18:43:59, Info [ReAgentc.exe] -----Exiting command line: "C:\Windows\system32\ReAgentc.exe" /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE /logpath %temp%\reagent-set.log, Error: 3-----
2024-03-30 18:43:59, Info [ReAgentc.exe] ------------------------------------------------------

reagent-enable.log
2024-03-30 18:46:55, Info [ReAgentc.exe] ------------------------------------------------------
2024-03-30 18:46:55, Info [ReAgentc.exe] -----Executing command line: "C:\Windows\system32\ReAgentc.exe" /enable /logpath %temp%\reagent-enable.log-----
2024-03-30 18:46:55, Info [ReAgentc.exe] ------------------------------------------------------
2024-03-30 18:46:55, Info [ReAgentc.exe] Enter WinRECheckGuid
2024-03-30 18:46:55, Info [ReAgentc.exe] Parameter: TargetOsGuid: : NULL
2024-03-30 18:46:55, Info [ReAgentc.exe] Exit WinRECheckGuid return error code: 0x0
2024-03-30 18:46:55, Info [ReAgentc.exe] Enter WinReInstall
2024-03-30 18:46:55, Info [ReAgentc.exe] Parameter: ReInstallBecauseOfBitlocker: 0
2024-03-30 18:46:55, Info [ReAgentc.exe] --Install on target OS step 1: collect info like partition list, loading reagent.xml, source winre.wim and partition
2024-03-30 18:46:55, Info [ReAgentc.exe] Enumerate and log all fixed partitions:
2024-03-30 18:46:55, Info [ReAgentc.exe] --Partition info--
2024-03-30 18:46:55, Info [ReAgentc.exe] VolumeName: \\?\Volume{9d60d966-3811-4f18-a1dd-2a812f1df6bf}, PartitionName: \\?\GLOBALROOT\device\harddisk0\partition1
2024-03-30 18:46:55, Info [ReAgentc.exe] Partition number: 1, offset: 1048576, free space: 76137472, total space: 104028160
2024-03-30 18:46:55, Info [ReAgentc.exe] DiskNumber:0, DiskSignature:0, NTFS:0, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
2024-03-30 18:46:55, Info [ReAgentc.exe] GPT partition GUID:: {C12A7328-F81F-11D2-BA4B-00A0C93EC93B}
2024-03-30 18:46:55, Info [ReAgentc.exe] DiskId: {986B5DFC-EE61-11EE-A736-0AE0AFE805B9}
2024-03-30 18:46:55, Info [ReAgentc.exe] --Partition info--
2024-03-30 18:46:55, Info [ReAgentc.exe] VolumeName: \\?\Volume{7b034aaa-45dd-9192-8d9d-95a63823ada5}, PartitionName: \\?\GLOBALROOT\device\harddisk2\partition1
2024-03-30 18:46:55, Info [ReAgentc.exe] Partition number: 1, offset: 2097152, free space: 85104361472, total space: 499983646720
2024-03-30 18:46:55, Info [ReAgentc.exe] DiskNumber:2, DiskSignature:0, NTFS:0, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
2024-03-30 18:46:55, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
2024-03-30 18:46:55, Info [ReAgentc.exe] DiskId: {7F526096-3C1E-2D9F-8FB5-0C9D57558C49}
2024-03-30 18:46:55, Info [ReAgentc.exe] --Partition info--
2024-03-30 18:46:55, Info [ReAgentc.exe] VolumeName: \\?\Volume{7e1a5c99-9369-bec8-0fb1-79c9d2f73c03}, PartitionName: \\?\GLOBALROOT\device\harddisk1\partition1
2024-03-30 18:46:55, Info [ReAgentc.exe] Partition number: 1, offset: 1048576, free space: 212641914880, total space: 1000203087872
2024-03-30 18:46:55, Info [ReAgentc.exe] DiskNumber:1, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
2024-03-30 18:46:55, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
2024-03-30 18:46:55, Info [ReAgentc.exe] DiskId: {83A17583-345F-C9AD-92CE-849576876BEC}
2024-03-30 18:46:55, Info [ReAgentc.exe] --Partition info--
2024-03-30 18:46:55, Info [ReAgentc.exe] VolumeName: \\?\Volume{986b5df9-ee61-11ee-a736-0ae0afe805b9}, PartitionName: \\?\GLOBALROOT\device\harddisk0\partition3
2024-03-30 18:46:55, Info [ReAgentc.exe] Partition number: 3, offset: 122683392, free space: 168857178112, total space: 498911408128
2024-03-30 18:46:55, Info [ReAgentc.exe] DiskNumber:0, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:1, BitlockerEnabled:0
2024-03-30 18:46:55, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
2024-03-30 18:46:55, Info [ReAgentc.exe] DiskId: {986B5DFC-EE61-11EE-A736-0AE0AFE805B9}
2024-03-30 18:46:55, Info [ReAgentc.exe] --Partition info--
2024-03-30 18:46:55, Info [ReAgentc.exe] VolumeName: \\?\Volume{690da6a4-87aa-4eec-972c-aa8b7e23fd78}, PartitionName: \\?\GLOBALROOT\device\harddisk0\partition2
2024-03-30 18:46:55, Info [ReAgentc.exe] Partition number: 2, offset: 105906176, free space: 6491136, total space: 16776704
2024-03-30 18:46:55, Info [ReAgentc.exe] DiskNumber:0, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
2024-03-30 18:46:55, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
2024-03-30 18:46:55, Info [ReAgentc.exe] DiskId: {986B5DFC-EE61-11EE-A736-0AE0AFE805B9}
2024-03-30 18:46:55, Info [ReAgentc.exe] Get downlevel ReAgent config
2024-03-30 18:46:55, Info [ReAgentc.exe] Downlevel config file path: \Recovery\ReAgentOld.xml
2024-03-30 18:46:55, Info [ReAgentc.exe] Checking for downlevel WinRE installation.
2024-03-30 18:46:55, Warning [ReAgentc.exe] read xml file (\Recovery\ReAgentOld.xml) failed: 0x3
2024-03-30 18:46:55, Warning [ReAgentc.exe] ReAgentXMLParser::ParseConfigFile failed to read config xml file (0x3) in file base\diagnosis\srt\reagent2\reinfo\parser_2.0.cpp line 784
2024-03-30 18:46:55, Warning [ReAgentc.exe] ReAgentXMLParser::ParseConfigFile (xml file: \Recovery\ReAgentOld.xml) returning 0x3
2024-03-30 18:46:55, Warning [ReAgentc.exe] ReAgentConfig::ParseConfigFile returned with 0x3
2024-03-30 18:46:55, Warning [ReAgentc.exe] ReAgentConfig::Init failed to init reagent xml parser (0x3) in file base\diagnosis\srt\reagent2\reinfo\parser_2.0.cpp line 1921
2024-03-30 18:46:55, Info [ReAgentc.exe] Ignore the error 3 in function GetDownlevelReAgentConfig
2024-03-30 18:46:55, Info [ReAgentc.exe] First round search
2024-03-30 18:46:55, Info [ReAgentc.exe] Get ReAgent config
2024-03-30 18:46:55, Info [ReAgentc.exe] GetReAgentConfig Config file path: C:\WINDOWS\system32\Recovery\ReAgent.xml
2024-03-30 18:46:55, Info [ReAgentc.exe] CheckRegKey test hook (SystemSetupInProgress) present and disabled
2024-03-30 18:46:55, Info [ReAgentc.exe] Update enhanced config info is enabled.
2024-03-30 18:46:55, Warning [ReAgentc.exe] Failed to get recovery entries: 0xc0000225
2024-03-30 18:46:55, Info [ReAgentc.exe] winreGetWinReGuid returning 0X490
2024-03-30 18:46:55, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x490)
2024-03-30 18:46:55, Info [ReAgentc.exe] FindWinReSourceImageAndPartition No source winre.wim was specified. Checking for a staged winre.wim.
2024-03-30 18:46:55, Info [ReAgentc.exe] FindWinReSourceImageAndPartition Searching for OEM Winre.wim
2024-03-30 18:46:55, Info [ReAgentc.exe] Skipping volume \\?\Volume{690da6a4-87aa-4eec-972c-aa8b7e23fd78}
2024-03-30 18:46:55, Info [ReAgentc.exe] Skipping OS volume
2024-03-30 18:46:55, Info [ReAgentc.exe] Skipping volume \\?\Volume{7e1a5c99-9369-bec8-0fb1-79c9d2f73c03}
2024-03-30 18:46:55, Error [ReAgentc.exe] Winre not found
2024-03-30 18:46:55, Error [ReAgentc.exe] winreFindOemWinRe failed: 0x2
2024-03-30 18:46:55, Error [ReAgentc.exe] FindWinReSourceImageAndPartition Error 0X2 while searching for OEM winre.wim
2024-03-30 18:46:55, Warning [ReAgentc.exe] WinReInstallOnTargetOSInternal failed to find source winre.wim (0x64e) in file base\diagnosis\srt\reagent2\reagent\installex.cpp line 1057
2024-03-30 18:46:55, Info [ReAgentc.exe] Exit WinReInstall return value: 0, last error: 0x64e
2024-03-30 18:46:55, Error [ReAgentc.exe] failed to install winre: : 0x64e
2024-03-30 18:46:55, Info [ReAgentc.exe] ------------------------------------------------------
2024-03-30 18:46:55, Info [ReAgentc.exe] -----Exiting command line: "C:\Windows\system32\ReAgentc.exe" /enable /logpath %temp%\reagent-enable.log, Error: 1614-----
2024-03-30 18:46:55, Info [ReAgentc.exe] ------------------------------------------------------


Цитата Vadikan:
set id=e3c9e316-0b5c-4db8-817d-f92df00215ae »
А gpt attributes какой выставлять?

Попробовал немного по-другому
Код: Выделить весь код
DISKPART> lis par

  Раздел    ###  Тип               Размер   Смещение
  -------------  ----------------  -------  -------
  Раздел 1    Системный          100 Mб  1024 Kб
* Раздел 2    Основной            16 Mб   101 Mб
  Раздел 3    Основной           464 Gб   117 Mб
  Раздел 4    Восстановление    1024 Mб   464 Gб

DISKPART> sel par 4

Выбран раздел 4.

DISKPART> delete partition

Ошибка службы виртуальных дисков:
Не удается удалить защищенный раздел без принудительной установки защищенных параметров.


DISKPART> gpt attributes =0x0000000000000000

DiskPart успешно назначил атрибуты для выбранного раздела GPT.

DISKPART> delete partition

DiskPart: выбранный раздел успешно удален.

DISKPART> create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac

DiskPart: указанный раздел успешно создан.

DISKPART> assign letter=X

DiskPart: назначение имени диска или точки подключения выполнено успешно.

DISKPART> format quick fs=ntfs label="Windows RE"

  Завершено (в процентах): 100

Программа DiskPart успешно отформатировала том.
После чего закинул на диск файл X:\Recovery\WindowsRE\WinRE.wim
Код: Выделить весь код
DISKPART> remove letter=X

DiskPart: удаление имени диска или точки подключения выполнено успешно.

DISKPART> gpt attributes=0x4000000000000001

DiskPart успешно назначил атрибуты для выбранного раздела GPT.

DISKPART> lis vol

  Том    ###  Имя  Метка        ФС     Тип         Размер   Состояние  Сведения
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
     Том 0         System Rese  NTFS   Раздел        16 Mб  Исправен
     Том 1     C   System       NTFS   Раздел       464 Gб  Исправен   Загрузоч
     Том 2                      FAT32  Раздел       100 Mб  Исправен   Системны
*    Том 3         Windows RE   NTFS   Раздел      1024 Mб  Исправен   Скрытый
     Том 4     D   Data         NTFS   Раздел       931 Gб  Исправен   Файл под
     Том 5         ACRONIS SZ   FAT32  Раздел       465 Gб  Исправен

DISKPART> exit

Завершение работы DiskPart...
PS C:\WINDOWS\system32> reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE /logpath %temp%\reagent-set.log
REAGENTC.EXE: образ среды восстановления Windows невозможно хранить на указанном томе. Воспользуйтесь командой RETAIN в DISKPART, чтобы подготовить том, и попробуйте еще раз.

Отправлено: 18:52, 30-03-2024 | #32