1

I use 'msconfig' to control what programs startup at boot (etc) - is there a powershell way of doing the same ?

I tried:

get-help startup

This brings up:

Register-PSSessionConfiguration
Get-PSSessionConfiguration     
Set-PSSessionConfiguration     
Enable-PSRemoting              
New-PSSessionConfigurationFile 
New-Service                    
Set-Service                    
Set-WmiInstance                
about_PowerShell.exe           
about_Remote_FAQ               
about_Remote_Troubleshooting   
about_Windows_RT               
about_WS-Management_Cmdlets

I just wanted a Powershell list which is the equivalent of what is shown in the 'msconfig.exe' ("System Configuration") Startup tab.

I'm on Windows 7, with Powershell 4.0.

1 Answer 1

1

There is no such built-in functionality, but you can use AutoRuns module:

AutoRuns is a module that will help do live incident response and enumerate autoruns artifacts that may be used by legitimate programs as well as malware to achieve persistence

3
  • Thanks ! Slightly odd marketing to include it's 'dark-side' malware-ready credentials though :-\
    – monojohnny
    Apr 15, 2016 at 11:09
  • or did you mean that 'AutoRuns' is good at detecting certain classes of malware !? Rather than being a good tool to write malware with ? !
    – monojohnny
    Apr 15, 2016 at 11:10
  • @monojohnny AutoRuns module provides PowerShell implemenation of SysInternal's Autoruns functionality. Since it's author is interested in malware research and forensics, he also added some related functionality (like PoweLiks malware detection). Apr 15, 2016 at 12:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.