When I turn on my Windows 10 laptop, PowerShell starts by itself.

Дима Горичев 0 Reputation points
2025-04-02T14:56:56.0166667+00:00

Although it is disabled in startup, there are no viruses, and I also checked the hard drive with the command chkdsk C:/f

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. S.Sengupta 24,636 Reputation points MVP
    2025-04-02T15:19:07.9733333+00:00

    Right click on Taskbar

    Select Task Manager

    Go to Start up

    Look for Windows PowerShell

    Right click to Disable it.


  2. Anonymous
    2025-04-03T06:34:28.9966667+00:00

    Hello

    Thank you for posting in Q&A forum.

    Here are several areas to check and steps you can take to troubleshoot:

    If this machine is in one domain environment (if your laptop is managed by an organization), consider whether any enterprise management tools or group policies might be triggering a script via PowerShell as part of your login process.

    If this machine is in one workgroup, here are several other points you can check:

    1. View Registry Run Entries:  

    Open the Registry Editor. Navigate to the following keys and check for any entries that call PowerShell:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run   HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run  

    If you see any suspicious entries that reference PowerShell, consider removing them (after backing up the registry).

    1. Review Startup Folder:  

    Check your Startup folder (you can open File Explorer and go to   C:\Users\YourUsername\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup)  

    check if there’s a shortcut to PowerShell.  

    1. Scheduled Scripts or Third-Party Software:  

    Some software or maintenance tasks may run scripts via PowerShell at startup. If you recently installed any new software or system utilities, check their settings.  

    1. Perform a Clean Boot:  

    If PowerShell stops appearing in a clean boot, it’s likely that one of the non-Microsoft services or startup programs is causing it.  

    How to perform a clean boot in Windows

    https://support.microsoft.com/en-us/topic/how-to-perform-a-clean-boot-in-windows-da2f9573-6eec-00ad-2f8a-a97a1807f3dd

    1. View Event Viewer:  

    Look for events around the time PowerShell starts. This might give a clue as to what process or trigger is launching PowerShell.

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.