Jim,

AutoIt also has a nice OSArch macro for this.

$64bit = "You are running a 64 bit version of Windows Vista."
$OSArch = @OSArch
If $OSArch == "X64" Then
        MsgBox(262192,"64 bit OS Detected", $64bit)
EndIf

Michael Grinnell
Senior Information Security Engineer
The American University

AU IT will never ask for your password via e-mail.
Don't share your password with anyone!

On Aug 27, 2009, at 11:37 AM, Beechey, Jim wrote:

We’ve had the same issue here and have also seen a huge uptick in the numbers of 64-bit machines. One of our network engineers wrote the following AutoIT code to which checks the OS version, then downloads the appropriate executable. We call is CheckOS and has worked very well for us. Only caveat is that we are no longer a Cisco customer so this has not been tested with NAC specifically, but I don’t see any reason it wouldn’t work for you folks as well.

#RequireAdmin
$var = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows \CurrentVersion", "ProgramFilesDir")
if $var = ("C:\Program files") then
                ;msgbox (4096, "windows 32","windows 32")
RunWait(@ProgramFilesDir & "\internet explorer \iexplore.exe http://xxxxx";)
Else
                ;msgbox (4096, "windows 64","windows 64")
RunWait(@ProgramFilesDir & "\internet explorer \iexplore.exe http://xxxxxxx";)
EndIf

Hope that helps
Jim


Jim Beechey
Associate Director, Networks and Information Security
Northwood University
4000 Whiting Drive
Midland, MI 48640

989-837-4169
[email protected]
www.northwood.edu

"Developing the future leaders of a global, free-enterprise society."


From: Cisco Clean Access Users and Administrators [mailto:[email protected] ] On Behalf Of Kyle Torkelson
Sent: Thursday, August 13, 2009 5:53 PM
To: [email protected]
Subject: Distributing 32 or 64 bit AV software

We recently migrated from Symantec Corporate 10 to Symantec Endpoint Protection and I’ve noticed that the deployment method to students is much different in the new version.

I’m curious as to how other schools are pushing their preferred/ required anti-virus software to students as I notice that I can’t make distinguished rules for 32 bit or 64 bit operating systems. It seems Cisco NAC combines them so when I try to create a link distribution requirement I can’t choose 32 or 64 bit. Am I missing something??

If I’m not, I’m wondering if the best option is to create a link distribution requirement that points them to a page that has links to both 32 and 64 bit versions and having the user select which one they need…It’s not foolproof as I’m sure some students won’t know what they have but I’m just curious as to the best route for this…

Thanks


<image001.jpg>

Reply via email to