Windows 10: Access denied. I tried this command to restore the start menu in Powershell.

Discus and support Access denied. I tried this command to restore the start menu in Powershell. in Windows 10 BSOD Crashes and Debugging to solve the problem; Command I entered:Get-AppxPackage -AllUsers Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$$_.InstallLocation\AppXManifest.xml"}Answer... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by Anonymous_002, Jul 13, 2021.

  1. Access denied. I tried this command to restore the start menu in Powershell.


    Command I entered:Get-AppxPackage -AllUsers Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$$_.InstallLocation\AppXManifest.xml"}Answer from PowershellAccess denied. I tried this command to restore the start menu in Powershell. :Deployment operation progress: C:\Program Files\WindowsApps\Microsoft.Media.PlayReadyClient.2_2.11.2154.0_x86__8wekyb3d Deployment operation progress: C:\Program Files\WindowsApps\Microsoft.Media.PlayReadyClient_2.3.1678.0_x64__8wekyb3d8bb Deployment operation progress: C:\Program Files\WindowsApps\Microsoft.Media.PlayReadyClient_2.3.1678.0_x86__8wekyb3d8bb Deployment operation progress: C:\Program Files\WindowsApps\Microsoft.V

    :)
     
    Anonymous_002, Jul 13, 2021
    #1
  2. H Notneb Win User

    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, Jul 13, 2021
    #2
  3. tried everything still start menu is not working

    Hi Mukesh,

    Thank you for posting in Microsoft Community and being a part of Windows 10.

    I understand the inconvenience you are facing in accessing the Start menu.
    I apologize for the inconvenience caused to you, I realize this may be frustrating.

    Do let us know the following to assist you better with this issue:

    • Were you able to see any error code/ error message while accessing Start menu?
    • From when are you facing this issue?
    • How exactly have you performed Reset on your device?

    Try the below troubleshooting steps and check if it helps.

    Step 1: I understand that you have already ran the PowerShell command.
    I suggest you to try the below troubleshooting commands and check if it helps.

    System File Checker is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files.

    Follow:

    • Open the Task manager. Here’s a tip: Press
      CTRL+Shift+ESC.
    • Click File > Run New Task.
    • Make sure you have a check mark beside
      Create this task with administrative privileges
      .
    • Type CMD.
    • Type the following 4 commands at the CMD prompt:

    • sfc /scannow

    • dism /online /cleanup-image /restorehealth

    • powershell

    • Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like "*SystemApps*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    6. Close the CMD window.

    If the issue still persists,

    Step 2: I suggest you to try the troubleshooting steps mentioned in the below Microsoft article and check if it helps.

    Get help with the Windows 10 Start menu

    Hope it helps. Get back to us with an updated status of this issue for further assistance.
     
    Deepika Gowda, Jul 13, 2021
    #3
  4. Yvonne Win User

    Access denied. I tried this command to restore the start menu in Powershell.

    Applications still showing on Start menu after powershell deletion


    Hi,

    I've used powershell to remove some apps (like Xbox games).

    On one account, it cleaned up the start menu just fine.

    Second account, they were showing on the start menu, so I ran powershell again and verified everything was gone that I wanted, but Xbox is still showing on the menu list. *Not* as a tile, but in the "All Apps" list. I have also tried looking at the Start Menu in File Explorer for that User and can not see the App listed.

    Suggestions?

    Thanks,
     
    Yvonne, Jul 13, 2021
    #4
Thema:

Access denied. I tried this command to restore the start menu in Powershell.

Loading...
  1. Access denied. I tried this command to restore the start menu in Powershell. - Similar Threads - Access denied tried

  2. Powershell access is denied.

    in Windows 10 Gaming
    Powershell access is denied.: Hi, I have a Windows 10 Pro OS computer. When launching Powershell, I get Encountered a problem reading the registry. Cannot open registry key SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine. System error: Access is denied.If I run powershell -version 2.0, I do enter...
  3. Powershell access is denied.

    in Windows 10 Software and Apps
    Powershell access is denied.: Hi, I have a Windows 10 Pro OS computer. When launching Powershell, I get Encountered a problem reading the registry. Cannot open registry key SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine. System error: Access is denied.If I run powershell -version 2.0, I do enter...
  4. Powershell access is denied.

    in Windows 10 BSOD Crashes and Debugging
    Powershell access is denied.: Hi, I have a Windows 10 Pro OS computer. When launching Powershell, I get Encountered a problem reading the registry. Cannot open registry key SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine. System error: Access is denied.If I run powershell -version 2.0, I do enter...
  5. Access denied in command prompt

    in Windows 10 Gaming
    Access denied in command prompt: I am trying to clear system attribute of hibefil.sys file.Automatic Repair:Your PC did not start correctly...Advance OptionsTroubleshootCommand Promptattrib -h -s hiberfil.sys /sAccess denied - C:\hiberfil.sysCan you guide me how I can remove this file. I am unable to boot...
  6. Access denied in command prompt

    in Windows 10 BSOD Crashes and Debugging
    Access denied in command prompt: I am trying to clear system attribute of hibefil.sys file.Automatic Repair:Your PC did not start correctly...Advance OptionsTroubleshootCommand Promptattrib -h -s hiberfil.sys /sAccess denied - C:\hiberfil.sysCan you guide me how I can remove this file. I am unable to boot...
  7. Access Denied In PowerShell

    in Windows 10 Gaming
    Access Denied In PowerShell: HelloI am New TO PowerShellI am Doing a script to disable some services in windowsI DID IT But NOT all of them Disabled Some OF them Won't Disable....This is the commend to understand me$Services = @ "ClipSVC" "wscsvc" foreach $Service in $Services { Stop-Service $Service...
  8. Access Denied In PowerShell

    in Windows 10 Software and Apps
    Access Denied In PowerShell: HelloI am New TO PowerShellI am Doing a script to disable some services in windowsI DID IT But NOT all of them Disabled Some OF them Won't Disable....This is the commend to understand me$Services = @ "ClipSVC" "wscsvc" foreach $Service in $Services { Stop-Service $Service...
  9. Access Denied In PowerShell

    in Windows 10 Customization
    Access Denied In PowerShell: HelloI am New TO PowerShellI am Doing a script to disable some services in windowsI DID IT But NOT all of them Disabled Some OF them Won't Disable....This is the commend to understand me$Services = @ "ClipSVC" "wscsvc" foreach $Service in $Services { Stop-Service $Service...
  10. Access denied in Command Prompt

    in Windows 10 BSOD Crashes and Debugging
    Access denied in Command Prompt: I am trying to clear system attribute of hibefil.sys file.Automatic Repair:Your PC did not start correctly...Advance OptionsTroubleshootCommand Promptattrib -h -s hiberfil.sys /sAccess denied - C:\hiberfil.sysCan you guide me how I can remove this file. I am unable to boot...