Cannot open Power Shell or Power Shell admin ?

Anonymous
2024-11-25T14:49:08+00:00

cannot open Power Shell or Power Shell admin ? on Windows 10 and My Dreamweaver 8 now doesnt work since the last windows update Nov 2024

* Changed to a question

***Move from Windows / Windows 10 / Performance and system failures***

Windows Server Remote and virtual desktops PowerShell

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes
Accepted answer
  1. Anonymous
    2024-11-27T06:30:16+00:00

    Hello,

    Here are a few methods to try:

    Method 1: Replace machine.config File

    Navigate to the following directory: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config

    In this folder, locate the files named machine.config and machine.config.default.

    Rename machine.config to machine.config.bak.

    Copy machine.config.default, paste it in the same folder, and rename the copy to machine.config.

    Attempt to launch PowerShell.

    Reference link: Can't open PowerShell - Microsoft Community

    Method 2: Run System File Checker (SFC) and Deployment Image Servicing and Management (DISM)

    Open Command Prompt as an administrator.

    Execute these commands sequentially, waiting for each to complete before moving on to the next:

    sfc /scannow

    DISM /Online /Cleanup-Image /CheckHealth

    DISM /Online /Cleanup-Image /ScanHealth

    DISM /Online /Cleanup-Image /RestoreHealth

    These steps will check and repair corrupted system files that might be causing the problem.

    Method 3: Disable and Re-enable Windows PowerShell

    Type appwiz.cpl in the Windows Start Search box and press Enter.

    Click on "Turn Windows features on or off."

    Locate and uncheck the option for "Windows PowerShell," then click OK.

    Restart your computer.

    Repeat the process, but this time check the box to enable "Windows PowerShell" again.

    Restart your computer once more.

    Method 4: Install the Latest Version of PowerShell

    If you're interested in using the most recent version of PowerShell, consider installing PowerShell 7. You can find detailed instructions on how to do this at the official Microsoft documentation: Installing PowerShell on Windows - PowerShell | Microsoft Learn

    I hope one of these solutions resolves your issue. If not, please let me know, and we can explore further options.

    I hope this information helps.

    Best regards,

    Karlie Weng

    0 comments No comments

0 additional answers

Sort by: Most helpful