andybn1
New Member
- Joined
- Jan 6, 2024
- Messages
- 3
- Thread Author
- #1
One day i tried to start my pc and got the blue screen with the code: 0xc00000e and following an tutorial i formated the 100mb boot partition and rebuild it with the command
bcdboot c:\windows /l en-us /s z: /f UEFI
My windows booted fine after that but thinks whare not right. The first thing i've notice was that my sleep and hibernate whare missing from the power dropdown in the start menu and when i tried to check the power options in control panel i saw this error: Your power plan information isn't available.
After this i've tried windows updates and realizes that the updates are failing every time.
Now i'm thinking there's something wrong with the recovery partition and i've run
reagentc /info
output: REAGENTC.EXE: A target Windows installation must be specified.
Wird Next i've tried enabling reagentc
reagentc /enable
output:
Enables the local copy of the Windows Recovery Environment (Windows RE).
This command can be used from the running operating system without additional
parameters, or from the Windows Preinstallation Environment (Windows PE) using
the optional /osguid parameter.
How can i be in Windows Preinstallation Environment? confused i've runned bcdedit
output:
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
locale en-us
inherit {globalsettings}
default {current}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.efi
description Windows PreInstallation Environment
locale en-us
inherit {bootloadersettings}
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \Windows
nx OptOut
winpe Yes
as you can see it reports that my windows installation is in Preinstallation Environment which explains all the problems i'm having.
I've tried rebuilding the BCD store servil times without any change. One thing i need to mention is that when i run the command bootrec /fixboot i get the error: element not found.
I'm tiring to fix this for a mount now and i'm stuck. Any help whit be greatly appreciated
bcdboot c:\windows /l en-us /s z: /f UEFI
My windows booted fine after that but thinks whare not right. The first thing i've notice was that my sleep and hibernate whare missing from the power dropdown in the start menu and when i tried to check the power options in control panel i saw this error: Your power plan information isn't available.
After this i've tried windows updates and realizes that the updates are failing every time.
Now i'm thinking there's something wrong with the recovery partition and i've run
reagentc /info
output: REAGENTC.EXE: A target Windows installation must be specified.
Wird Next i've tried enabling reagentc
reagentc /enable
output:
Enables the local copy of the Windows Recovery Environment (Windows RE).
This command can be used from the running operating system without additional
parameters, or from the Windows Preinstallation Environment (Windows PE) using
the optional /osguid parameter.
How can i be in Windows Preinstallation Environment? confused i've runned bcdedit
output:
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
locale en-us
inherit {globalsettings}
default {current}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.efi
description Windows PreInstallation Environment
locale en-us
inherit {bootloadersettings}
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \Windows
nx OptOut
winpe Yes
as you can see it reports that my windows installation is in Preinstallation Environment which explains all the problems i'm having.
I've tried rebuilding the BCD store servil times without any change. One thing i need to mention is that when i run the command bootrec /fixboot i get the error: element not found.
I'm tiring to fix this for a mount now and i'm stuck. Any help whit be greatly appreciated
- Joined
- Mar 14, 2023
- Messages
- 38,408
It seems like you are encountering several issues with your Windows installation after rebuilding the BCD store. Let's try to address each problem step-by-step:
1. Missing sleep and hibernate options:
This issue might be related to the power plan settings on your system. Try the following steps:
- Open the Control Panel and navigate to "Power Options."
- Click on "Change plan settings" for your currently selected power plan.
- Next, click on "Change advanced power settings."
- Expand the "Sleep" and "Hibernate" options, and make sure they are enabled and set according to your preferences.
- Click "Apply" and then "OK" to save the changes.
Check if the sleep and hibernate options are now available in the power dropdown menu.
2. Windows Update failures:
Rebuilding the BCD store should not directly affect Windows Update. However, let's ensure all required services are running properly:
- Press "Win + R" to open the Run dialog box.
- Type "services.msc" and press Enter to open the Services window.
- Locate and verify the following services are running:
- Windows Update Service
- BITS (Background Intelligent Transfer Service)
- Cryptographic Services
- If any of these services are not running, right-click on the service, select "Properties," set the startup type to "Automatic," and click "Start" to enable it.
- Reboot your computer and then try running Windows Update again.
3. Recovery partition and Windows RE:
It appears that the command "reagentc /info" is not providing the expected output. To check the status of your recovery environment, you can use the following command instead:
- Open Command Prompt as Administrator.
- Enter the command: "reagentc /info /target c:\Windows"
- This will display the information about your recovery environment, specifically for your Windows installation on the C: drive.
- If the information is not available or shows an error, it might indicate an issue with the recovery environment on your system.
4. Windows Preinstallation Environment (WinPE) showing as the current boot loader:
This is likely causing the confusion about why your Windows installation is in the Preinstallation Environment.
- Open Command Prompt as Administrator.
- Enter the command: "bcdedit /default {current}"
- This sets the default boot loader to {current}, which should point to your Windows installation.
- Restart your computer and check if Windows boots properly.
5. "Element not found" error when running "bootrec /fixboot":
This error can occur if the required boot files are missing or corrupted.
- Open Command Prompt as Administrator.
- Run the following commands one by one:
- "bootrec /fixmbr" (this repairs the Master Boot Record)
- "bootrec /fixboot" (this repairs the boot sector)
- "bootrec /rebuildbcd" (this scans for Windows installations and allows you to add them to the boot configuration)
- Restart your computer and check if the issue persists.
If these steps do not resolve your problems, it may be necessary to consider performing a repair installation or a clean installation of Windows 11. Before proceeding with any major changes, ensure that you have a backup of your important files to avoid data loss.
1. Missing sleep and hibernate options:
This issue might be related to the power plan settings on your system. Try the following steps:
- Open the Control Panel and navigate to "Power Options."
- Click on "Change plan settings" for your currently selected power plan.
- Next, click on "Change advanced power settings."
- Expand the "Sleep" and "Hibernate" options, and make sure they are enabled and set according to your preferences.
- Click "Apply" and then "OK" to save the changes.
Check if the sleep and hibernate options are now available in the power dropdown menu.
2. Windows Update failures:
Rebuilding the BCD store should not directly affect Windows Update. However, let's ensure all required services are running properly:
- Press "Win + R" to open the Run dialog box.
- Type "services.msc" and press Enter to open the Services window.
- Locate and verify the following services are running:
- Windows Update Service
- BITS (Background Intelligent Transfer Service)
- Cryptographic Services
- If any of these services are not running, right-click on the service, select "Properties," set the startup type to "Automatic," and click "Start" to enable it.
- Reboot your computer and then try running Windows Update again.
3. Recovery partition and Windows RE:
It appears that the command "reagentc /info" is not providing the expected output. To check the status of your recovery environment, you can use the following command instead:
- Open Command Prompt as Administrator.
- Enter the command: "reagentc /info /target c:\Windows"
- This will display the information about your recovery environment, specifically for your Windows installation on the C: drive.
- If the information is not available or shows an error, it might indicate an issue with the recovery environment on your system.
4. Windows Preinstallation Environment (WinPE) showing as the current boot loader:
This is likely causing the confusion about why your Windows installation is in the Preinstallation Environment.
- Open Command Prompt as Administrator.
- Enter the command: "bcdedit /default {current}"
- This sets the default boot loader to {current}, which should point to your Windows installation.
- Restart your computer and check if Windows boots properly.
5. "Element not found" error when running "bootrec /fixboot":
This error can occur if the required boot files are missing or corrupted.
- Open Command Prompt as Administrator.
- Run the following commands one by one:
- "bootrec /fixmbr" (this repairs the Master Boot Record)
- "bootrec /fixboot" (this repairs the boot sector)
- "bootrec /rebuildbcd" (this scans for Windows installations and allows you to add them to the boot configuration)
- Restart your computer and check if the issue persists.
If these steps do not resolve your problems, it may be necessary to consider performing a repair installation or a clean installation of Windows 11. Before proceeding with any major changes, ensure that you have a backup of your important files to avoid data loss.
andybn1
New Member
- Joined
- Jan 6, 2024
- Messages
- 3
- Thread Author
- #3
bcdedit /default {current}It seems like you are encountering several issues with your Windows installation after rebuilding the BCD store. Let's try to address each problem step-by-step:
1. Missing sleep and hibernate options:
This issue might be related to the power plan settings on your system. Try the following steps:
- Open the Control Panel and navigate to "Power Options."
- Click on "Change plan settings" for your currently selected power plan.
- Next, click on "Change advanced power settings."
- Expand the "Sleep" and "Hibernate" options, and make sure they are enabled and set according to your preferences.
- Click "Apply" and then "OK" to save the changes.
Check if the sleep and hibernate options are now available in the power dropdown menu.
2. Windows Update failures:
Rebuilding the BCD store should not directly affect Windows Update. However, let's ensure all required services are running properly:
- Press "Win + R" to open the Run dialog box.
- Type "services.msc" and press Enter to open the Services window.
- Locate and verify the following services are running:
- Windows Update Service
- BITS (Background Intelligent Transfer Service)
- Cryptographic Services
- If any of these services are not running, right-click on the service, select "Properties," set the startup type to "Automatic," and click "Start" to enable it.
- Reboot your computer and then try running Windows Update again.
3. Recovery partition and Windows RE:
It appears that the command "reagentc /info" is not providing the expected output. To check the status of your recovery environment, you can use the following command instead:
- Open Command Prompt as Administrator.
- Enter the command: "reagentc /info /target c:\Windows"
- This will display the information about your recovery environment, specifically for your Windows installation on the C: drive.
- If the information is not available or shows an error, it might indicate an issue with the recovery environment on your system.
4. Windows Preinstallation Environment (WinPE) showing as the current boot loader:
This is likely causing the confusion about why your Windows installation is in the Preinstallation Environment.
- Open Command Prompt as Administrator.
- Enter the command: "bcdedit /default {current}"
- This sets the default boot loader to {current}, which should point to your Windows installation.
- Restart your computer and check if Windows boots properly.
5. "Element not found" error when running "bootrec /fixboot":
This error can occur if the required boot files are missing or corrupted.
- Open Command Prompt as Administrator.
- Run the following commands one by one:
- "bootrec /fixmbr" (this repairs the Master Boot Record)
- "bootrec /fixboot" (this repairs the boot sector)
- "bootrec /rebuildbcd" (this scans for Windows installations and allows you to add them to the boot configuration)
- Restart your computer and check if the issue persists.
If these steps do not resolve your problems, it may be necessary to consider performing a repair installation or a clean installation of Windows 11. Before proceeding with any major changes, ensure that you have a backup of your important files to avoid data loss.
The default entry is not valid as specified.
Run "bcdedit /?" for command line assistance.
The parameter is incorrect.
- Joined
- May 22, 2012
- Messages
- 4,394
andybn1
New Member
- Joined
- Jan 6, 2024
- Messages
- 3
- Thread Author
- #5
This was the solution Redirecting
Chrisjordan33
New Member
- Joined
- Jan 11, 2024
- Messages
- 1
If Windows 11 is incorrectly detecting that it's in a preinstallation state after rebuilding the BCD (Boot Configuration Data) store, there could be a few reasons for this issue. Here are some steps you can try to resolve the problem:
- Check Boot Configuration Data (BCD):
- Open the Command Prompt as an administrator.
- Type the following command and press Enter:
Copy code.
bcdedit - Check the information displayed and ensure that the values are correct, especially the device and osdevice entries.
- Repair BCD:
- Open the Command Prompt as an administrator.
- Type the following commands and press Enter after each:
bashCopy code
bootrec /scanos
bootrec /rebuildbcd
- Check for Windows Updates:
- Make sure your Windows 11 installation is up-to-date by checking for and installing any available updates.
- Perform a System File Check (SFC) and Deployment Image Service and Management Tool (DISM) scan:
- Check Disk for Errors:
- Open the Command Prompt as an administrator.
- Run the following command:
bashCopy code
chkdsk /f - Restart your computer and let the check disk process complete.
- Perform a Repair Install:
- If the issue persists, consider performing a repair install of Windows 11. This option allows you to reinstall Windows without losing your files and applications.
- Joined
- May 22, 2012
- Messages
- 4,394