[Casper] Windows Recon commandline parameters

Brenner, John john.brenner at merrillcorp.com
Wed Sep 17 14:27:33 PDT 2008


Here you go:
Adding With a Group Policy or Script (Windows only)
Recon.exe can be run in the background on windows. This can allow you to
add computers to the database without touching them, much like the Scanner
feature allows you to do for computers running Mac OS X 10.2 or later. To do
this, you will need to have a group policy or a script that runs the
following
command:
\path\to\Recon.exe -autorun -server <IP Address of your JSS>
If the computers are not already in the JSS, you will need to provide a
username and password to add the computers as well. A complete command
might look something like this (command should be entered without
linebreaks):
F:\Recon.exe -autorun -server 10.0.1.4 -username admin -
password pass1234
Note: You should create a limited account that only has privileges to add
computers to the database if you want to use this method.


If you want to do this via task scheduler you will need to create a batch
file that calls recon.exe and recon.exe would need to be on the local HDD.
With task scheduler you should be able to kick it off a 12 am at a scheduled
interval.  

The batch file would look something like

C:\jamf\recon.exe ­autorun ­server jss.myco.com ­username casper ­password
thefrendlyghost
Exit



On 9/17/08 4:08 PM, "doug.ruggiero at jwt.com" <doug.ruggiero at jwt.com> wrote:

> 
> To follow up Sean's previous thread on recon scheduling in windows, I believe
> the info we're looking for is a little more specific.  I've gone over the
> docs, both for casper suite and recon suite, to see if I could find any
> description of commandline switches for recon for windows, so that we could
> automate the authentication process to the JSS server through a batch file
> when we have task scheduler call recon, but I haven't been able to find
> anything like that.  John, I noticed you mentioned in a couple of threads
> historically 'passing your favorite switches' to recon in a batch file... I
> assume you know more than we do about it.  Care to point us somewhere to find
> those commandline parameters?  It would be much appreciated.
> This transmission is intended solely for the person or organization to whom it
> is addressed and it may contain privileged and confidential information. If
> you are not the intended recipient you should not copy, distribute or take any
> action in reliance on it. If you believe you received this transmission in
> error please notify the sender.
> 
> 
> _______________________________________________
> Casper mailing list
> Casper at list.jamfsoftware.com
> http://list.jamfsoftware.com/mailman/listinfo/casper


John Brenner    |   Merrill Corporation     |   IOG IT   |  651-632-4072






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080917/86d62b97/attachment.htm 


More information about the Casper mailing list