Solved

winaudit batch excercise

Posted on 2014-10-10
2
308 Views
Last Modified: 2014-10-28
We need to run a tool called "winaudit" over 75 window servers for a compliance audit and configuration management purposes. It is just a small exe app which produces an end report in HTML / PDF giving various information on the servers hardware/OS/apps etc. The only way we can see to run the tool is to remote onto each server manually and run it- then save the output to a network share. I wondered if there was a more automated way of running the same exe on many servers remotely (i.e. from 1 dedicated machine), and some how collate the necessary evidence in bulk. Is there anyway to do this? The remoting onto each server manually is quite time consuming (each scan takes around 2-5 mins).
0
Comment
Question by:pma111
2 Comments
 
LVL 74

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 250 total points
ID: 40372815
You could probably write a batch script that executes PSExec, which would in turn execute your winaudit utility.
0
 
LVL 24

Accepted Solution

by:
lionelmm earned 250 total points
ID: 40374703
PSExec is a good idea and/or you could use scheduled tasks (schtasks /?) from a batch file to read through a list of al your servers and run the task, for instance
for /F "tokens=1,2,3 delims=," %%i in (C:\Utils\ServerList.csv) do (
SCHTASKS /Create /S ServerName /U user /P password /RU runasuser /RP runaspassword /SC ONCE /TN TaskName /TR winaudit.exe
)
this will read the list of servers and schedule a task to run one time (/SC ONCE) on each server
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now