Skip to content

bcdedit : the term is not recognized. #9

Closed

Description

@benarla

Hi man, thanks for your tool. I would love to use it but i have a problem while trying to install any distro in dual boot, i get this error message on the powershell window that opens with the app. I tried to do a sfc /scannow but it doesn't solves my problem. I have a fresh windows install.

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:401 char:9

  •     bcdedit /export "${global:tunic_dir}\bcd-before.bak" | out-nu ...
    
  •     ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:408 char:9

  •     bcdedit /delete "$osloader" /cleanup /f | out-null
    
  •     ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:410 char:18

  • $osloader = (bcdedit /copy '{bootmgr}' /d ubuntu).replace('The en ...
    
  •              ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:411 char:5

  • bcdedit /set         "$osloader" device "partition=$efi" | out-nu ...
    
  • ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:416 char:9

  •     bcdedit /set         "$osloader" path "\EFI\BOOT\grubx64.efi" ...
    
  •     ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:418 char:5

  • bcdedit /set         "$osloader" description "Tunic Linux Install ...
    
  • ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:419 char:5

  • bcdedit /deletevalue "$osloader" locale | out-null
    
  • ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:420 char:5

  • bcdedit /deletevalue "$osloader" inherit | out-null
    
  • ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:421 char:5

  • bcdedit /deletevalue "$osloader" default | out-null
    
  • ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:422 char:5

  • bcdedit /deletevalue "$osloader" resumeobject | out-null
    
  • ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:423 char:5

  • bcdedit /deletevalue "$osloader" displayorder | out-null
    
  • ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:424 char:5

  • bcdedit /deletevalue "$osloader" toolsdisplayorder | out-null
    
  • ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:425 char:5

  • bcdedit /deletevalue "$osloader" timeout | out-null
    
  • ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:426 char:5

  • bcdedit /set '{fwbootmgr}' displayorder "$osloader" /addfirst | o ...
    
  • ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\benji\AppData\Local\Temp\Tunic\tunic.ps1:434 char:5

  • bcdedit /export "${global:tunic_dir}\bcd-grub.bak" | out-null
    
  • ~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

Activity

  1. benarla commented on Feb 10, 2020

    @benarla
    Author

    also i always get a c = a number that changes everytime and then false just under it when i open the app

  2. mikeslattery commented on Feb 10, 2020

    @mikeslattery
    Owner

    What version of Windows are you using?
    Does this file exist? C:\Windows\System32\bcdedit.exe

  3. benarla commented on Feb 11, 2020

    @benarla
    Author

    I'm on windows 10 pro 1909 and yes i do have this file

  4. mikeslattery commented on Feb 11, 2020

    @mikeslattery
    Owner

    If you launch from "Windows PowerShell" instead of "Windows Powershell (x86)" you shouldn't have this issue. Or you can launch it directly from C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe.

    Details

    https://stackoverflow.com/questions/28040321/powershell-cant-understand-bcdedit
    https://superuser.com/questions/831336/bcdedit-exe-is-not-recognized-win-8-1

    bcdedit.exe is not accessible in the PATH from 32 bit Powershell, but is from 64 bit.

    I will have Tunic check for this and display a pop-up warning and relaunch tunic in a separate 64 bit powershell process.

  5. added a commit that references this issue on Feb 12, 2020
    9b36221
  6. benarla commented on Feb 12, 2020

    @benarla
    Author

    well nice thank you very much. I don't know how to do it so i will wait for your fix to be implemented in a release

  7. mikeslattery commented on Feb 12, 2020

    @mikeslattery
    Owner

    It will likely be released this weekend or Monday. Or, if you don't want to wait, you can download and extract a .zip of the source and run tunic.ps1 from powershell:
    https://codeload.github.com/mikeslattery/tunic/zip/develop

  8. added 2 commits that reference this issue on Feb 18, 2020
    8b7ea5b
    67a476f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions