Windows 10: Cannot remove from startup "open powershell window here powershell.exe -noexit -command set...

Discus and support Cannot remove from startup "open powershell window here powershell.exe -noexit -command set... in Windows 10 BSOD Crashes and Debugging to solve the problem; I am using CCleaner to remove unwanted startups in Windows 10. There are two items that it cannot disable or delete and that is "open powershell window... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by YourSmother, Jan 31, 2021.

  1. Cannot remove from startup "open powershell window here powershell.exe -noexit -command set...


    I am using CCleaner to remove unwanted startups in Windows 10. There are two items that it cannot disable or delete and that is "open powershell window here powershell.exe -noexit -command set -location -literalpath"


    How can I remove them from startup?

    :)
     
    YourSmother, Jan 31, 2021
    #1

  2. Locked Powershell startup command in context menu

    This solved my not being able to disable the 2 powershell scripts but why are they there in the first place?
     
    kieronredmond, Jan 31, 2021
    #2
  3. Micah Bat Win User
    Locked Powershell startup command in context menu

    It seems that you cannot remove the folder because you don't have a permission to do so. To remove the two
    powershell.exe -noexit -command Set-Location '%V' on registry, we need first to set the permission to
    Everyone. To do so, kindly follow the steps below:

    • Open CC Cleaner
    • Go to Context Menu
    • Right-click on powershell.exe -noexit -command Set-Location '%V'.
    • Click on Open in RegEdit.

    • Right-click on the Powershell folder.
    • Click Permission
    • Click Advanced
    • Click Change
    • Type in "Everyone" without the quotation.
    • Click OK

    Also set the Administrator's permission to Full Control. After doing so, you can now delete the
    Powershell folder. Be guided that you need to do a backup of your
    Registry before doing the steps.

    Let us know how it goes.
     
    Micah Bat, Jan 31, 2021
    #3
  4. H Notneb Win User

    Cannot remove from startup "open powershell window here powershell.exe -noexit -command set...

    Locked Powershell startup command in context menu

    Since updating to Windows Anniversary Edition, there is an inaccessible Powershell command in my startup context menu.

    There are two keys, one each for 'Directory' and 'Drive'.

    On both the program is listed as "Open Powershell window here",

    and the file command is: powershell.exe -noexit -command Set-Location '%V'



    What is this, and why is it here.

    I have tried to both disable, and to delete it. Both FAIL. Access is denied.



    I have even gone to the registry location and attempted to put a (-) before the default value string.

    This action should disable the item. I have also tried to delete the value string for the entire item.

    With both of these maneuvers I am told that I cannot edit value string.



    I have taken ownership of, and given all users full access to Powershell.exe, and tried all of these step again,

    AND IT STILL WILL NOT DISABLE OR DELETE!!!



    Has anyone else run into this?
     
    H Notneb, Jan 31, 2021
    #4
Thema:

Cannot remove from startup "open powershell window here powershell.exe -noexit -command set...

Loading...
  1. Cannot remove from startup "open powershell window here powershell.exe -noexit -command set... - Similar Threads - Cannot remove startup

  2. Command Prompt and Powershell window opens and closes on startup.

    in Windows 10 Gaming
    Command Prompt and Powershell window opens and closes on startup.: Every time I turn on my computer, these two windows open and then close by themselves after about 5 to 10 seconds.I even attempted to disable every single startup process. Even after performing a clean boot, the problem persists....
  3. Command Prompt and Powershell window opens and closes on startup.

    in Windows 10 Software and Apps
    Command Prompt and Powershell window opens and closes on startup.: Every time I turn on my computer, these two windows open and then close by themselves after about 5 to 10 seconds.I even attempted to disable every single startup process. Even after performing a clean boot, the problem persists....
  4. Command Prompt and Powershell window opens and closes on startup.

    in Windows 10 BSOD Crashes and Debugging
    Command Prompt and Powershell window opens and closes on startup.: Every time I turn on my computer, these two windows open and then close by themselves after about 5 to 10 seconds.I even attempted to disable every single startup process. Even after performing a clean boot, the problem persists....
  5. Powershell opening on startup

    in Windows 10 Customization
    Powershell opening on startup: Everytime I boot my computer three tabs of powershell opens and it says its running WOW64. Why is that. https://answers.microsoft.com/en-us/windows/forum/all/powershell-opening-on-startup/a0acb780-cc21-4ccd-907c-a142ffd4dab2
  6. Powershell opening on startup

    in Windows 10 Gaming
    Powershell opening on startup: Everytime I boot my computer three tabs of powershell opens and it says its running WOW64. Why is that. https://answers.microsoft.com/en-us/windows/forum/all/powershell-opening-on-startup/a0acb780-cc21-4ccd-907c-a142ffd4dab2
  7. Powershell opening on startup

    in Windows 10 Software and Apps
    Powershell opening on startup: Everytime I boot my computer three tabs of powershell opens and it says its running WOW64. Why is that. https://answers.microsoft.com/en-us/windows/forum/all/powershell-opening-on-startup/a0acb780-cc21-4ccd-907c-a142ffd4dab2
  8. PowerShell opens on startup

    in Windows 10 Customization
    PowerShell opens on startup: So after I formated my computer, a few days later PowerShell opened after the welcome screen. All I did was format my laptop and then that happened. Please Help https://answers.microsoft.com/en-us/windows/forum/all/powershell-opens-on-startup/04b5d229-a2b3-4c05-978e-4484b83709cc
  9. Powershell opening at startup.

    in Windows 10 Customization
    Powershell opening at startup.: Hello, Powershell kees popping up whenever my PC starts up. The location is C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe This also was popping up when I had Windows 7. Norton's doesn't detect anything wrong. Can someone please help???...
  10. Powershell command for installing exe and msi

    in Windows 10 Support
    Powershell command for installing exe and msi: Can someone help me with powershell commands for installing some exe and msi files from a pendrive? I have apps like Cisco Jabber (MSI), Cisco AnyConnect (exe), Dell Command Update (MSI), and Webex Teams(MSI) I need to add to my powershell script to automatically install the...