Categories:
  🠪  General

Email
  🠪  Servers
  🠪  Testing
  🠪  Tips

Hardware
  🠪  3D Printing
  🠪  Apple
  🠪  Batteries
  🠪  Drives
  🠪  Edgerouter
  🠪  Electronics
  🠪  Laptop
  🠪  Modems
  🠪  Phone
  🠪  Printers
  🠪  Raspberry Pi
  🠪  Tablets
  🠪  Testing
  🠪  Virtualization

hidden
  🠪  General

Links
  🠪  Interesting
  🠪  Media

Network
  🠪  Data
  🠪  Testing
  🠪  VPN

Scripts
  🠪  Batch
  🠪  Linux
  🠪  Powershell

Servers
  🠪  Databases
  🠪  Misc
  🠪  Website

Software
  🠪  Other

Utilities
  🠪  Backup
  🠪  Fix Issues
  🠪  Recovery

Video
  🠪  Editing

Websites
  🠪  HTML
  🠪  Testing

Windows
  🠪  Adjustments
  🠪  Issues
  🠪  Remote Desktop
  🠪  Security
  🠪  Slow
  🠪  Software
  🠪  Startup

Submit Entry
Airin's Notes

Category: Windows 🠪 Adjustments
Windows Recovery - Enable and Disable
January 12, 2024

Check if Windows RE is enabled or not:
reagentc /info

Disable:
reagentc /disable

Enable:
reagentc /enable


Recreate Windows RE Partition and make it a bit larger:
https://www.ghacks.net/2024/01/10/fix-0x80070643-error-install-failure-when-trying-to-install-windows-update/
Run diskpart.
Run list disk to get a list of all hard disks connected to the computer.
To select the operating system disk, run the command sel disk . Replace >OS disk index" with the harddisk value.
List all partitions by running list part. Check for the primary partition there. It is usually the largest.
Select the (primary) operating system partition with the command sel part .
Run shrink desired=250 minimum=250. This shrinks the operating system partition by 250 MB.
Run sel part to select the recovery partition. Use the partition number that you got when you ran the first command at the top.
Delete the partition by running delete partition override.
Type list disk again and check if there is an asterisk character (*) in the GPT column of the drive.
If the disk with Windows on it is GPT, run the following commands:
create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes =0x8000000000000001
If the disk is MBR, run the following command:
create partition primary id=27
To format the partition, run the command format quick fs=ntfs label="Windows RE tools".
Run the command list vol to verify that the Recovery Partition is available again.
Type exit to exit diskpart.
Run reagentc /enable to enable the recovery environment again.
Make sure that this is the case by running reagentc /info.



Keywords: Windows PE





This site is meant to be used as a reference for myself, although others may find it useful. I use it to keep track of certain fixes, software, and other solutions which I may need while assisting customers. The page layout is pure HTML/CSS and is kept simple to optimize loading time and fast results.

Return to Airin's Computers