Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

Autoruns : Export the result to CSV file

$
0
0
Author: davehull
Subject: Export the result to CSV file
Posted: 18 June 2014 at 4:54pm

Ah, yes, I've experienced this too. I have a Powershell wrapper script that's part of a different project. You might give it a try. For the most part, it is able to parse Autorunsc's csv output into Powershell objects.

https://github.com/davehull/Kansa/blob/master/Modules/ASEP/Get-Autorunsc.ps1

This expects Autorunsc.exe to be in $env:systemroot, which is generally C:\Windows\. If you copy Autorunsc.exe to your %systemroot%, download the Get-Autorunsc.ps1 script above and unblock it either by using streams -d Get-Autorunsc.ps1 or unblock-file or via the Explorer properties GUI, then run it from the command line as follows:

.\Get-Autorunsc.ps1 | ConvertTo-CSV -Delimiter "`t" -notypeinformation | % { $_ -replace "`"" } | set-content autorunsoutput.tsv

You'll get a copy of the Autoruns output as a tab separated values file that *should* open nicely in Excel. I don't claim that the parsing is 100% accurate, but in my experience running the above across thousands of machines, it generally works well.

Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>