Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

โ€œInvest in yourself โ€” your confidence is always worth it.โ€

Explore Cosmetic Hospitals

Start your journey today โ€” compare options in one place.

To check if your Windows machine has any scripts (or programs) running at boot/startup

To check if your Windows machine has any scripts (or programs) running at boot/startup, you need to look in several locations. Windows supports multiple mechanisms for startup scripts, both for user logins and for system boot. Hereโ€™s a complete, step-by-step guide to check all major places.


1. Task Manager โ€“ Startup Tab

  • Right-click the Taskbar โ†’ choose Task Manager (or press Ctrl + Shift + Esc).
  • Go to the Startup tab.
  • Here youโ€™ll see all enabled/disabled startup apps for your user account.
  • This wonโ€™t show Group Policy/system scripts, but itโ€™s a quick check for user-level startup items.

2. Startup Folders

  • User Startup folder:
    C:\Users\<YourUsername>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  • All Users Startup folder:
    C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
  • Any scripts (.bat, .cmd, .vbs, .ps1, shortcuts, etc.) here will run at user login.

3. Windows Registry โ€“ Run Keys

  • Press Win + R, type regedit, and open the Registry Editor.
  • Check these keys: User-specific: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce System-wide: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
  • Any entries here pointing to scripts or executables will run at user login or system startup.

4. Group Policy Startup Scripts

For corporate or domain-joined PCs (less common at home):

  • Press Win + R, type gpedit.msc, and open the Local Group Policy Editor.
  • Go to:
    Computer Configuration โ†’ Windows Settings โ†’ Scripts (Startup/Shutdown)
  • Check for entries under Startup (runs at boot for all users) and Shutdown.
  • Also check:
    User Configuration โ†’ Windows Settings โ†’ Scripts (Logon/Logoff)

Note: On Home editions, gpedit.msc may not be available, but you can still check the folders:

  • C:\Windows\System32\GroupPolicy\Machine\Scripts\Startup
  • C:\Windows\System32\GroupPolicy\User\Scripts\Logon

5. Task Scheduler

Many scripts and programs are set to run at boot/logon via Task Scheduler.

  • Open Task Scheduler (taskschd.msc).
  • In the left pane, expand Task Scheduler Library.
  • Look through:
    • Task Scheduler Library
    • Microsoft โ†’ Windows (and all subfolders)
  • Look for tasks with Triggers set to โ€œAt startupโ€ or โ€œAt log onโ€.
    The Actions tab will show the script or program that runs.

6. Services

Some scripts may be run as Windows Services.

  • Open Services (services.msc).
  • Look for any custom or suspicious services, especially with “Manual” or “Automatic” startup.
  • Check the Path to executable for each serviceโ€”sometimes it points to a script.

7. Autoruns (Sysinternals Tool โ€“ Advanced)

For a comprehensive view, use Microsoftโ€™s Autoruns tool (free, official):


Summary Table of Places to Check

LocationMethodScript Types Supported
Task Manager โ†’ Startup TabGUIExecutables, script shortcuts
Startup FoldersFile ExplorerShortcuts, .bat, .cmd, .vbs, .ps1
Registry Run/RunOnce KeysregeditAny file path
Group Policy Scriptsgpedit.msc.bat, .cmd, .ps1, etc.
Task Schedulertaskschd.mscAny script or program
Servicesservices.mscExecutables, some scripts
Autoruns (Sysinternals)Autoruns.exeAll

Tips

  • If you find an unknown or suspicious script, search its name/path online to verify its legitimacy.
  • Always be careful before disabling/deleting startup entries, especially on work machines.

Hereโ€™s a PowerShell script that will enumerate the most common startup locations and list out any startup itemsโ€”including scripts (.bat, .cmd, .ps1, .vbs), executables, and shortcuts.
This script checks:

  • Startup folders (user and all users)
  • Registry Run/RunOnce keys (user and system)
  • Scheduled Tasks with โ€œAt startupโ€ or โ€œAt logonโ€ triggers

PowerShell Script: List All Windows Startup Items

Write-Host "====== WINDOWS STARTUP ITEMS ======" -ForegroundColor Cyan

# 1. Startup Folders
$startupFolders = @(
    "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup",
    "$env:PROGRAMDATA\Microsoft\Windows\Start Menu\Programs\Startup"
)

Write-Host "`n-- Startup Folders --" -ForegroundColor Yellow
foreach ($folder in $startupFolders) {
    if (Test-Path $folder) {
        Get-ChildItem -Path $folder -File | ForEach-Object {
            Write-Host "$($folder)\$($_.Name)"
        }
    }
}

# 2. Registry Run/RunOnce Keys
$runKeys = @(
    "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run",
    "HKCU:\Software\Microsoft\Windows\CurrentVersion\RunOnce",
    "HKLM:\Software\Microsoft\Windows\CurrentVersion\Run",
    "HKLM:\Software\Microsoft\Windows\CurrentVersion\RunOnce"
)

Write-Host "`n-- Registry Run/RunOnce Keys --" -ForegroundColor Yellow
foreach ($key in $runKeys) {
    if (Test-Path $key) {
        Get-ItemProperty -Path $key | ForEach-Object {
            $_.PSObject.Properties | Where-Object { $_.Name -ne "PSPath" -and $_.Name -ne "PSParentPath" -and $_.Name -ne "PSChildName" -and $_.Name -ne "PSDrive" -and $_.Name -ne "PSProvider" } | ForEach-Object {
                Write-Host "$key -> $($_.Name): $($_.Value)"
            }
        }
    }
}

# 3. Scheduled Tasks: At startup / At logon
Write-Host "`n-- Scheduled Tasks (At startup/logon) --" -ForegroundColor Yellow
$tasks = Get-ScheduledTask | Where-Object {
    $_.Triggers | Where-Object { $_.TriggerType -eq 'AtStartup' -or $_.TriggerType -eq 'AtLogon' }
}
foreach ($task in $tasks) {
    foreach ($action in $task.Actions) {
        Write-Host "Task: $($task.TaskName) -> $($action.Execute) $($action.Arguments)"
    }
}

Write-Host "`n====== END OF LIST ======" -ForegroundColor Cyan
Code language: PHP (php)

How to Run

  1. Open PowerShell as Administrator (for full results).
  2. Copy and paste the above script into the console (or save as List-StartupItems.ps1 and run it).
  3. Review the outputโ€”it will print all startup scripts and programs.

What Does This Script Cover?

  • Items in Startup folders (user & all users)
  • Entries in Registry Run/RunOnce keys (user & system)
  • Scheduled Tasks with triggers set to At startup or At logon

Extra: To Export to File

If you want to save the output:

.\List-StartupItems.ps1 | Out-File "startup-items.txt"
Code language: PHP (php)

Want to Check for Group Policy/Service scripts as well?

Let me know! I can expand the script for advanced/enterprise scenarios.


Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Team Foundation Server 2015 Installation Guide (SQL Express + Update 3)

Install Team Foundation Server 2015 using the original Microsoft download paths, with clear guidance for online, offline, and ISO-based setup. This revised guide also includes an installation workflow, command example, and practical pitfalls to avoid.

Read More

How to Access a Running Docker Container Shell: docker exec vs docker attach

Need a shell inside a running container that is already in detached mode? This updated guide shows the correct workflow, compares docker exec and docker attach, and explains when SSH does and does not make sense.

Read More

Host Your Own NuGet Feed: Local Source vs NuGet.Server vs NuGetGallery

Learn how to host a private NuGet feed using three practical approaches: a local folder source, NuGet.Server, and NuGetGallery. This revised guide includes setup steps, command examples, and a workflow diagram to help you choose the right model.

Read More

Publish NuGet Packages to NuGet.org: CLI Steps, Workflow, and CI Example

Learn how to publish a NuGet package to NuGet.org using either nuget.exe or the dotnet CLI. This revised guide includes a workflow diagram, command comparison, and a CI-friendly example.

Read More

How to Create NuGet Packages with nuget.exe (Assembly, .nuspec, and .csproj Methods)

Learn three practical ways to build NuGet packages using nuget.exe: from an existing assembly, from a convention-based folder layout, or directly from a Visual Studio project. This guide includes commands, folder conventions, token behavior, and common pitfalls.

Read More

Virtualization in DevOps: Using Vagrant, Docker, and Cloud Platforms Together

This guide explains how VM-based workflows, containers, and cloud platforms complement each other in DevOps. It includes a practical workflow, trade-off table, and command examples for day-to-day use.

Read More
Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
Jason Mitchell
Jason Mitchell
7 months ago

Very useful guide! The step-by-step explanation on how to check scripts or programs running at Windows startup is clear and practical. Itโ€™s a helpful reference for anyone who wants to troubleshoot or monitor startup processes on their system.

1
0
Would love your thoughts, please comment.x
()
x