Disable or quiet UAC without reboot from command line

I need to be able Disable or quiet UAC without reboot from command line without user confirmation as local system
We use LANDesk and I want to add a part of the script to install turning off or quieting UAC, run install and them turn UAC on
Not all users are Admins so I can run as current logged on user but if admin rights are not need I can run a pre install task as local user run the
install task then run a post install task to turn it on
It doesn’t have to be a command line it can be an app Ii position on each machine then call if it can run silently

Hi,
Thanks for posting in Microsoft TechNet forums.
To disable UAC, you can take either of the following methods:
1.    
If you use Group Policy to manage UAC, you can edit the local security policy to control this:
1)   
From the Start search bar, type "Local Security Policy"
2)   
Accept the elevation prompt
3)   
From the snap-in, select Security Settings -> Local Policy -> Security Options
4)   
Scroll down to the bottom, where you'll find nine different group policy settings for granular configuration of UAC.
2.    
Use the following script to elevate the privilege in Windows Vista.
Scripting Elevation on Vista
3.    
You can also modify the registry through the following command line:
REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0x0 /f
Important caution:
please backup your registry before modifying it, any incorrect modification can cause a unrecoverable damage.
Best Regards 
Dale Qiao
TechNet Subscriber Support in forum. If you have any feedback on our support, please contact
[email protected]

Similar Messages

  • Why not all jars picked up by ojdeloy and how to generate build.xml from command line and not JDEV GUI - quick question

    Hi All
    We have 11.1.1.7 ojdeploy to compile our app.
    We notice in the log that not all jars are used in classpath arguments when we explicitly set them up for compilation.
    eg:
      <path id="classpath">
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/a.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/b.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/c.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/d.jar"/>
    </path>
    Log Output -
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/bin/javac
    [ora:ojdeploy] -g
      [ora:ojdeploy] -Xlint:all
      [ora:ojdeploy] -Xlint:-cast
    [ora:ojdeploy] -Xlint:-empty
      [ora:ojdeploy] -Xlint:-fallthrough
      [ora:ojdeploy] -Xlint:-path
      [ora:ojdeploy] -Xlint:-serial
      [ora:ojdeploy] -Xlint:-unchecked
      [ora:ojdeploy] -source 1.6
      [ora:ojdeploy] -target 1.6
      [ora:ojdeploy] -verbose
      [ora:ojdeploy] -encoding Cp1252
      [ora:ojdeploy] -classpath
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/resources.jar:
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/rt.jar:
      [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/jsse.jar:
        [ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/a.jar"/>
        [ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/c.jar"/>
    1- Is it because it depends on how jpr or jws are configured ?
    2- How can we automatically generate a build file of the application from command-line (as opposed to using Jdev IDE to click to generate a build.xml) ?

    The first  warning is happening because you're stating drivers for input devices without need. You haven't disabled hotplug so evdev gets used instead of kbd. This is normal, and you should change the driver line from kbd to evdev so that whatever options (if any) you've specified for the keyboard get parsed.
    The second warning is about you not installing acpid.
    The third I have no idea about, but look at the synaptics wiki. None of the (WW) are related to your video card.
    And every card that has 2 or more output ports show up as "two cards". You also don't need to specify the pci port in xorg.conf. edit: this is the general case with laptops, might be different for desktops.
    When I do lspci -v I get:
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
    Subsystem: Micro-Star International Co., Ltd. Device 0110
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at dfe80000 (32-bit, non-prefetchable) [size=512K]
    I/O ports at d0f0 [size=8]
    Memory at c0000000 (32-bit, prefetchable) [size=256M]
    Memory at dff00000 (32-bit, non-prefetchable) [size=256K]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
    Subsystem: Micro-Star International Co., Ltd. Device 0110
    Flags: bus master, fast devsel, latency 0
    Memory at dfe00000 (32-bit, non-prefetchable) [size=512K]
    Capabilities: <access denied>
    And it doesn't matter if it errs in trying to sli up with it self. That's just not a possibility.
    Last edited by gog (2009-10-15 23:59:49)

  • CMake behaves differently from within PKGBUILD and from command line

    Hi,
    I am currently struggling with an issue which I cannot find a solution. The problem is, I am trying to create a PKGBUILD for the CasADi code. The following is the PKGBUILD file written. My problem is the cmake configuration part. When the code is configured from the command line, without PKGBUILD, camke detects the -fopenmp flag for C and C++ compilers. For exactly the same compilers, cmake detects openmp for C compiler but fails to do so for the C++ compiler, when configuration is done from within the PKGBUILD file using makepkg.
    My question is, why different behaviors? Any suggestions on what is wrong?
    pkgname=casadi-git
    pkgver=0
    pkgrel=1
    pkgdesc="A symbolic framework for automatic differentiation and numeric optimization"
    arch=('i686' 'x86_64')
    url=""
    license=('GPL')
    groups=()
    depends=('sundials' 'ipopt' 'blas' 'lapack' 'python2')
    makedepends=('cmake' 'swig')
    checkdepends=()
    optdepends=()
    provides=('casadi')
    conflicts=()
    replaces=()
    backup=()
    options=()
    install=
    changelog=
    source=('casadi::git+https://github.com/casadi/casadi.git')
    md5sums='SKIP'
    build() {
    cd "$srcdir/casadi"
    sed -i 's/PythonLibs/PythonLibs 2.7/g' ./cmake_modules/FindNUMPY.cmake ./swig/CMakeLists.txt
    cmake . -DCMAKE_INSTALL_PREFIX=/usr \
    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
    -DWITH_DL:BOOL=ON \
    -DWITH_LLVM:BOOL=OFF \
    -DWITH_PYTHON_INTERRUPTS:BOOL=ON \
    -DWITH_OPENMP:BOOL=ON \
    -DWITH_OOQP:BOOL=ON \
    -DWITH_DOC:BOOL=ON \
    -DWITH_OPENCL:BOOL=OFF
    make
    package() {
    cd "$srcdir/casadi"
    make DESTDIR="$pkgdir/" install
    Output when cmake is run from command line
    -- The C compiler identification is GNU 4.8.1
    -- The CXX compiler identification is GNU 4.8.1
    -- Check for working C compiler: /usr/bin/colorgcc
    -- Check for working C compiler: /usr/bin/colorgcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- The Fortran compiler identification is GNU
    -- Check for working Fortran compiler: /usr/bin/gfortran
    -- Check for working Fortran compiler: /usr/bin/gfortran -- works
    -- Detecting Fortran compiler ABI info
    -- Detecting Fortran compiler ABI info - done
    -- Checking whether /usr/bin/gfortran supports Fortran 90
    -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
    -- Flag needed for enabling C++11 features: -std=gnu++11
    -- x86_64 architecture detected - setting flag -fPIC
    -- Try OpenMP C flag = [-fopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Success
    -- Try OpenMP CXX flag = [-fopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Success
    -- Found OpenMP: -fopenmp
    -- Looking for Fortran sgemm
    -- Looking for Fortran sgemm - found
    -- Looking for include file pthread.h
    -- Looking for include file pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - found
    -- Found Threads: TRUE
    -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1")
    -- A library with BLAS API found.
    -- Looking for Fortran cheev
    -- Looking for Fortran cheev - found
    -- A library with LAPACK API found.
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
    -- checking for one of the modules 'ipopt'
    -- Detected an IPOPT configuration without development headers. Build will proceed, but without callback functionality. To enable it, see https://github.com/casadi/casadi/wiki/enableIpoptCallback
    -- Detected an IPOPT configuration without sIPOPT headers. Build will proceed, but without sIPOPT functionality.
    -- Found IPOPT: ipopt;lapack;blas;m;dl;coinmumps;pthread;blas;gfortran;m;gcc_s;quadmath;coinmetis
    -- Could not find KNITRO include dir
    -- Could not find KNITRO library
    -- Could not find CPLEX include dir
    -- Could not find CPLEX libraries
    -- Could not find MA57
    -- MA57 libraries not found. Falling back to MA27
    -- Could not find MA27
    -- Could not find OOQP include dir
    -- Could not find SNOPT include dir
    -- Found Snopt libs: /usr/lib64/libf2c.a;/usr/lib64/liblapack.so;/usr/lib64/libblas.so;dl
    -- Could not find MATLAB include dir
    -- Could not find Matlab libs
    -- Could not find SNOPT include dir
    -- Found Snopt libs: /usr/lib64/libf2c.a;/usr/lib64/liblapack.so;/usr/lib64/libblas.so;dl
    -- Could not find MATLAB include dir
    -- Could not find Matlab libs
    -- Found SWIG: /usr/bin/swig (found version "2.0.10")
    -- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.5", minimum required is "2.7")
    -- Python executable is /home/hamid/bin/python
    -- numpy.get_include() is /usr/lib/python2.7/site-packages/numpy/core/include
    -- Numpy path found: /usr/include/python2.7/numpy
    -- Python libs: /usr/lib64/libpython2.7.so
    -- Numpy includes: /usr/include/python2.7/numpy;/usr/include
    -- Numpy libs: /usr/lib64/python2.7/site-packages/numpy/core/multiarray.so
    -- Found PythonInterp: /home/hamid/bin/python (found version "2.7.5")
    -- Found Doxygen: /usr/bin/doxygen (found version "1.8.4")
    -- Found DOXYFILE_IN: /usr/src/AUR/build/casadi/src/casadi/documentation/api-doc/Doxyfile.in
    -- pyreport not found -- try 'easy_install pyreport'
    -- The following features have been enabled:
    * dynamic-loading , Compile with support for dynamic loading of generated functions (needed for ExternalFunction)
    * using-c++11 , Using C++11 features (improves efficiency and is required for some examples).
    * sundials-interface , Interface to the ODE/DAE integrator suite SUNDIALS.
    * csparse-interface , Interface to the sparse direct linear solver CSparse.
    * lapack-interface , Interface to LAPACK.
    * ipopt-interface , Interface to the NLP solver Ipopt.
    * qpoases-interface , Interface to the active-set QP solver qpOASES.
    * dsdp-interface , Interface to the interior point SDP solver DSDP (requires BLAS and LAPACK).
    -- The following OPTIONAL packages have been found:
    * OpenMP
    * LibXml2
    * BLAS
    * Threads
    * LAPACK
    * PkgConfig
    * IPOPT
    * SWIG
    * NUMPY
    * PythonInterp
    * Doxygen
    -- The following features have been disabled:
    * just-in-time , Just-in-time compiliation via the LLVM compiler framework.
    * opencl-support , Enable just-in-time compiliation to CPUs and GPUs with OpenCL.
    * get-ipopt , Download and build Ipopt.
    * knitro-interface , Interface to the NLP solver KNITRO.
    * cplex-interface , Interface to the QP solver CPLEX.
    * ooqp-interface , Interface to the QP solver OOQP (requires BLAS).
    * worhp-inteface , Interface to the NLP solver Worhp (requires LibXml2 headers).
    -- The following OPTIONAL packages have not been found:
    * KNITRO
    * CPLEX
    * MA57
    * MA27
    * OOQP
    * MATLAB
    * OCTAVE
    * LATEX
    * PYREPORT
    -- Configuring done
    -- Generating done
    Output when running makepkg
    -- The C compiler identification is GNU 4.8.1
    -- The CXX compiler identification is GNU 4.8.1
    -- Check for working C compiler: /usr/bin/colorgcc
    -- Check for working C compiler: /usr/bin/colorgcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- The Fortran compiler identification is GNU
    -- Check for working Fortran compiler: /usr/bin/gfortran
    -- Check for working Fortran compiler: /usr/bin/gfortran -- works
    -- Detecting Fortran compiler ABI info
    -- Detecting Fortran compiler ABI info - done
    -- Checking whether /usr/bin/gfortran supports Fortran 90
    -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
    -- Flag needed for enabling C++11 features: -std=gnu++11
    -- x86_64 architecture detected - setting flag -fPIC
    -- Try OpenMP C flag = [-fopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Success
    -- Try OpenMP CXX flag = [-fopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [/openmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-Qopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-openmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [ ]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-xopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [+Oopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-qsmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-mp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Could NOT find OpenMP (missing: OpenMP_CXX_FLAGS)
    -- Looking for Fortran sgemm
    -- Looking for Fortran sgemm - found
    -- Looking for include file pthread.h
    -- Looking for include file pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - not found
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - found
    -- Found Threads: TRUE
    -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1")
    -- A library with BLAS API found.
    -- Looking for Fortran cheev
    -- Looking for Fortran cheev - found
    -- A library with LAPACK API found.
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
    -- checking for one of the modules 'ipopt'
    -- Detected an IPOPT configuration without development headers. Build will proceed, but without callback functionality. To enable it, see https://github.com/casadi/casadi/wiki/enableIpoptCallback
    -- Detected an IPOPT configuration without sIPOPT headers. Build will proceed, but without sIPOPT functionality.
    -- Found IPOPT: ipopt;lapack;blas;m;dl;coinmumps;pthread;blas;gfortran;m;gcc_s;quadmath;coinmetis
    -- Could not find KNITRO include dir
    -- Could not find KNITRO library
    -- Could not find CPLEX include dir
    -- Could not find CPLEX libraries
    -- Could not find MA57
    -- MA57 libraries not found. Falling back to MA27
    -- Could not find MA27
    -- Could not find OOQP include dir
    -- Could not find SNOPT include dir
    -- Found Snopt libs: /usr/lib64/libf2c.a;-lpthread;/usr/lib64/liblapack.so;/usr/lib64/libblas.so;dl
    -- Could not find MATLAB include dir
    -- Could not find Matlab libs
    -- Could not find SNOPT include dir
    -- Found Snopt libs: /usr/lib64/libf2c.a;-lpthread;/usr/lib64/liblapack.so;/usr/lib64/libblas.so;dl
    -- Could not find MATLAB include dir
    -- Could not find Matlab libs
    -- Found SWIG: /usr/bin/swig (found version "2.0.10")
    -- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.5", minimum required is "2.7")
    -- Python executable is /usr/bin/python2
    -- numpy.get_include() is /usr/lib/python2.7/site-packages/numpy/core/include
    -- Numpy path found: /usr/include/python2.7/numpy
    -- Python libs: /usr/lib64/libpython2.7.so
    -- Numpy includes: /usr/include/python2.7/numpy;/usr/include
    -- Numpy libs: /usr/lib64/python2.7/site-packages/numpy/core/multiarray.so
    -- Found PythonInterp: /usr/bin/python2 (found version "2.7.5")
    -- Found Doxygen: /usr/bin/doxygen (found version "1.8.4")
    -- Found DOXYFILE_IN: /usr/src/AUR/build/casadi/src/casadi/documentation/api-doc/Doxyfile.in
    -- pyreport not found -- try 'easy_install pyreport'
    -- The following features have been enabled:
    * dynamic-loading , Compile with support for dynamic loading of generated functions (needed for ExternalFunction)
    * using-c++11 , Using C++11 features (improves efficiency and is required for some examples).
    * sundials-interface , Interface to the ODE/DAE integrator suite SUNDIALS.
    * csparse-interface , Interface to the sparse direct linear solver CSparse.
    * lapack-interface , Interface to LAPACK.
    * ipopt-interface , Interface to the NLP solver Ipopt.
    * qpoases-interface , Interface to the active-set QP solver qpOASES.
    * dsdp-interface , Interface to the interior point SDP solver DSDP (requires BLAS and LAPACK).
    -- The following OPTIONAL packages have been found:
    * LibXml2
    * BLAS
    * Threads
    * LAPACK
    * PkgConfig
    * IPOPT
    * SWIG
    * NUMPY
    * PythonInterp
    * Doxygen
    -- The following features have been disabled:
    * just-in-time , Just-in-time compiliation via the LLVM compiler framework.
    * opencl-support , Enable just-in-time compiliation to CPUs and GPUs with OpenCL.
    * get-ipopt , Download and build Ipopt.
    * knitro-interface , Interface to the NLP solver KNITRO.
    * cplex-interface , Interface to the QP solver CPLEX.
    * ooqp-interface , Interface to the QP solver OOQP (requires BLAS).
    * worhp-inteface , Interface to the NLP solver Worhp (requires LibXml2 headers).
    -- The following OPTIONAL packages have not been found:
    * OpenMP
    * KNITRO
    * CPLEX
    * MA57
    * MA27
    * OOQP
    * MATLAB
    * OCTAVE
    * LATEX
    * PYREPORT
    -- Configuring done
    -- Generating done

    With a little creativity, you can actually do all that from the command line with a single command. It'll look a little crazy, but it can be done.
    Whether the script exists on the local machine or not has zero to do with platform indpendence. You assumedly have to get the application onto the local machine, so including the script is not really an issue at all. However, you're talking about system independence, yet still wishing to run command line arguments? The two are mutually exclusive.

  • VPN Client disconnection from command line

    Hi,
    I want to connect to IPsec VPN on ISA500 by VPN Client (v 5.0.07.0440, the last version, I think), using command line parameters.
    I can connect with the command:
    "%programfiles%\Cisco Systems\VPN Client\ipsecdialer.exe" -c -user myUser -pwd myPassword "MyConnectionEntry"
    but i don't know the command to disconnect from command lines.
    If I do
    "%programfiles%\Cisco Systems\VPN Client\ipsecdialer.exe" -?
    I obtain the list of parameters
    vpngui [-c | -sc [sd] [-user <username>] [-pwd <password> ! -eraseuserpwd]] <connection entry>
    but I don't unterstand what I have to do... I try every combination using -sd parameter (I think means for silent disconnect), but in every case I can only to show VPN interface  without disconnect anything...
    Can anyone help me?
    Thanks

    Prasath,
    This appears to be a data flow issue.  You need to look in the dataflow log file.  Your information indicates the project name is SAMPLES.xml, and the data flow ID is D20091213_014350765.  Look at the data flow log file in
    C:\dqxi\11_7\repository\configuration_rules\runtme_metadata\project_SAMPLES\D20091213_014350765
    Alternatively, you can temporarily replace the transactional reader and writter transforms with their corresonding batch transforms, and run the job from the Project Architect.  Any errors will be displayed in the Running window.
    Paul

  • Generating UDT from command line or C# code

    Hi,
    I want to write an application which is capable of generating UDTs and hence use the newly generated UDTs in C#. Right at the moment I can only generate the classes via the wizard in Visual Studio ("Generate Custom Class.."), but i know that e.g. for C++ it is possible to generate these types from command line - with OTT.
    I appreciate any help, finding a way to automatically generate the user defined types in C# (without manually mapping it).
    BR

    Hi Sathish,
    did you find a solution for this? I am looking for the same thing. I want to write a program(perl, batch script, etc.) which could automatically convert pdf to excel without any manual intervention.
    I have the acrobat javascript which could achieve this, but it can only be executed in arobat consolt.  I need it to be able to get executed in a script to automate the processing.
    thanks
    Warren

  • How to restore or backup Apex application from Command line ? URGENT

    We have Oracle apex 4.1 installed in Oracle 11g R2 database (windows 64-bit) 2008 R2
    For some reason our database dictionary objects are corrupted.
    We wanted to backup our Apex applications in some workspaces ASAP.
    We are not able to access apex from http://localhost:7777/pls/apex/htmldb_login
    We have an underlying database schema export (expdp).
    1) Is there a way to export or backup the apex application without logging into the apex URL ? if yes how ?
    2) Does Oracle has any of its own native tool to backup and restore from command line ?
    Thanks in advance

    My (MS Windows) experience, if I may; perhaps you'll find something useful.
    You'll find the README.TXT file in /apex/utilities directory. Read it.
    In order to use APEXExport, you need JDK version 1.5 or higher. Check your version by typing (and viewing the result):
    C:\>java –version
    java version "1.6.0_06"
    Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
    Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)Its directory should be part of the PATH environment variable: on my computer, directory name isC:\Program Files\Java\jre1.6.0_06\binFurthermore, Oracle JDBC class libraries must be part of the CLASSPATH environment variable. Check whether it exists (in Control Panel - System - Advanced - Environment Variables). For my 10gXE, it is here:C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jarI couldn't make it work; didn't know that ".\" directory must be entered into CLASSPATH as well (found that information in Arie Geller's book). Therefore, my final CLASSPATH version is:.\;C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jarOK, setup is done. Now, go to your /apex/utilities directory and, from the command prompt, run (mind the upper case!)java oracle.apex.APEXExportwhich will show a short help.
    I chose to export the whole workspace. In order to do that, I need the workspace ID (got it from Apex's SQL Workshop; that might be a problem as you can't get there, can you? I can't tell how to find that information apart from SQL Workshop, but I'm pretty sure someone, who is much more experienced than me, will know it). OK, here's how you find it:select v('WORKSPACE_ID') from dual;Finally, here's the final step - export:C:\apex\utilities>java oracle.apex.APEXExport -db localhost:1521:xe -user scott -password tiger -workspaceid 1038408092496568The result are fxxx.sql files (where "xxx" represents application number).
    I hope you'll manage to export your applications; basically, nothing special here (except that ".\" directory in the CLASSPATH variable).
    Best of luck!

  • SQL Developer BRIDGE command from command line on Windows environment

    Is it possible to call SQL Developer BRIDGE command from command line on Windows environment?

    Hi <please supply your name>,
    SQL Developer Worksheet is not available from the command line.
    The BRIDGE command is only supported in the Worksheet.
    Its an interesting idea though. Are you trying to script data move from a non Oracle database to an Oracle database using the BRIDGE command?
    The BRIDGE command was initially done to allow a simple data move from a non Oracle database to Oracle. We then build the "Copy to Oracle" feature out of it.
    http://dermotoneill.blogspot.com/2010/11/cross-database-bridge-statement.html
    http://dermotoneill.blogspot.com/2010/11/copy-to-oracle.html
    Since the BRIDGE command references connection names, which have to be defined in UI of SQL Developer any solution to run this on the command line would have to work this out.
    There are number of ways you can do this without using the BRIDGE command.
    1) Perform a capture/convert of your non Oracle database and then generate the "offline" data move scripts.
    Theses scripts use SQL*Loader and your non Oracle database tool (Ex: Sybase BCP).
    These are run from the command line and can be modified ....
    2) Use a database link from your Oracle database to your non Oracle database and reference /query the data that way.
    I would interested to hear your thoughts.
    Regards,
    Dermot
    SQL Developer Team.

  • Generating indexes in ds 5.2 from command line

    Hi;
    Could somebody please tell me how to generate the indexes from command lines without using the db2index.pl script. I cannot use this script as we donot have the necessary perl modules to resovle the password.
    your response is much appreciated
    thanks

    You don't need the necessary Perl modules, they are provided with the directory. So this command should work.
    And what do you mean by "resolve the password"?
    Other than that you can use db2index but your sever will have to shut down first. The db2index.pl can be run while the server is running. For usage please refer to the product documents at docs.sun.com in particular
    http://docs.sun.com/source/817-7613/indexing.html
    Regards,
    -Wajih

  • Use frmweb.exe to start a form from command line

    Following the following doc "start any Oracle Forms component from the command line"
    http://www.oracle.com/webapps/online-help/forms/10g/state/content/navId.3/navSetId._/vtTopicFile.f1_help%7Cbldr_dev_opts%7Cstart_fb_comps_cmd~html/
    I tried the following two command line
    D:\DevSuiteHome\BIN>frmweb module=c:\files\orders userid=scott/tiger@r12
    D:\DevSuiteHome\BIN>frmbld module=c:\files\orders userid=scott/tiger@r12
    The frmbld successfully brought up the forms builder and open the orders forms.
    But the frmweb did not bring up anything. I wonder if there are other parameters I need to provide rather than just module and userid......
    I looked into the html of the form applet, and wondering if passing all the parameters would be sufficient enough for the frmweb to start
    <PARAM NAME="serverArgs"
    VALUE="escapeParams=true module=c:\files\orders.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=YES obr=YES query_only=no quiet=yes render=no record= tracegroup= log= term=">
    So I did this from command line, but still nothing.....
    D:\DevSuiteHome\BIN>frmweb.exe escapeParams=true module=c:\files\orders.fmx userid=scott/tiger@r12 sso_userid=%20 sso_formsid=%25OID_FORMSID%25 so_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=YES obr=YES query_only=no quiet=yes render=no record= tracegroup= log= term=

    That is a bug in the documentation. You can only start Forms from a URL starting from 9.0.2.

  • RefreshKrb5Config=true from command line JVM argument

    Can we set refreshKrb5Config=true from command line JVM argu,ent like we set java.security.krb5.conf using -D option ? We are not using jass config file.

    doubled the amount of code!If the code size is measured in the number of lines. More subtle size measurements are also conceivable.
    Once in the past we got a new boss who introduced an exact measurement for the programmers' efficiency based on the statistics taken from the cvs (Concurrent Versioning System) repository.
    Soon the colleagues began to comment out whole code blocks and reintroduce them instead of simply modifying them. Thus the number of the code lines changed by them skyrocketed.
    There was a nice guy there. During his studies, he used to be the system & network administrator at a hostel for students of the electrical engineering faculty at the technical university. We feel it must have been a nice job. We plain programmers used Linux as desktop OS, but he used Solaris: even good old Linux was not good enough for him. (Windows? Naturally out of question!) I put up a big fight with our chief until I persuaded him to allow the Exchange server's supporting the standard (non-proprietary) mailing protocols, so that we were able to use the mailing infrastructure from our Linux and his Solaris boxes albeit without the calendar functions.
    Well, this guy was an expert for difficult technical questions, he engineered the site-wide single-sign-on system etc. When he perused a piece of code, he shrank it by eliminating obsolete methods, by refactoring parallel ones etc. His measured output was negative...

  • How to send report output to  two  detinations at a time from command line?

    Hi ,
    how to send my report to two detinations at a time from command line i.e FILE and Mail ?
    i created batchfile in that i mentioned one line for file(DESTYPE=FILE) perpose and another line for mail perpose(DESTYPE=Mail).i don't want to mention to lines.
    i want to send my report out put two destinations at a time insted of running two times.
    thx in advance.....
    raghu

    hello,
    did you try to use distribution for that ? check out the reports distribution facilities available in 6i.
    regards,
    the oracle reports team

  • Error while running a Discoverer Workbook with parameter from command line

    I am trying to run a discoverer report from command line and export the results in xls on to my local machine. I could do it fine for a simple workbook, but if I add a parameter(madatory) to the workbook and run it from command line specifying the parameter value I wanted to run the report for, I do not get any results. Here is the command line I am using.
    dis51usr.exe /connect user/password@database /apps_user /apps_responsibility "System Administrator" /eul EUL_US /open C:\Disco\Test.DIS /sheet Testsheet /parameter Period Jan-07 /export xls C:\Disco\X.xls /batch
    Parameter value is entered in correct format(Jan-07).
    When I removed /batch from this to see if I get any error, Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
    Did anybody come across this issue before?

    Hello,
    If you have a few minutes, Windows is also aborting for me:
    the differences are, my situation is:
    a) am running the command line from a .bat file
    b) am NOT running with parms, want the discoverer query to come up for the user
    c) am running a query from the database
    i am signing in as myself BUT running a query that was created by a generic user called SREG
    c) if i run the .bat file from Windows Explorer, the query opens fine
    d) if i execute the .bat file from within Microsoft Access using the shell command,
    the query opens and then aborts RIGHT BEFORE the parm screen would display
    e) btw, if i modify the .bat file, to run a query from MY database signon, then (d) - running .bat file
    from vb using SHELL command works
    Do you have a ideas as to why (d) does not work? I would be very grateful for your time, tx, sandra
    this is what i posted yesterday, tx: Re: Running Discoverer command line
    tx, sandra

  • I can not uninstall Office 2013 from command line

    Hi, I have been stuck for a while trying to uninstall Office 2013 via command line. Installation file was downloaded from Volume Licensing Service Center, Uninstall.xml file for silent uninstallation looks like this:
    <Configuration Product=”ProPlus”>
    <Display Level=”basic” CompletionNotice=”yes” SuppressModal=”yes” AcceptEula=”yes” />
    </Configuration>
    From command line the following will not work:
    setup /uninstall ProPlus /config .\ProPlus.ww\Uninstall.xml
    Error: Setup can not find or validate an installation file. Please try reinstalling Office . . .
    setup /uninstall ProPlus gives me GUI to continue process - it seems /config .\ProPlus.ww\Uninstall.xml part does not work as it should be
    This is very important to me since I used above command line in SCCM 2012 R2 to allow user to uninstall Office 2013 by itself via Software Center. When this failed I tried locally but the error was the same. This should have been trivial task - silent uninstallation
    using .xml file. It is not a rocket science. I am very angry because losing time for something like this is unacceptable for system engineers working with SCCM 2012 R2.

    Hi,
    This error might occurs due to lots of reasons. Where is the installation file stored? If it's stored on a network share, please copy it to your local disk, and then manually run the command again. This way, we'll see if the installation file is the
    problem.
    If issue persists in this case, then this generally means that something wrong with the installation file. Please try to redownload it and then try again.
    Please also make sure that you're executing the command with elevated privileges (run as administrator).
    Regards,
    Ethan Hua
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • How to delete more than one workbook from command line

    Hi, I'd like to delete more than one workbook from command line:
    The following syntax, it doesn't work....but I followed the manual instructions:
    dis51adm.exe /connect eul/eul@uatdb /delete /workbook "ALE_TEST_1, ALE_TEST_2" /eul eul /log D:\Ale\delete.log
    where:
    eul/eul@uatdb: is the db’s schema/user where the EUL is installed;
    /delete "ALE_TEST_1, ALE_TEST_2": is the command to delete the workbooks, specified inside the “” (with the relative path)
    /log D:\Ale\delete.log: is the command to write a log’s file named “delete.log” to track the action     
    The log file says:
    22/4/2008 4:00:26 μμ
    dis51adm.exe /connect /delete /workbook ALE_TEST_1, ALE_TEST_2 /eul eul /log D:\Ale\delete.log
    Document ALE_TEST_1, ALE_TEST_2 not found in EUL.
    Internal EUL Error: ObjectNotFound - Can't find EUL element
    There are 0 eul elements to be deleted.
    Completed deleting eul elements.
    22/4/2008 4:00:29 μμ
    Anyone can tell me how is the right syntax ?
    Thanks in advance
    Alex

    Hi Rod
    I was coming to that conclusion myself but wanted to wait until the other avenues had been exhausted first - aka making sure of the workbook names.
    I checked through all of the command line documentation and read nothing which clearly indicated that only one workbook could be processed at a time, other than the fact that the syntax says workbook and not workbooks, which could be a big clue.
    I think you are right though in that it has to be one at a time, which would be a pain.
    Best wishes
    Michael

  • How to run a 10g report from command line ?

    Good Afternoon,
    Please advise if there is a way to run a 10g report from command line.
    We use 6i right now and our job scheduler runs reports using "D:\ORADEV6I\BIN\RWRUN60.EXE ..." executable in batch mode on a separate server. We plan to migrate to 10g Database, Forms, Reports. Is there a way to keep this functionality and create a "command" to address an report server and run a report?
    Thank you,
    Dmitri

    Steps to take.
    (1.) In command prompt type RWSERVER SERVER=repserver1 to star the rep server.
    (2.) If you get "Javaw.exe The procedure entry point psoasyn could not be located in the dynamic link library orapls10.dll." error do one of the following
            (a.) Type the full name for the server. D:\OracleDevR2\bin\rwserver SERVER=repserver1
                   or, if it does not work
            (b.) Add D:\OracleDevR2\bin to the system env. variable PATH
    (3.) Start OC4j
    (4.) Now you can access the jobs using URL like:
        http://192.161.11.143:8890/reports/rwservlet/showjobs?server=repserver1
          where 192.161.11.143 is your machine's IP address.

Maybe you are looking for

  • Error found in Communication channel monitoring ( component monitoring)

    Hi Experts,     When i executed the RFC from R3, i got the below error in runtime work bench. please help me out if any one knows, i already gone throug some of sdn linke, but i am not able to get exact solution. com.sap.aii.af.rfc.RfcAdapterExceptio

  • Container element for number of deadlines missed

    Hi, Is there a container element already available in which the number of deadlines missed is registered for a dialog step ? Meaning if deadline is kept for 2 days then container will increment every two days ? thanks Dipti

  • PO release strategy- order of names

    Hi! I have 3 releasers and either of the 3 may release the PO first that's why I did not ticked any prerequisites.  However, I would still want the names to appear in a certain order in the PO release tab.  How do I control this? Example:  the order

  • Trigger Workflow when IDOC_INPUT_ORDERS FM

    Hi, When there is an error in IDOC excution using FM "IDOC_INPUT_ORDERS', I have to send a mail to idoc Partner. Please let me know how to do it. Thanks and Regards Ravi

  • Server.xml: Parent Application Tag: java.lang.ClassNotFoundException

    Hi, I have 2 EAR´s deployed on an OC4J (10.1.2) Standalone: uncomsso - SingleSignOn uncomtvv - Main App. My server.xml is as follows: <application name="uncomsso" path="../applications/singlesignon.ear" /> <application name="uncomtvv" path="../applic