Gateway SSL / ACS deployment / running * bat files

My current setup works with users who authenticate via ACS.

The proxy settings get downloaded to the client based on which group he belongs on ACS.

I would like to see if I can't launch the good old *.bat file while a user opens a session. The main idea behind this is where some users log on the field.

they get the drives mapped via AD. I want map drives using the same script file using the anyconnect client.

I wish I had the ACS to control it - an idea, or if it can be done the same?

Hi Martin,

AFAIK, this cannot be done at the present time, at least the way you had in mind.

What you can do is either:

-set the ASA to push a script OnConnect, OnDisconnect (.bat file) to the client, but this will be the same script for all users, so in regards to customization you are limited to use regardless of the variables available to you.

For example you could do something like "net use \\server\%username%" to map personal user part.

OR

-Stand the script on the user's local file system, and it will be executed every time AC (say) connects.

Obviously in this way, you can customize the script for each user, but this must be done manually.

See:

http://www.Cisco.com/en/us/docs/security/vpn_client/AnyConnect/anyconnect24/Administration/Guide/ac03features.html#wp1068902

HTH

Herbert

Tags: Cisco Security

Similar Questions

  • Windows does not run the .bat files

    So, this happened to me before, and I never seem to be able to find a solution.

    Whenever I try to run a batch file, I get an error saying '... Cannot find C:\Users\Kyle\Desktop\something.bat.

    I try to run it through run them, CMD, shell, and nothing will happen otherwise that "cannot locate 'something' c.

    So, I'm trying to edit the .bat with the exact location, and nothing happens. I still get the error.

    In this case, I am trying to run a decompiler for source games .bsp map, but it's already happened.

    See the solution in this thread

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-security/unable-to-run-bat-file-in-Windows-7/71509d83-27A1-4c5a-ABE9-a627489880f3

    Check theshortcut icon properties, check that they are pointing to the bat/s file.

  • Problem executing .bat files

    Hello

    Recently I found myself unable to run .bat files. When I try to do, the computer slows down terribly and it takes forever to load cmd.exe and more to run each command. If, by chance, the .bat file terminates its execution, the computer plays again slowly, freezing the mouse and do not let me interact with the interface graphics or even open the Task Manager. This also limits me a lot, because I can not install MinGW + MSYS (timeout error), Java 6u21 (loads but does nothing), or I can use the .bat files to speed up tedious work.

    There is an exception to this situation, and this happens when I run the .bat from an already open terminal file, but that only solves the third problem (using files .bat for boring tasks).

    I have Windows Vista SP2 running on a PC of 2007 with Intel Core 2 Quad to 2.4 GHz, 3 GB RAM and graphics card ATI Radeon 2600 HD Series. For security reasons, I use the Windows Firewall and Panda Antivirus Pro 2010.

    Any help is greatly appreciated.

    EDIT: I have a little... news. Their execution in safe mode doesn't cause any slowdowns and, also, the virus seems to be innocent (but I can't be sure, that he has disappointed me so much this year). This probably means that some process is blocking or running the files beats during a normal filtering mode.

    Try a boot minimum http://support.microsoft.com/kb/929135.  If the problem goes away then it's just a matter of tracking down the culprit at the origin of the problem.   Follow the procedures described in the article.  Once found, remove, delete, disable or uninstall.  Once remember to put Vista in normal status, as described in the procedures. If the problem occurs in clean mode then just restore the system to normal and reboot - this solution will not work. Given that the problem does not occur in Mode safe, I have better average hope that this process would work - but it will try it and see.

    I hope this helps.  If this isn't the case, after return and we will try other options.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I open a .bat file in wordpad by mistake and saved as a .txt file and on all bat files the icon became a txt icon

    I opened a .bat file in wordpad by mistake and saved as a txt file and icon on all files bat transformed into an icon of txt. So I can't run bat files either. Simply open wordpad all the time. How can I activate this return?

    I also received a reply from a friend before subsequently I tried method 2. He found this site: http://www.sevenforums.com/tutorials/19449-default-file-type-associations-restore.html

    Its almost the same thing but U don't need to go into the many catalogs.

    Just download the Default_BAT.reg and run it. And restart the computer, and it works again. http://www.SevenForums.com/attachments/tutorials/168956d1312706042-default-file-type-associations-restore-default_bat.reg

    Thanks to everyone who answered my question.

    Concerning the SwedenDanny Pentecost

    I also received a reply from a friend before subsequently I tried method 2. He found this site: http://www.sevenforums.com/tutorials/19449-default-file-type-associations-restore.html

    Its almost the same thing but U don't need to go into the many catalogs.

    Just download the Default_BAT.reg and run it. And restart the computer, and it works again. http://www.SevenForums.com/attachments/tutorials/168956d1312706042-default-file-type-associations-restore-default_bat.reg

    Thanks to everyone who answered my question.

    Concerning the SwedenDanny Pentecost

  • problems with the bat files.

    Why am I unable to run bat files in my pc. When I double click on them just opens and closes and I don't understand what is the real problem?

    Why am I unable to run bat files in my pc. When I double click on them just opens and closes and I don't understand what is the real problem?

    If it opens and closes, it probably * is * running the file beats. Only you don't see the results because it is all happening too fast.

    To view the results, change the way you run. Rather than run the bat file, run the CMD command. Then run the file bat in the CMD window that opens.

  • With the help of Remote Shell of Linux to run on Windows Server 2008R2 .bat files

    I use rsh to my Linux server to run Windows applications on a Windows 2003 server using .bat files remotely.  For example, from Linux:

    rsh win2008s.enterpisedomain.com D:\\appdev\\atm_ally\\bgr_atm_ally_standard_pip.bat ${PINSTANCE} {IVSWEBBROWSERUSER} ${PPASS} ${DINSTANCE} ${DUSER} ${DPASS}

    I want to be able to rsh to a Windows server 2008R2.  I installed SUA and the SDK and utilities.  I also installed the patch from this link:

    https://support.Microsoft.com/en-us/KB/2360829/en-us

    When I try to run the same command on Win2008R2, I get the following:

    RSH: D:appdevatm_allybgr_atm_ally_standard_pip.bat: not found

    I also tried to change the content of the file bat in the Unix syntax, following the signs to help SUA.  The following text runs if I use rlogin and run interactively, but fails to run using remote shell (rsh):

    #! / bin/ksh
    export PATH=/dev/fs/C/instantclient_12_1:/dev/fs/C/Windows/SUA/bin:/dev/fs/C/Windows/System32:/dev/fs/C/Windows:/dev/fs/C/Windows/System32/wbem:/dev/fs/C/Windows/System32/WindowsPowerShell/v1.0:/dev/fs/C/Program Files/FME2011:/dev/fs/C/Windows/SUA/common:/dev/fs/C/Windows/SUA/usr/lib
    export PATH_WINDOWS=/dev/fs/C/Windows/System32/.com,.exe,.ksh,.bat,.cmd,:/dev/fs/C/Windows/SUA/common/.com,.exe,.ksh,.bat,.cmd
    ' / dev/fs/program/C Files/FME2011/fme.exe ' E:\\appdev\\standard\\standard_pip.fme--BndTab BOUNDARY2015. BND_01_DMA - BndInst DWSTG - BndU atm_ally - edwat56c1 - BndIDCol GEO_ID - BndDType PBED ' VARCHAR2 (25) ' PntTab - V_ATM_JAN15_GEOCODE - PntInst DWSTG - PntU ATM_ALLY - edwat56c1 - PntID ID - PntIDType PntP ' VARCHAR2 (8) ' - PntLat N_LAT - PntLng N_LON - PntLatType "NUMBER (10.6)"-PntLngType "NUMBER (11.6) ' DestTab - ATM_JAN15_DMA - DestInst DWSTG - ATM_ALLY - edwat56c1 - NearDist DestP DestU 0 - Logfile 'test2.log '.

    using rsh:

    rsh win2008s.enterpisedomain.com /dev/fs/E/appdev/atm_ally/test_pip_win.ksh

    remote shell fails with the error:

    ' / dev/fs/C/Program Files/FME2011/fme.exe "no such device

    Anyone have any ideas?

    Your query is better here

    https://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

  • My VB2013 exe will not run the Task Scheduler but works very well for direct click in Explorer as well as a BAT file.

    The program is configured to run from a direct click using a text file specifying where the source files and destination.  Worked very well for a direct click or from the. BAT file.   It runs the Task Scheduler, I can see it appear in the Excel Task Manager when it is active.  But while it freezes.  He reads the spreadsheet looking for specific elements then output to a CSV text file.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • I, stupid, changed the program by default to a BAT file to the cmd prompt, well, now I can't run the batch files now, please help!

    I, stupid, changed the program by default to a BAT file to the cmd prompt, well, now I can't run the batch files now, please help!

    Hi William,.

    Welcome to the Microsoft community.

    Batch file is a type of script file, a text file, containing a series of commands to be executed by the command prompt. When you run a batch file, it opens the command prompt to run the scripts.

    It would be great if you can answer the following questions:

    1. what happens when you try to run a batch file?

    2 are. what batch file you referring?

    3. the problem occurs for a particular batch file?

    First of all, I suggest you to check the commands written in a batch file. To do the same thing, just right-click on the batch file, and then click change. It will open Notepad with the list of orders scripted for this particular batch file.

    If you have additional questions on the computer, please ask your question about Windows and we will be happy to help you.

  • bat file does not run through Planner

    Hi all

    I use oracle 10g R2 on windows 64-bit.

    I have the following code to run an executable after all each day of 5 minutes except FRIDAY and SATUREDAY.

    He runs a .bat file. If I double click on the file beats, it works well. but it is not run by the Scheduler.

    begin
      dbms_scheduler.create_schedule(
           schedule_name   => 'populate_free_pc_5_mint',
           repeat_interval => 'FREQ=MINUTELY; INTERVAL=5;
    BYDAY=TUE,WED,THU,SUN,MON;' ,
           comments        => 'schedule to run daily after 5 minutes');
      dbms_scheduler.create_program
        (  program_name   => 'Populate_Free_PC',
           program_type   => 'EXECUTABLE',
           program_action => 'F:\free_access_lab\execute.bat >
    nul',
           enabled        => TRUE,
           comments       => 'Populate the free_pc table'
        );
    
      dbms_scheduler.create_job (
        job_name=>'refresh_free_pc',
        program_name =>'Populate_Free_PC',
            schedule_name=> 'populate_free_pc_5_mint',
        enabled      => true,
            comments     => 'populate the free_pc table after each 5 minutes' 
      );
    end;
    

    could someone guide me what is the problem?

    Thank you.

    Just try something like:

    "program_action =>" C:\WINDOWS\SYSTEM32\CMD.exe /c F:\free_access_lab\execute.bat > zero "

  • Run the .bat file using fileObj.execute () showing the result by completely removing the lines of code in extend script?

    Hi guys

    I created a dynamic .bat file created inside java and copy it to a location and managed through fileObj.execute ();

    Example of

    -------------------

    var line1 = 'some code ";

    var line2 = 'some code ";

    myCode var = line 1 + line 2;


    var myFileC = new file

    myFileC.open ('w');

    myFileC.write (myCode);

    myFileC.copy ("some location\file.bat");

    myFileC.close ();

    Run the .bat file

    batFile var = new file ("of the location\file.bat");

    batFile.execute ();

    Now .bat file is successfully executed but the content of this file created bat shows up to extend in script by removing all my code above...

    I have to cancel to do back whenever I run and sometimes accidentally I saved it lose all the code.

    can someone help with this problem?

    Simply change it to this:

    var myFileC = new File ("some location\file.bat");

    myFileC.open ('w');

    myFileC.write (myCode);

    myFileC.close ();

  • How to run the Extendscript .bat file?

    I have a file with some instructions .bat and I want that it runs from Extendscript.

    How to run the Extendscript .bat file?

    I tried execute(); order and it seems that .bat ran but no result, but when I double click on the .bat file all worksout very well.

    How used runtime.exec () extend the script?

    Can I communicate with Java JDK thru ExtendScript and run commands such as runtime.exec ()?

    can someone please?

    You can do it like this:

    var batFile = new File("C:\\path\\to\\my\\batfile.bat");
    batFile.execute();
    

    Note that this will only work if your system is configured in such a way that by double-clicking the .bat file runs it in reality.

    You can also use

    system.callSystem()
    

    but note that this is only available in AE.

  • Run the file custom FDM webscript bat

    Hello

    I'm a guy essbase/planning being introduced to the world of FDM and I have a custom webscript base that runs a .bat file that needs to copy some files, no maxl, just a simple COPY of MSDOS commands. The script is the following:

    Dim strCMD

    strCMD = "\ < servername > \FDMAPP\COPYFILES.bat.

    API. DataWindow.Utilities.mShellAndWait strCMD, 0

    When I run the script FDM appears "the script was successfully run" with no errors in the log, but the files are not copied.

    I know that the file is is that I added a script that displays the bat script.

    Will be the mShellAndWait command work only for running maxl commands or all sorts of external processes?

    Thanks for your help

    Santiago Ruiz Ingelmo

    Problem solved, had security problems.

    Morning coffee thank you!

  • Getting error while running ua.bat file to Oracle Data Integrator 12cR1 (12.1.2.0.0) version

    Hello

    I use windows 7 Professional (service pack 1) 64 bit operating system.

    After installation by running the file odi_121200.jar of odi 12 c (Enterprise edition), I get the following error when you attempt to run the ua.bat file.

    [2013 10-24 T 16: 49:07.861 + 05:30] (Framework) [INCIDENT_ERROR] [UPGAST-00056] [update. Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] error of initialization of the plugin update for ODI. ODI1

    [2013 10-24 T 16: 49:07.861 + 05:30] (Framework) [INCIDENT_ERROR] [] [update. Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] Cause: an unexpected error has occurred a upgrade plug-in initialization.

    [2013 10-24 T 16: 49:07.861 + 05:30] (Framework) [INCIDENT_ERROR] [] [update. Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] Action: Contact Oracle Support Services.  See the secondary error for more details.

    [2013 10-24 T 16: 49:07.861 + 05:30] (Framework) [INCIDENT_ERROR] [] [update. Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] []

    java.lang.reflect.InvocationTargetException

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

    at oracle.ias.update.plugin.Plugin.instantiatePlugin(Plugin.java:248)

    to oracle.ias.update.plugin.Plugin. < init > (Plugin.java:229)

    at oracle.ias.update.plugin.Plugin.getPlugin(Plugin.java:180)

    at oracle.ias.update.plan.PlanStep.getPlugin(PlanStep.java:335)

    to oracle.ias.update.plan.PlanString. < init > (PlanString.java:66)

    to oracle.ias.update.plan.PlanCustom. < init > (PlanCustom.java:74)

    to oracle.ias.update.plan.PlanStep. < init > (PlanStep.java:189)

    to oracle.ias.update.plan.PlanComponent. < init > (PlanComponent.java:203)

    at oracle.ias.update.plan.Template.load(Template.java:161)

    at oracle.ias.update.plan.Template.loadAllTemplates(Template.java:102)

    at oracle.ias.update.UpgradeDriver.loadConfiguration(UpgradeDriver.java:838)

    at oracle.ias.update.UpgradeDriver.main(UpgradeDriver.java:257)

    at oracle.ias.update.UpgradeDriver.main(UpgradeDriver.java:175)

    Caused by: java.util.MissingResourceException: can't find oracle.ias.update.plugin.odi.bundle.ODIResourceBundle bundle

    at java.util.logging.Logger.setupResourceInfo(Logger.java:1518)

    to java.util.logging.Logger. < init > (Logger.java:265)

    to java.util.logging.Logger. < init > (Logger.java:260)

    to oracle.ias.update.UpgradeLogger. < init > (UpgradeLogger.java:60)

    at oracle.ias.update.UpgradeLogger.getLogger(UpgradeLogger.java:93)

    at oracle.ias.update.LoggingManager.create(LoggingManager.java:249)

    at oracle.ias.update.plugin.UpgradePlugin.createPluginLogger(UpgradePlugin.java:195)

    to oracle.ias.update.plugin.UpgradePlugin. < init > (UpgradePlugin.java:181)

    to oracle.ias.update.plugin.odi.ODIPlugin. < init > (ODIPlugin.java:136)

    ... more than 17

    ]]

    [2013 10-24 T 16: 49:07.869 + 05:30] (Framework) [ERROR] [UPGAST-00259] [update. Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] method getInitialValue for plugin ODI. ODI1 will not be called because of a previous error.

    [2013 10-24 T 16: 49:07.869 + 05:30] (Framework) [ERROR] [] [update. Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] Cause: an error occurred when loading or initializing the plugin that prevents the getInitialValue of execution method.

    [2013 10-24 T 16: 49:07.869 + 05:30] (Framework) [ERROR] [] [update. Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] Action: review the log file for more details.

    [2013 10-24 T 16: 49:07.870 + 05:30] (Framework) [INCIDENT_ERROR] [] [update. Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] UPGAST-00251: an error occurred reading file descriptor to upgrade ODI\INSTALLATION\odi12cInstallation_1\odi\plugins\upgrade\odi.xml

    [2013 10-24 T 16: 49:07.870 + 05:30] (Framework) [INCIDENT_ERROR] [] [update. Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] file is not consistent with the expected syntax.

    [2013 10-24 T 16: 49:07.870 + 05:30] (Framework) [INCIDENT_ERROR] [] [update. Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] see the secondary message for more information. Contact the Oracle Support.

    [2013 10-24 T 16: 49:07.871 + 05:30] (Framework) [INCIDENT_ERROR] [] [update. Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] UPGAST-00259: method getInitialValue for plugin ODI. ODI1 will not be called because of a previous error.

    [2013 10-24 T 16: 49:07.871 + 05:30] (Framework) [INCIDENT_ERROR] [] [update. Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] []

    oracle.ias.update.exception.UpgradeException: UPGAST-00259: method getInitialValue for plugin ODI. ODI1 will not be called because of a previous error.

    at oracle.ias.update.plugin.Plugin.getInitialValue(Plugin.java:317)

    to oracle.ias.update.plan.PlanString. < init > (PlanString.java:67)

    to oracle.ias.update.plan.PlanCustom. < init > (PlanCustom.java:74)

    to oracle.ias.update.plan.PlanStep. < init > (PlanStep.java:189)

    to oracle.ias.update.plan.PlanComponent. < init > (PlanComponent.java:203)

    at oracle.ias.update.plan.Template.load(Template.java:161)

    at oracle.ias.update.plan.Template.loadAllTemplates(Template.java:102)

    at oracle.ias.update.UpgradeDriver.loadConfiguration(UpgradeDriver.java:838)

    at oracle.ias.update.UpgradeDriver.main(UpgradeDriver.java:257)

    at oracle.ias.update.UpgradeDriver.main(UpgradeDriver.java:175)

    ]]

    Thanks and greetings

    Sunil

    OK - I think I did.  Seems to be a known issue.  You must apply the hotfix p17073913_121200.

    Which I downloaded and applied to my version of Linux - then re-directed to the AU.  This time the GUI started and now I'm going through the upgrade steps.

    The patch is generic, so should work for your windows environment.  Good luck.

  • Run the script FDM Essbase, no .bat files

    I want to run a script directly from FDM Essbase without needing to use a .bat file.
    I went to hollow post where calls MaxL scripts are discussed, but I have not found anywhere, there is a solution for sending a script to essbase.

    I have problems connecting to essbase using already existing and subsequently adapter configurations send an essbase script to the server. This is done for example in the Load event - where the essbase data are disabled. I would need assistance on how to implement this kind of soluition in the event script for example BefImport.

    Hi Nicklas,

    A couple of things to note.

    You must pass a 1 as the first parameter to use a file as a calculation script. Note that a calculation .csc script example files that are in your database and it's called AggMonth.csc you would spend in:
    Set objHWRerurn = API. IntBlockMgr.IntegrationMgr.PobjIntegrate.varCon.DataManipulation.fCalculate(1,"AggMonth")

    If you use 2 as the parameter to the fCaculate function, which means that the calculation script is a string, you can search for 'Essbase calculation chain' in the adapter to see how it works.

    If you really want to use a .maxl script and not an Essbase calc script you do not use the fCaculate function and will shout to essmsh.exe with parameters that does not use FDM adapter functions.

    PS You can also configure features of validation in FDM and assign scripts to those and then tell FDM you use 'file '. For the planning/essbase, it makes more sense to have just a script probably the method you follow.

    Kind regards

    John A. Booth
    http://www.metavero.com

    Published by: Jbooth on March 18, 2011 09:25

  • FDM using so we can run the .bat file

    Hello

    I am trying to automate the process of load, IE I want to load data using FDM in essbase and once the data is loaded I want to launch a file beats through which in the essbase run scripts agg.

    If can I write it in the Aftload a script to call the .bat file that contains scripts agg.

    Is it possible to do?

    Can anyone help give me an idea for me on this?

    Thank you

    The Essbase adapter runs natively an aggregation after load if you properly configure the metadata. I suggest you only consult the Readme adapter.

Maybe you are looking for