Track Startup Programs with PowerShell "get-wmiobject" on Windows 7

Q

How to track and maintain startup programs with PowerShell on Windows 7? I know how to use PowerShell cmdlets.

✍: FYIcenter.com

A

If you want to get a list of all startup applications on your Windows 7 with PowerShell cmdlets, you can use the "Get-WmiObject" cmdlet as described in this tutorial:

1. Start a PowerShell window

2. Run the following command.

PS C:\fyicenter> get-wmiobject Win32_StartupCommand 
   | select-object -property name,command,location 
   | format-list > C:\fyicenter\startup-programs-2.txt

3. Open \fyicenter\startup-programs-2.txt in Notepad. You see a list of startup programs recorded in the file, as shown in the example below:

name     : FAH
command  : C:\PROGRA~1\WinZip\FAHCON~1.EXE 
location : Common Startup

name     : Update Notifier
command  : C:\PROGRA~1\WinZip\WZUPDA~1.EXE 
location : Common Startup

name     : WinZip Preloader
command  : C:\PROGRA~1\WinZip\WZPREL~1.EXE 
location : Common Startup

name     : TpShocks
command  : TpShocks.exe
location : HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

...                                                 

Keep this file startup-programs.txt in a safe place, so that you can compare it at a later time to see if there are any new startup programs are added in your system.

 

Disable or Remove Startup Programs on Windows 7

Track Startup Programs with wmic.exe on Windows 7

View Startup Programs on Windows 7

⇑⇑ Windows 7 Startup Programs

2017-02-26, 454👍, 0💬