NAC, script or template to modify registry

Anyone got a template or script which would modify the necessary registry settings so that clean access agent will notice when the vlan changes and then would refresh ipconfig?
I've deployed the NAC 4.1.3 in a OOB Layer 3 with central CAS deployment. I've noticed that when you clear the certified device list users that are still logged in are placed in the untrusted VLAN but since the port never goes down the IP address on the client doesn't change. I can't enable port bouncing because I have IP phones. So we could enable RetryDetection in the registry along with PingArp but this requires I know how to mass modify registry setting via group policy. So does anyone have a adm template or logon script example I could use to accomplish this? I don't have the knowledge to make this happen. Any ideas? Thanks

I believe there is a bug with the NAC Agent 4.1.3.0 code were it is too aggressive in renewing the IP address. This was corrected in NAC Agent 4.1.3.1 and newer
But the information you are looking for is located at the following link:
Access to Authentication VLAN Change Detection on Clients with Multiple Active NICs
http://www.cisco.com/en/US/docs/security/nac/appliance/configuration_guide/418/cam/m_regapx.html#wp1032898

Similar Messages

  • Scripting in templates

    Hello,
    we are migrating from version 11.1.1.3 to 11.1.2.3. A part of it is migrating to calc manager from HBR.
    Since we are used macros, the import of the generated xml from HBR resulted in BR's and associated templates.
    I have 2 questions for you gurus:
    1. As I find the graphical interface tedious,  is there a way to script the templates as one can with the BR's ? Will placing FIX statements, formulas and everything else work if just pasted into script object?
    2. Per instructions found at this link: Calculation Manager , I tried referencing a template with parameters through a design time prompt, but can't get anywhere. Anytime i click the 'prompt it' checkbox I get a message saying that i have no steps defined in the template..also Application Type, Application and User POV DSP's are automatically generated..could this have anything to do with it?
    Thank you for helping a newbie.
    Regards,
    Matija

    Hey Calvin,
    thx for answering. Maybe i'm missing something fundamental, but the whole point is that i cannot script inside the template unlike in the BR.
    Here's a screenshot:
    http://imgur.com/UkDFiST
    Sure, i have some FIX blocks and am also using parameters from BR's.
    Hope to hear from you soon,
    Matija

  • Scripts for adding/deleting/modifying Open Directory accounts?

    I think I have searched high and low for an answer to this question, but if I missed it please point me in the right direction. Where can I find information on scripts for adding/deleting/modifying open directory accounts? At the very least, a command line utility with some syntax guidelines! Any help would be greatly appreciated.

    Hi
    I personally don't know if any scripts although you can use the command line to do pretty much anything you want with the Open Directory. Consult the manual: man dscl. If you launch terminal and issue dscl you should see something like this:
    my-Laptop:~ me$ dscl
    dscl (v20.4)
    usage: dscl [options] [<datasource> [<command>]]
    datasource:
    localhost (default) or
    <hostname> (requires DS proxy support, >= DS-158) or
    <nodename> (Directory Service style node name) or
    <domainname> (NetInfo style domain name)
    options:
    -u <user> authenticate as user (required when using DS Proxy)
    -P <password> authentication password
    -p prompt for password
    -raw don't strip off prefix from DS constants
    -url print record attribute values in URL-style encoding
    -q quiet - no interactive prompt
    commands:
    -read <path> [<key>...]
    -create <record path> [<key> [<val>...]]
    -delete <path> [<key> [<val>...]]
    -list <path> [<key>]
    -append <record path> <key> <val>...
    -merge <record path> <key> <val>...
    -change <record path> <key> <old value> <new value>
    -changei <record path> <key> <value index> <new value>
    -search <path> <key> <val>
    -auth [<user> [<password>]]
    -authonly [<user> [<password>]]
    -passwd <user path> [<new password> | <old password> <new password>]
    Entering interactive mode...
    The above is for 10.4 and should server equally as well for 10.5.
    Hope this helps, Tony

  • Powershell script - how to read a registry hive and store the value in text file and then again read the text file to write the values back in registry

    Hi All,
    powershell script Method required to read a value from registry and then taking the backup of that values in some text file.
    For example the hive is
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
    and under path i need to take back up  of values in some text file and then put some value in the registry after back is taken in text file.
    Also how to read the text file values so that we can again write to registry hive  back from the back up text file.
    Your help is much appreciated.
    Umeed4u

    I think you need to read this first:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/a0def745-4831-4de0-a040-63b63e7be7ae/posting-guidelines?forum=ITCG
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • Script in template using SOAP: Works in designer preview, not in rendering from LC Output

    I did a script in a livecycle ES2 Template in the event layout::ready. It call a web service using the SOAP method to get a base64 image from another server.
    The code is (the service called is fake, but it is not the problem):
    var sOptions = "";
    var imageType="JPEG";
    var input= {imageType:sItype,
            options:sOptions};
    var svcResponse;
    try
         var oListURL = "http://someserver.somedomain.com:8080/service?wsdl";
         SOAP.wireDump = true;
         var service = SOAP.connect(oListURL);
         //call the service
         svcResponse = service.getImageBinary(input);
         //transfer image in grahic object
         this.GraphImage.rawValue=svcResponse;   
    }catch(e){
         svcResponse = e.message ;
         root.PaginaUNO.TextField1.rawValue = e.message;
    This script WORKS PERFECTLY using the Livecycle Designer Preview. The image is got and correctly showed.
    When I want to render the PDF via Livecycle Server (calling the output service), I got an error:
    "SOAP is undefined."
    The server on which runs Livecycle has Acrobat 9 pro installed; is the same server on which I run Workbench and Designer. It seems that, trying to execute the script it misses something, maybe a class or something where is declared the SOAP object.
    Can someone give me a hint, please?

    Hi,
    I think the LC Output does not use Acrobat to render XDP's and the LC Output does not have a SOAP object and this is why I think you are getting the error.
    I can't think how to work around this, other that to try and make the code only run once it is opened in the Acrobat host and not on the server while it is being rendered.
    Regards
    Malcolm

  • Batch Script to display last modified file from multiple directories

    Hello,
    I am trying to find the name of the latest file  or the last modified file from a set of given directories.
    I approached the problem by breaking it into two parts: a.  read all the directories from a .txt file and display the names of those directories and files under those directories.  b. Find the latest file present in any given directory and
    Upto this point all worked well, but when I am trying to combine both these batch scripts, I am unable to get the desired result.
    I am using BATCH SCRIPT only to complete this.
    My tried script is as below:
    a.  TO SEE ALL THE DIRECTORIES SPECIFIED IN "path_123.txt" FILE
    for /f "delims=" %%i in ('type "C:\Users\sonkar\Desktop\path_123.txt" ') do (set locall=%%i
    echo %locall%
    echo %%i
    b.  TO FIND THE LATEST FILE PRESENT IN THE DIRECTORY
    set BUILDDROP="E:\"
    for /f "tokens=*" %%a in ('dir /A:-D /B /O:-D %BUILDDROP%') do set NEWEST=%%a&& goto :next
    :next
    echo %NEWEST%
    But when combining both is not working at all.
    Any help is appreciated.

    Since batch files lack the ability to do date arithmetic you are pushing them well beyond their limits. Either VBScript of PowerShell could handle this type of task. Here is a VBScript solution. You must save the code in a .vbs file, then modify it to suit
    your exact needs.
    'Find the most recent file in a collection of folders
    '11 Sep 2014 FNL
    Dim dDate, dDate_, sFile, sFile_
    Set oFSO = CreateObject("Scripting.Filesystemobject")
    Set oList = ofso.OpenTextFile("C:\Users\sonkar\Desktop\path_123.txt", 1)
    aList = Split(olist.ReadAll, vbCrLf)
    oList.close
    dDate = cdate("01/01/2000")
    For Each sFolder In aList
        dDate_ = cdate("01/01/2000")
        ProcessFolder(sFolder)
        If dDate_ > dDate Then
            dDate = dDate_
            sFile = sFile_
        End If
    Next
    WScript.Echo "Most recent file: """ & sFile & """"
    WScript.Echo "File date: " &dDate
    Sub ProcessFolder(sFldr)
        If LTrim(sFldr) = "" Then Exit Sub
        WScript.Echo "Processing """ & sFldr & """"
        For Each oFile In oFSO.GetFolder(sFldr).Files
            If oFile.DateLastModified > dDate_ Then
                dDate_ = oFile.DateLastModified
                sFile_ = oFile.Path
            End if
        Next
        For Each oFolder In oFSO.GetFolder(sFldr).SubFolders
            ProcessFolder(oFolder.path)
        Next
    End sub

  • Java Script in Templates issue

    I have created a help system for our new financial reporting
    system and a developer has created a template which includes Java
    scripted 'Rate this page' radio buttons and a comments field in the
    header. I have imported the template into my project and attached
    all the topics to this template. When I preview or regenerate/view
    the HTML output and click on the comments field an error is
    returned.
    Our developer can get this to work on his machine but not
    mine (I.E security setting have been set to low but it still wont
    work).
    When I generate on the developers machine, we get our Java
    script code in the headers but not when we generate on my machine.

    Sorry - v rude of me:
    Any help/suggestions would be gratefully considered

  • Script to Find latest Modify date, and email alert if last modify is older than 4hrs or so

    So, I want to monitor a directory, and get an alert if any file in the directory was not modified in the last, 4 hours or so.  
    I think I'm on the right track, but I'm missing some pieces here.  Any suggestions?
    Here's what I got so far:
    ::Set time and date to use later if needed
    set currentTime_Date=%time% %date%
    ::For loop to pull the last file (I can't seem to pull the last modify time/date with it... this is where I need a hand)
    FOR /F "delims=" %a IN ('DIR "*.*" /B /O:D') DO SET NewestFile=%a 
    ::Email latest file using blat
    blat.exe -to [email protected] -server [email protected] -f [email protected] -subject "File Checker" -body "test" -attach %NewestFile%
    (Not sure if I can use the variable for my newest file here or not)
    Any suggestions?

    Upgraded to V4 PS, and same error with this script (Note you had the variables and first function doubled up)
    $folder='C:\v1\temp'
    $Logfile = "C:\PicksheetMonitoring\WhileLoop.log"
    function logit($msg){
    $msg='[{0}]{1}' -f [datetime]::Now, $msg
    $msg|Out-File $logfile -append
    logit 'Running check'
    if([datetime]::Now - (Get-Item $folder).LastWriteTime -gt [timespan]'0:4:0:0'){
    Send-MailMessage -to "Picksheet Analysis <[email protected]>" -from "Picksheet Alerting <[email protected]>" -subject "It's been at least 4 hours since last Automation run" -smtpserver "exch01.domain.com" ..
    logit 'alert sent'
    }else{
    logit 'all files good'

  • Getting Action Script 3 to work in Action script 1 template?

    Hi all,
    I'm creating an interactive Flash project based on an AS1 template, but a lot of my effects (scenes in separate swf files) are action script 3.0. I am working with Flash CS5, which can run everything in the AS1 template, but I wasn't sure how to get the Action Script 3.0 swfs to play in it. Any recommendations? Some of the effects and interactions are pretty basic (eyes following cursor, rain, etc.) but I haven't been able to find the Action Script 1 equivalents of these effects and I wasn't sure if there was a way to get this to work.
    Thanks
    J

    Hey, thanks so much for your reply!
    I'm sorry, but I'm having a little trouble following your suggestion - do you mean I would need to reprogram and change all the AS 1 code to be AS 3? Or how would I create an AS 2 SWF Container swf? The piece is a website, there's already an AS 1 container (index) file loading the other swfs. So would I make a CONTAINER #1 (Actionscript 2) --> CONTAINER #2 (Action Script 1)--> Other swfs? What would be simplest?

  • SAP Script Wrod template

    I am trying to add a couple of new columns to a grid being output in SAP script.  The particular SAP script is using the word editor and there appears to be some default tabs included in the word template.  So I am unable to add new tabs to this grid.
    The template includes 4 tabs positioned on the word editors ruler and anything I add is simply ignored and it returns to the 4 tabs postions already there.
    Does anyone know how this is maintained?

    It turned out the tabs were linked to the paragragh format, I was looking at the worng one.  Doh!

  • Photoshop script Get template from Bridge selection

    Hi,
    I was looking for a script to get selected template pdf file in bridge selection to open in photoshop by an photoshop plugin. script should auto configure by default to document size as pervious opened or created document. Later user need to select a bunch of images to set in that opened document of the template.    

    Rags also has a script to build PSD collage templates and scripts to populate then and there is my Photo Collage Toolkits the make it easy to create template files and populate then. Also included is a script the lets you tile images into a document.  Designed to let you ptint image on roll paper without paper waste.
    Photo Collage Toolkit UPDATED Dec 3, 2012 Added Animated SnowGlobe, SnowGlobe Action Set, SnowGlobe Template and SnowGlobe Video Demo.
    http://www.mouseprints.net/old/dpr/PhotoCollageToolkit.html
    Paste Image Roll http://www.mouseprints.net/old/dpr/PasteImageRoll.html

  • Modify Registry Key in PowerShell

    I am trying to create a script to change a registry key or import a key into multiple computers. This is what I have but it is not working....this is what I have 
    $computer = Get-Content -path c:\computers.txt
    foreach ($computer in $computer) {
    Set- -cn $computer -ScriptBlock New-Item -Path HKLM:\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Seamless Windows -Name DeferredUpdateMode -Value False -Type String
    Thanks in advance!

    You need to use an explicit ScriptBlock:
    $sb={
    New-Item -Path 'HKLM:\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Seamless Windows' -Name DeferredUpdateMode -Value False -Type String
    $computer = Get-Content -path c:\computers.txt
    foreach($computer in $computer){
    Invoke-Command -cn $computer -ScriptBlock $sb
    It would be best to do this with Group Policy.  It would be consistent and  automatic.
    ¯\_(ツ)_/¯

  • Automation Scripts: missing template.10135.rsp file

    Hello, the script 10_int_10135_patchset.sh needs the file template.10135.rsp and this file is absent from the scripts set.
    How can I obtain it?
    Thank you

    Hi,
    the content of the file is below, we apparently missed to include it. We will make sure to update to package to fix this.
    Gerhard
    RESPONSEFILE_VERSION=2.2.1.0.0
    DECLINE_SECURITY_UPDATES=true
    FROM_LOCATION_CD_LABEL=<Value Unspecified>
    TOPLEVEL_COMPONENT={"oracle.as.j2ee.patchset","10.1.3.5.0"}
    SHOW_SPLASH_SCREEN=false
    SHOW_WELCOME_PAGE=false
    SHOW_CUSTOM_TREE_PAGE=false
    SHOW_COMPONENT_LOCATIONS_PAGE=false
    SHOW_SUMMARY_PAGE=false
    SHOW_INSTALL_PROGRESS_PAGE=false
    SHOW_REQUIRED_CONFIG_TOOL_PAGE=false
    SHOW_CONFIG_TOOL_PAGE=false
    SHOW_RELEASE_NOTES=false
    SHOW_ROOTSH_CONFIRMATION=false
    SHOW_END_SESSION_PAGE=false
    SHOW_EXIT_CONFIRMATION=false
    NEXT_SESSION=false
    NEXT_SESSION_ON_FAIL=false
    NEXT_SESSION_RESPONSE=<Value Unspecified>
    DEINSTALL_LIST={"oracle.as.j2ee.patchset","10.1.3.5.0"}
    SHOW_DEINSTALL_CONFIRMATION=false
    SHOW_DEINSTALL_PROGRESS=false
    CLUSTER_NODES={}
    ACCEPT_LICENSE_AGREEMENT=false
    oracle.owsm.core:PROD_HOME=<Value Unspecified>
    oracle.toplink.developer:PROD_HOME=<Value Unspecified>
    oracle.apache2.server:PROD_HOME=<Value Unspecified>
    oracle.oc4j_extended:PROD_HOME=<Value Unspecified>
    oracle.apache2.modules:PROD_HOME=<Value Unspecified>
    oracle.adfp.lib:PROD_HOME=<Value Unspecified>
    oracle.toplink:PROD_HOME=<Value Unspecified>
    oracle.idm.rsf:PROD_HOME=<Value Unspecified>
    oracle.as.portal.welcomepages:PROD_HOME=<Value Unspecified>
    oracle.iappserver.security.osdt:PROD_HOME=<Value Unspecified>
    oracle.ias.ha.midtier:PROD_HOME=<Value Unspecified>
    oracle.rsf.has_rsf:PROD_HOME=<Value Unspecified>
    oracle.rsf.ops_rsf:PROD_HOME=<Value Unspecified>
    oracle.apache.oradav:10.1.3.1.0:PROD_HOME=<Value Unspecified>
    oracle.owsm.core:szl_OC4JInformation=<Value Unspecified>
    oracle.tip.esb.runtime:szl_OC4JInformation=<Value Unspecified>
    oracle.tip.pcbpel.runtime:szl_OC4JInformation=<Value Unspecified>
    oracle.as.j2ee.top:szl_OC4JInformation=<Value Unspecified>
    oracle.owsm.core:bMaskValidationOC4JInfo=<Value Unspecified>
    oracle.tip.esb.runtime:bMaskValidationOC4JInfo=false
    oracle.tip.pcbpel.runtime:bMaskValidationOC4JInfo=false
    oracle.apache.apache:s_group="oracle"
    oracle.apache2.server:s_group=<Value Unspecified>
    szl_IASAdminPWInformation=<Value Unspecified>
    szl_IASAdminInformation=<Value Unspecified>
    szl_OWSMInformation=<Value Unspecified>
    s_http_host=""
    s_asInstanceName="IAS-1.nodeB.mycluster.com"
    s_adminName="oc4jadmin"
    OPTIONAL_CONFIG_TOOLS="{}"
    [email protected]

  • Where can I find the reference for modifying registry key for acrobat reader

    I am a Web Developer and I need to limit the option the user may choose in acrobat reader plugin.
    I doubt if there is option to configure in Windows Registry on HKCU\Software\Adobe\Acrobat Reader\9.0\PrefsDialog.
    Anyone know where I can find the reference for those registry key?
    I have downloaded sdk91_v2_win.zip file but I cannot find any reference.

    Refer to this:
    Direct Download Links for Adobe Software
    Mylenium

  • Flash templates -- create/modify own

    I want to create a video template with a video category. How
    to create a new folder/category?
    And when I "saved as", do I find it in the drop-down..
    Than, I later wanted to delete it. How can I do this? I went
    into the folder on HD, but when I deleted it here, it doesn't go
    away in drop-down??

    oh - i should clarify - sounds like you deleted from user
    folder - if you want to delete globally
    (for all users), find the teplates folder in your Program
    Files folder where flash is installed.
    Tip of the day: create a shortcut to folders like this and
    others you may open periodically (like
    Commands, Common Libraries, etc)
    Chris Georgenes
    Animator
    http://www.mudbubble.com
    http://www.keyframer.com
    Adobe Community Expert
    *\^^/*
    (OO)
    <---->
    mike8881 wrote:
    > I want to create a video template with a video category.
    How to create a new
    > folder/category?
    >
    > And when I "saved as", do I find it in the drop-down..
    > Than, I later wanted to delete it. How can I do this? I
    went into the folder
    > on HD, but when I deleted it here, it doesn't go away in
    drop-down??
    >

Maybe you are looking for

  • Creative Zen - Transfering from the Computer to Zen. He

    Hi there. I've just got a Creative Zen and i've got a bit of a problem with it. Basically, i've transfered some music to the computer, but i can't transfer it to the actual Creative Zen. I've plugged the machine in through the USB but in Sources, it

  • Cisco Web Caching Solution

    Hi There, I need a high availability web caching solution for 500 users, preferential with proxy funcionality. Cisco had the Cisco Web Caching Engine, but it is End-of-Sales already. The new product that will replace the EOS product, is Wide Area App

  • How do i get my new tabs work?

    I use to be able to open new tabs, until lately i tried it did not work. How do I fix this issue. I tried to computer restore already but that is not solve the issue.

  • Using Login Scripts with OD

    Has anyone had success using login scripts from OD? When I try to add a script to the login prefs, i get an error that the script is not executable. Alternately, could anyone suggest an effective way to mount volumes based on user group membership? I

  • Master/Details tables with CASCADE delete giving "table mutating" error

    Hi, I have two tables in a master/details configuration (table 1 is "master", table 2 is "details"). The details has a FK contraint relation to the master with a CASCADE delete (so when the master is deleted, all associated details are deleted). The