| Windows 7: BCDEDIT - How to Use |
22 Jan 2009
|
#109 | | Windows 7 RC 7100 32bit/64bit |
BCDEDIT - How to Use How to Use the BCDEDIT Command Line Tool
Last edited by Brink; 08 Dec 2011 at 12:22 PM..
| My System Specs |
| System Manufacturer/Model Number ENIAC OS Windows 7 RC 7100 32bit/64bit CPU Intel Core2Duo E4500 2.20 GHz Motherboard ASUS P5LD2-X/1333 Memory 2x1GB Kinsgston DDR2 800MHz Graphics Card Nvidia 8500GT Sound Card Onboard High Definition Audio Device Monitor(s) Displays Sony Bravia 42" Keyboard Some cheap one Mouse Microsoft Intellimouse something Case LINKW 2222 Cooling Standard Intel Internet Speed 24MBps ADSL |
05 Dec 2010
|
#110 | | |
BCDEdit not recognized I'm on Windows 7 Home Premium 64b, as an administrator. In a command window I keep getting:
'bcdedit' is not recognized as an internal or external command,
operable program or batch file.
Is this a Pro tool? | My System Specs |
| System Manufacturer/Model Number dell precision t3400 tower OS Win7 Ult. 32bit CPU Pentium 2x2.6 Memory 4G ddr2 Graphics Card nVidia Hard Drives 1TB, 80GB sata Internet Speed 12/2 |
05 Dec 2010
|
#111 | | Windows 7 Ultimate x64 Service Pack 1 Doncaster, UK |
Strange. You should be able to access that no matter which edition of Windows 7 you have. Check to see if that file exists on your system. It is located in C:\Windows\System32\bcdedit.exe | My System Specs | | System Manufacturer/Model Number Dwarf Dwf/11/2012 OS Windows 7 Ultimate x64 Service Pack 1 CPU Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.2GHz) Motherboard ASRock Z77 Extreme4-M Memory 4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB) Graphics Card 2 x AMD Radeon HD7770 1GB CrossFired (OC 1100MHz/1250MHz) Sound Card Realtek High Definition on board solution (ALC 898) Monitor(s) Displays ViewSonic VA1912w Widescreen (VGA) Screen Resolution 1440x900 Keyboard Microsoft Comfort Curve Keyboard 3000 (USB) Mouse Microsoft Comfort Mouse 3000 for Business (USB) PSU XFX Pro Series 850W Semi-Modular Case Gigabyte IF233 Cooling 1 x 120mm Front Inlet 1 x 120mm Rear Exhaust Hard Drives OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0 Internet Speed NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2) Antivirus Avast! 7.0.1474 Browser IE 9 Other Info Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
CTF-430 Tablet & Pen
WEI Score: 7.7/7.9/7.4/7.4/7.9
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter) |
05 Dec 2010
|
#112 | | |
Yes, it is there. Here's a path copy: C:\Windows\System32\bcdedit.exe. I just tried the full path in the command window, and I tried the full file name. Nothing. I definitely am the administrator here.
I had another odd command window occurrence yesterday. There was a file (rstrui.exe - system restore) that I could plainly see in Explorer, but no DIR command, with Archive switches, would show it in the command window. Let me see if that's happening here too...
Indeed, this seems to be the problem. Here's the output: Code: C:\Windows\System32>dir bc*
Directory of C:\Windows\System32
07/13/2009 08:11 PM 80,896 bcrypt.dll
07/13/2009 08:17 PM 249,680 bcryptprimitives.dll
2 File(s) 330,576 bytes
0 Dir(s) 146,007,564,288 bytes free
C:\Windows\System32>dir /a:s bc*
Directory of C:\Windows\System32
File Not Found
C:\Windows\System32>dir /a:h bc*
Directory of C:\Windows\System32
File Not Found
C:\Windows\System32> For some reason my command window is not seeing system files. | My System Specs | | System Manufacturer/Model Number dell precision t3400 tower OS Win7 Ult. 32bit CPU Pentium 2x2.6 Memory 4G ddr2 Graphics Card nVidia Hard Drives 1TB, 80GB sata Internet Speed 12/2 |
05 Dec 2010
|
#113 | | Windows 7 Ultimate x64 Service Pack 1 Doncaster, UK |
Very strange. This is what I get: | My System Specs | | System Manufacturer/Model Number Dwarf Dwf/11/2012 OS Windows 7 Ultimate x64 Service Pack 1 CPU Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.2GHz) Motherboard ASRock Z77 Extreme4-M Memory 4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB) Graphics Card 2 x AMD Radeon HD7770 1GB CrossFired (OC 1100MHz/1250MHz) Sound Card Realtek High Definition on board solution (ALC 898) Monitor(s) Displays ViewSonic VA1912w Widescreen (VGA) Screen Resolution 1440x900 Keyboard Microsoft Comfort Curve Keyboard 3000 (USB) Mouse Microsoft Comfort Mouse 3000 for Business (USB) PSU XFX Pro Series 850W Semi-Modular Case Gigabyte IF233 Cooling 1 x 120mm Front Inlet 1 x 120mm Rear Exhaust Hard Drives OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0 Internet Speed NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2) Antivirus Avast! 7.0.1474 Browser IE 9 Other Info Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
CTF-430 Tablet & Pen
WEI Score: 7.7/7.9/7.4/7.4/7.9
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter) |
05 Dec 2010
|
#114 | | |
Ok, here's my problem. I just opened an elevated Command Window, and now I can see the system file without even using the a:s switch, just as you can. I don't understand why I need to take that step, however, since I am an administrator (and I just double-checked that). I've never had any problem doing anything via the command window before yesterday.
Thanks,
p. | My System Specs | | System Manufacturer/Model Number dell precision t3400 tower OS Win7 Ult. 32bit CPU Pentium 2x2.6 Memory 4G ddr2 Graphics Card nVidia Hard Drives 1TB, 80GB sata Internet Speed 12/2 |
05 Dec 2010
|
#115 | | Windows 7 Ultimate x64 Service Pack 1 Doncaster, UK |
So you can now access the file?
This is to do with privileges, and is a good reason for not disabling UAC. Although you may be running as an Administrator, you are only running with standard privileges. In order to run as a true Administrator, you need to elevate.
Think of this analogy. You and several others work in an office (representing standard privileges), inside which there is a locked cupboard (representing elevated privileges). Everyone has a key to get into the office, but only you (as an Administrator) have a key for the locked cupboard. If you wish to access the cupboard, you can simply unlock it (this is the equivalent of confirming that you want to run in elevated mode). For the others, who do not have the key, they need to ask you first (equivalent to entering a name and password of an administrative account when prompted). | My System Specs | | System Manufacturer/Model Number Dwarf Dwf/11/2012 OS Windows 7 Ultimate x64 Service Pack 1 CPU Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.2GHz) Motherboard ASRock Z77 Extreme4-M Memory 4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB) Graphics Card 2 x AMD Radeon HD7770 1GB CrossFired (OC 1100MHz/1250MHz) Sound Card Realtek High Definition on board solution (ALC 898) Monitor(s) Displays ViewSonic VA1912w Widescreen (VGA) Screen Resolution 1440x900 Keyboard Microsoft Comfort Curve Keyboard 3000 (USB) Mouse Microsoft Comfort Mouse 3000 for Business (USB) PSU XFX Pro Series 850W Semi-Modular Case Gigabyte IF233 Cooling 1 x 120mm Front Inlet 1 x 120mm Rear Exhaust Hard Drives OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0 Internet Speed NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2) Antivirus Avast! 7.0.1474 Browser IE 9 Other Info Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
CTF-430 Tablet & Pen
WEI Score: 7.7/7.9/7.4/7.4/7.9
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter) |
05 Dec 2010
|
#116 | | |
Yes, I have command line access to the file now. What I don't understand is that I've had the machine for three months and have done countless installations and work under the hood, including via the command line, and never once did I have to elevate the window. And I've changed nothing in privileges in all that time, as I'm aware.
I wonder how this affects the command window in Safe Mode. That is where I would want to invoke System Restore in a dire emergency. There must be a way to elevate the window there too.
IAC, thanks for your help.
p. | My System Specs | | System Manufacturer/Model Number dell precision t3400 tower OS Win7 Ult. 32bit CPU Pentium 2x2.6 Memory 4G ddr2 Graphics Card nVidia Hard Drives 1TB, 80GB sata Internet Speed 12/2 |
05 Dec 2010
|
#117 | | Windows 7x64 Home Premium SP1 x 2 Australia |
I suppose it depends on the levels to which you can muck the system up. You can do a fair amount of mucking up with bcdedit. There is a level above elevated command prompt (hidden administrator) where you can do even more mucking up or fix things of course. | My System Specs | | System Manufacturer/Model Number Own build (+ Recased Acer Aspire x1800) OS Windows 7x64 Home Premium SP1 x 2 CPU Intel i7 2600k Motherboard ASUS P8Z68 Deluxe Memory G.Skill Ripjaws (DDR3-1600) 2x4GB Graphics Card Nvidia GeForce GTS 450; Intel HD Graphics 3000(GT2+) Monitor(s) Displays Dell Ultrasharp IPS panel U2311H, Samsung SyncMaster P2350 Screen Resolution 1920x1080 Keyboard Logitech MK520 (wireless) Mouse Logitech MK520 PSU Seasonic M12II 520W Case Lian Li Lancool PC-K60 Cooling Case: 1x120mm, 3x140mm CPU: Hyper 212+ Hard Drives Crucial M4 128GB (000F), Seagates 1TB Barracuda ST31000528AS + Internet Speed 6-7 Mbps Antivirus Norton NIS, Malwarebytes on 2 (MSE on 3rd PC) Browser FireFox Other Info Audio: Logitech Z523 2.1 |
20 Dec 2010
|
#118 | | Win7 32 bit and WinXP 32 bit |
Greetings
First post here! I have installed a dual boot with WinXP and Windows 7 and it's working fine. I want to backup my BCD using bcdedit. I start my Windows 7 install DVD. Hit Shift F10 to get command prompt, enter bcdedit and I get that response that the file cannot be found. This is with the boot DVD!! Shouldn't we be at elevated prompt with the DVD?
When I was setting up that dual boot a few weeks ago I was using bcdedit just fine! | My System Specs | | OS Win7 32 bit and WinXP 32 bit |
21 Dec 2010
|
#119 | | Win7 32 bit and WinXP 32 bit |
Well, now I am in big trouble. I tried imaging my main HD to external drive and it worked. Tried to boot from it into WinXP and it worked. Tried to boot into Windows 7 didn't work. I wanted to try another imaging program but things got so confusing, I had more than one bootable HD attached at once and now I can't get into any windows system. It says ntldr missing. I've disconnected all other drives from the machine and I've started the Windows 7 install disk to repair. I entered the command mode and entered "bootsect /nt52 c: /force /mbr" just to get the WinXP part working again and now it boots. When I get to the blue screen to sign on, there is no sign on button to click to enter my password at all. Nothing happens, can't click anything.
So...I started up the WinXP install CD, got into the recovery console, it found the c:\windows partition, but now wants the admin password which I type what I'm using currently and it doesn't take. Now what?? Can I somehow forcibly reset the admin password. I'm stuck. | My System Specs | | OS Win7 32 bit and WinXP 32 bit BCDEDIT - How to Use problems? All times are GMT -5. The time now is 01:25 AM. | |