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

Top 10 Construction Management Software Tools in 2026: Features, Pros, Cons & Comparison

Introduction Construction Management Software (CMS) has become indispensable in 2026 for efficiently handling various aspects of construction projects, ranging from budgeting, scheduling, resource allocation, project tracking, to…

Read More

Top 10 Personal Finance Software Tools in 2026: Features, Pros, Cons & Comparison

Introduction In the fast-paced world of 2026, managing personal finances efficiently is more crucial than ever. With rising inflation, economic uncertainties, and the complexity of multiple financial…

Read More

Top 10 AI Pricing Optimization Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, AI pricing optimization tools have become indispensable for businesses navigating the complexities of dynamic markets. These tools leverage artificial intelligence, machine learning, and real-time…

Read More

Top 10 On-premise Backup Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, on-premise backup tools are still essential for businesses that need complete control over their data security and disaster recovery plans. Unlike cloud-based solutions, on-premise…

Read More

Top 10 Server Backup Tools in 2026: Features, Pros, Cons & Comparison

Introduction Server backup tools are essential for businesses in 2026 to ensure the safety, security, and reliability of their data. With the growing threats of cyberattacks, hardware…

Read More

Top 10 Backup & Recovery Tools in 2026: Features, Pros, Cons & Comparison

Introduction In todayโ€™s digital world, data is the backbone of virtually every business operation. As the amount of critical data grows, so does the need for robust…

Read More
Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
Jason Mitchell
Jason Mitchell
5 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