BCDEDIT - How to Use

Page 12 of 16 FirstFirst ... 21011121314 ... LastLast

  1. Posts : 1,025
    Linux Lite 3.2 x64; Windows 7, 8.1
       #110

    BCDEdit not recognized


    I'm on Win7 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 Computer


  2. Posts : 9,582
    Windows 8.1 Pro RTM x64
       #111

    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

    BCDEDIT - How to Use-capture.png
      My Computer


  3. Posts : 1,025
    Linux Lite 3.2 x64; Windows 7, 8.1
       #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 Computer


  4. Posts : 9,582
    Windows 8.1 Pro RTM x64
       #113

    Very strange. This is what I get:

    BCDEDIT - How to Use-capture.png
      My Computer


  5. Posts : 1,025
    Linux Lite 3.2 x64; Windows 7, 8.1
       #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 Computer


  6. Posts : 9,582
    Windows 8.1 Pro RTM x64
       #115

    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 Computer


  7. Posts : 1,025
    Linux Lite 3.2 x64; Windows 7, 8.1
       #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 Computer


  8. mjf
    Posts : 5,969
    Windows 7x64 Home Premium SP1
       #117

    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 Computer


  9. Posts : 5
    Win7 32 bit and WinXP 32 bit
       #118

    Greetings
    First post here! I have installed a dual boot with WinXP and Win7 and it's working fine. I want to backup my BCD using bcdedit. I start my Win7 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 Computer


  10. Posts : 5
    Win7 32 bit and WinXP 32 bit
       #119

    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 Win7 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 Win7 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 Computer


 
Page 12 of 16 FirstFirst ... 21011121314 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:53.
Find Us