PsExec

Hello

ODI 11.1.1.5

Would it not be possible to run psexec work from an OSCommand?  Here is the text of my order:

PsExec accepteula - \\hyp-web-dev-i h D:\Oracle\Middleware\user_projects\epmsystem1\bin\utility.bat 'D:\MyProject\ExportDefinition.xml '.

The error message:

java.io.IOException: cannot run program "psexec": CreateProcess = 2 error, the system cannot find the file specified

What does not work:

If I run the above, via start > run

Thanks in advance.

java.io.IOException: cannot run program "psexec": CreateProcess = 2 error, the system cannot find the file specified

Try to give the full path to psexec is the way that you gave in your order after h.

Kind regards

Santy

Tags: Business Intelligence

Similar Questions

  • PsExec.exe Runing on labview2012 with Exec.vi system

    I have problem on this, it will signal erroe to run PsExec.exe using the 'Exec.vi system'. It works well on the Labview8.6 version, but has problems on Labview2012. Could someone help?

    What about using "cmd /c PsExec.exe" as chain of command?

  • Use of PSEXEC for remote batch file processing

    We are moving a windows application for win 2008 r2. The application uses batch files. Calls from the source server to the Server 2008 r2 target do not run the command as expected file even if you use PSEXEC. The-d option works from the source in SQL2000 but not asynchronous and-i returns an error. Any info would be greatly appreciated. Thanks in advance

    Hi dave_900,

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows Server forums.

    http://social.technet.Microsoft.com/forums/en/category/WindowsServer

  • vCenter scripted install using PsExec?

    Hello

    I was wondering if any of you have used PSEXEC to run a .bat to auto install vcenter/vum file?

    I have a script that writes a .bat file in a fixed location on the virtual machine and races the .bat Via PSXEC file. I managed to install all the minor components (viclient syslog webclient) using this method, but it has failed to install on two VCenter (VM1) and Crossover (VM2) when trying to create a new database that is located on a 3rd virtual machine running SQL 2008R2.

    The ODCB connection is configured and tested very well. They are connected using Microsoft authentication rather than authentication of SA.

    If I don't file .bat locally from the virtual machine installation works so perfectly.

    Sample of the script that I use at the moment is attached.

    Someone has an idea or suggest another method that might work?

    See you soon

    Cliff

    I used the Simple pretty

    Invoke-VMScript - ScriptText 'C:\VCinstall.bat' testvc - VM - ScriptType Bat - GuestUser $GU - GuestPassword $GP

    And it worked perfectly.

  • Script detection if Thunderbird is running.

    For a year or more, I have been using a vbs script that is supposed to cancel automatically if it finds that Thunderbird is running. The script always done by checking the presence of the file session.json in the Thunderbird profile - if session.json was absent, the script would give up because she knew that Thunderbird is running.

    This morning, however, this feature began to fail every time - session.json (both in the Profiles folder and in my individual profile subfolder) now rest in place, if Thunderbird is running. The same thing happens with parent.lock.

    Is this a change in Thunderbird (I use version 31.5.0, with Win 7/64), or is there something wrong with my particular Setup? If my installation is broken, how can I do? And if this is the new normal, is there another way to my script can tell if Thunderbird is running? Thanks in advance for your help.

    You can try to delete the Parent.lock. If its use in you get an error, otherwise it will be deleted.

    These tools can help you: esp with PsExec Pstools.
    https://TechNet.Microsoft.com/en-us/Sysinternals/bb545027

  • Windows Genuine Advantage Validation Tool (KB892130)

    Hi Syed;

    Your answer below has contributed to my topic of o in above query & questions that I was looking for function - download & keeping "Windows Genuine Advantage Validation Tool (KB892130)."

    Thanks again & with eyes + best wishes.

    E-mail address is removed from the privacy *.

    08/05/2010

    Rourkela, India.

    = Your rated below answer =.

    ·    Hello
     
    This problem has been solved by many users, check the answer by "MrBill on 02/03/2006 10:10 AM PST", hope this will help you to solve this problem.
    http://www.Microsoft.com/communities/newsgroups/en-us/default.aspx?DG=Microsoft.public.windowsupdate&TID=062ffefb-f4d1-422e-A783-6aab80d31455&p=1
     
         The steps mentioned in the link are:
    1. download the updated WGA executable from this link:
    http://www.download.windowsupdate.com/msdownload/Update/v3-19990518/cabpool/WindowsXP-KB892130-enu-x86_7e1189ce89fb0c693cad6432a4c2f982dcea49a0.exe
    2. save the file in the C:\Temp folder.
    a. Click Start, click run, typecmdand clickok.
    b. in the command prompt, type the command following and press enter:
    PsExec-i s c:\Temp\
    3. restartthe computer for the changes to take effect.
    4. visit the windows update site and check if you are able to download the updates.
     
    For more information on KB892130, visit this link:http://support.microsoft.com/kb/892130
     
    I hope this helps.
     
    Kind regards
    Syed
    Answers from Microsoft supports the engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

    marked as answer byMike - EngineerMicrosoft support, moderator, oTuesday, February 23, 2010 17:42

    Hi Eric,.

    Glad to know that the problem has been resolved. If you have any further questions on your computer, thank you for posting your request, we will be happy to help you.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • The directory of the user on the mapped network drive

    I want to move my user directory C:\Users\Edwin to a mapped network drive E: (i.e. mapped from a network share \\\\192.168.22.9\share ).

    The difficult part is to move the directory of the user himself. I found 2 possible solutions, which are not applicable for me due to my use of a network drive.

    1. Move C:\Users\Edwin" to "E:\Users\Edwin , and then use a symbolic link of junction ( mklink -J ) to post a link to C:\Users\Edwin .

      This does not work for me because I can't create a symbolic link to a directory on a non-local drive junction.

    2. Changing the value of registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ProfilesDirectory of %SystemDrive%\Users to E:\Users before you create the user "Edwin".

      Later, when the "Edwin" user first connects, the profile will be in E:\Users\Edwin .

    The problem is that I met a problem of the egg and the hen.

    When you first login as a user 'Edwin' profile will be created in E: . However, at the moment I first login, the mapped network drive E: is not there.

    I tried without success to the following:

    1. Create a drive mapped persistent administrator. Did not work. The mapped drive is only visible to the administrator user.

    2. Create a mapped drive persistent using the rights system (using PsExec -s ). Did not work. The mapped drive is not 'owned' by anyone, not even the current administrator user.

    3. Create a drive mapped persistent by using the user newly created by Edwin, without opening a session as Edwin again (using the PsExec once again). Did not work. It is possible to create a mapped drive under a different name, once I tried to do it with persistence ( /persistent:yes ), I get a Access is Denied error.

    No idea how this can be done? Or is it it even can be done at all?

    Hello

    What version of Windows are you using?

    Related topics:

    http://social.technet.microsoft.com/Forums/windows/en-US/9389cbc5-4e4f-4f4c-83fd-4ab8fdec51ec/not-all-network-drives-reconnect-when-windows-is-switching-automatically-from-offline-to-online?forum=w7itpronetworking

    http://social.technet.Microsoft.com/forums/Windows/en-us/60a5e7b0-c972-416F-B24C-b7d4018156cc/Windows-7-missing-mapped-drive?Forum=w7itpronetworking

    Try to repost the question to the TechNet Networking Forum

  • Ins work ' t Windows Modules Installer

    I tried to install Service pack 1, it failed due to an 0x800f0826 error.

    I discovered that the Windows Modules Installer, which is required for installation, appearently doesn't work.
    It is not listed in Control Panel > Administration > Services.

    I tried running sfc/scannow in cmd high, and it does not work.

    The TrustedInstaller file which is IS located in the maintenance folder in Windows, but I can't seem to run.

    I also tried to download a registry Fix TrustedInstaller, but it does not help. I tried this solution with PsTools and the file psexec - no difference.

    Also, I also tried to copy another TrustedInstaller in maintenance records, but that makes no difference either.

    I really need help here. Is it possible to get the installer of Modules of Windows to work? Download a new version of the installer of Modules if it is corrupted? My computer is not shipped with a CD/DVD of Vista, so I can't run a Vista repair.

    Please help me!

    You see the effects of a hijackware infection.

    Your quickest resolution would be to safeguard any staff data (which none should be considered 100% reliable at this stage) can do a format and clean install of Windows.  Please note that a repair installation (upgrade AKA on-site) will NOT fix it!

    CF. http://windows.microsoft.com/en-us/windows-vista/Installing-and-reinstalling-Windows-Vista

    Once installed the clean, you will have the equivalent of a "new computer" in order to take care of everything on the next page before connecting the machine to the internet or a network otherwise and before using a USB key that is not brand new, or has not been freshly formatted:

    5 steps to help protect your new computer before going online
         http://www.Microsoft.com/protect/computer/advanced/XPPC.mspx

    Note: When you reinstall Vista, the free trial Norton will be also reinstalled (but invalid). You MUST uninstall it, and then rerun the removal tool Norton BEFORE installing a replacement AV app (e.g., F-Secure).

    NB: If your computer came with a set of disks, there is a hidden partition restore (not to be confused with the restoration of the system) you can use to do the clean install. Contact the OEM manufacturer with this.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Windows Installer update in the user Session

    I use a WSUS 3.0 Sp2 server and the WUA_SearchDownloadInstall.vbs tscript for install updates on Server 2003 X 64 SP2. Search and download works fine logged on as a user, but the installation fails unless I'm actuall 'connected' as a member of the Administrators group. I tried things like "RunAS" and "PSexec" by using the credentials of the directors, but it still does not install it.

    An excerpt from WindowsUpdate.log. It shows that istrying Windows Update to do something under my ID "HST25772\LOCALUSER" (my user), even if I started the script with PSExec (1.98) and used my administrator credentials. I'm relatively certain that this will cause the failure. If I do a full logon with the same ID Admin, installation works very well. Is there a way to perform the installation of WU part in session 'user' but use PSExec with the Admin ID? All thoughts of work around this would be appreciated.

    Bob

    Agent *.
    Agent * START * Agent: installing updates [CallerId =]
    COMAPI - updates to install = 1
    Agent *.
    [COMAPI <-- submitted="" --="" comapi:="" install="" [clientid=""> ]
    Agent * updates installed = 1
    Agent * title = update for Windows Server 2003 x 64 Edition (KB973917)
    Agent * UpdateId = {6371B65A-6669-448C-866E-AE6A85312520}.105
    Agent * bundles 1 updates:
    Agent * {9D28A8AF-D0C1-4B18-BA70-17BF2CED077A}.103
    EEHndlr WARNING: Failed to fill ServiceStartup entries in the Cache: error 0 x 80070002

    Agent warning: failure of LoadLibrary for c:\windows\system32\srclient.dll with hr:8007007e
    Manager to try to create a remote process manager as HST25772\LOCALUSER in the session 0
    DnldMgr preparation of update for install, updateId is {9D28A8AF-D0C1-4B18-BA70-17BF2CED077A}. 103.
    Agent warning: WU client fails to deal with installing call Manager Update notificationfor with error 0 x 80070005
    Agent warning: WU client fails to deal with installing call Manager Update notificationfor with error 0 x 80070005
    Agent warning: WU client fails to deal with installing call Manager Update notificationfor with error 0 x 80070005
    Agent *.
    Agent * END * Agent: installing updates [CallerId =]
    (Non-interactive) Offline detection trigger
    Agent *.
    AU #############
    To THE # START # to THE: research updates
    AU #########
    COMAPI > - RECOVERY--COMAPI: install [ClientId = ]
    COMAPI - installation call is successful (successful = 0, succeeded with errors = 0, failed = 1, missing = 0)
    COMAPI - reboot required = No
    COMAPI - WARNING: exit code = 0x00000000; Call error code = 0 x 80240022
    COMAPI-
    COMAPI - END--COMAPI: install [ClientId = ]
    COMAPI-
    TO THE<## submitted="" ##="" au:="" search="" for="" updates="" [callid="">
    Agent *.
    Agent * START * Agent: finding updates [CallerId = AutomaticUpdates]
    Agent *.
    Agent * Online = No; Ignore download priority = No
    Agent * criteria = "IsHidden = 0 and IsInstalled = 0 and DeploymentAction = 'Installation' and IsAssigned = 1 or IsHidden = 0 and IsPresent = 1 and DeploymentAction = 'Uninstall' and IsAssigned = 1 or IsHidden = 0 and IsInstalled = 1 and DeploymentAction = 'Installation' and IsAssigned = 1 and = 1 RebootRequired or IsHidden = 0 and IsInstalled = 0 and DeploymentAction = 'Uninstall' and IsAssigned = 1 and = 1 RebootRequired."
    Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} managed
    Agent * scope of search = {Machine}
    EEHndlr WARNING: Failed to fill ServiceStartup entries in the Cache: error 0 x 80070002

    EEHndlr WARNING: Failed to fill ServiceStartup entries in the Cache: error 0 x 80070002

    Agent * updated added {6371B65A-6669-448C-866E-AE6A85312520}.105 in the search result
    Agent * updates found 1 and 48 categories in the search. entities has been evaluated Appl. rules of 151 on 909
    Agent *.
    Agent * END * Agent: finding updates [CallerId = AutomaticUpdates]
    Agent *.
    To THE > # RETURN # to THE: research updates [CallId = {ACA50873-6F80-4549-A24E-9040BC3C56FE}]
    # 1 detected updates
    AU #########
    # End # in THE: research updates [CallId = {ACA50873-6F80-4549-A24E-9040BC3C56FE}]
    AU #############
    Notifications to THE present is disabled.
    Report REPORT EVENT: {C2F38CF5-9120-4F3D-B04E-6A44B2C862C2} 10:11:26:412 2010-11-18 - 0600 1 147 101 {00000000-0000-0000-0000-000000000000} 0 0 success software sync Windows Update Client detected 1 updates successfully.
    Report REPORT EVENT: {64E725E3-4790-482A-833A-6ECFB6914EFF} 10:11:26:412 2010-11-18 - 0600 1 156 101 {00000000-0000-0000-0000-000000000000} 0 0 success pre-deployment check the client status reports.
    Report REPORT EVENT: {2F6B5899-BD1E-4DC4-989C-0867ECD45AEC} 10:11:26:928 2010-11-18 - 0600 1 182 101 {6371B65A-6669-448C-866E-AE6A85312520} 8024200e 105 error content install Installation error: Windows failed to install the following update with error 0x8024200e: update for Windows Server 2003 x 64 Edition (KB973917).

    Solved my problem. Ran a command similar to the following to run my script "WUA_SearchDownloadInstall.vbs" "modified" under the system account:

    PsExec u administratorID Pei adminPW psexec s cscript //nologo WUA_SearchDownloadInstall.vbs

    Updates seem to settle normally now.

    Bob

  • Run a LV-application on the remote computer

    Hi all

    I am trying to install an App LabVIEW functioning as a server in our local network. I might add this as a service in the respective machine autostart. However, I prefer to have a method to start the respective application of a different LV (vi or exe) go elsewhere in the local area network. This means that potential customers can start the server if it is not yet done.

    Does anyone have an idea? Searched for examples and the internet for no results.

    TIA!

    Greetings from the Germany!

    --

    Him

    This question comes up a lot.  And I always recommend PsTools from SysInternals:

    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896649.aspx

    They are a free set of command line utilities.  One of the utilities is PsExec which can be used to launch the exe on remote computers.

    NOTE: Remember that setting up your remote application as an "NT Service" is a little more complex.  If you manage to actually implement a 'service', you would actually use a different tool (PsService) to start a service on a remote computer.  Either one will do the job.

  • Suggestion for Windows XP patch management

    Can anyone suggest a way to automate the installation / the patch management for a small network of 9 Windows XP computers that no Active Directory used in an office?

    I don't want to walk to every computer, every time I need to download and install Windows updates, as the owner does not want its employees to enable automatic Windows updates.

    I know I can use a computer to download patches, copy them to a share and use psexec for remote installation.

    Other suggestions that are more flexible and semi automatic?

    Your suggestions would be appreciated.

    Thank you.

    the owner does not want its employees to enable the automatic updates of Windows

    What is your budget COMPUTER?

    How to update computers now?

    WinXP SP3 is installed on all computers?

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Windows Server Update Services (WSUS) enables information technology administrators deploy the latest updates of Microsoft products on computers running the Windows operating system. Using WSUS, administrators can fully manage the distribution of updates are published through Microsoft Update to computers in their network.
    http://TechNet.Microsoft.com/en-us/WSUS/default.aspx

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Windows XP crashes whenever I click on shutdown?

    Windows XP stops responding whenever I click on stop, and I do a forced shutdown. If I open the Task Manager and terminate the "explorer.exe" process and run it again windows become sensitive, but when I try to click on stop again, it stops responding and it continues. Any ideas how to solve this problem? Thanks in advance.

    Yes, we can seize ProcMon to stop. And you are right that if we run ProcMon under System account in XP then it will run longer.

    the syntax will be:
    PsExec-s-d the AcceptEula /BackingFile C:\Procmon.pml Path_for_Sysinternal_Suit/Procmon.exe/quiet

    And the following command line will stop this trace:

    PsExec s d Procmon.exe /AcceptEula / cancel

  • How to delete the corrupted registry key

    I try to install the Excel 2010 beta, but it says Office 2003 is damaged and must be repaired or removed and will not be installed (I have several versions of Excel is installed, including 2003).

    So I tried to run a repair of Office 2003 from the Office 2003 installation, but it says:

    Error 1402. Setup cannot open the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\OptionalComponents\MSFS registry key. Make sure you have sufficient permissions to access the registry...

    I tried:

    -Deletion of the key in regedit. It won't do. FWIW, it does not make changes to it as an added value and does not remove the key from its parent.

    -Assignment of permissions for the key myself. It won't do.

    -Taking possession of the key. It does not.

    -Execution 'Free Windows Registry Repair 2.0' and do a full scan. There are lots of things to fix, but it does not solve this problem.

    -Run PSEXEC PSTOOLS of to run regedit under the system account and appropriate by the system account. It does not.

    -Execution of RegDelNull.exe and make full analysis focused on HKLM and analysis. In both cases, he found nothing to fix.

    Is there a way to make a deletion of the brute force of a registry key? What can I do?

    Thank you

    Greg

    FWIW, in case someone found this looking for an answer to the same question, you gave me the answer on answers.yahoo.com. The answer was to log on under administrator account (not just any account which is part of the Administrators group, but the account specifically named 'Administrator') and assign permissions to this account. It worked.

    Greg

  • Is it possible to connect to a hidden administrative share?

    I'm giving a sense hidden so-called administrative shares in Windows Vista. I can see the c$ share when I use net share command. But when I try to connect to the computer, I get a dialog for password and user name. I connect from a Vista computer to another Vista computer on the same network. The remote computer has no password! And networking of protected password is disabled! While the *? ... He asks what kind of password? If I can connect for example \\192.168.0.104\ but not \\192.168.0.104\c$ and my question is why? And what kind of password is necessary? What I'm missing here? How can I connect to this special action?

    They're called an administrative share for a reason. It requires an admin to use. However, it is disabled by default on Vista.

    http://support.Microsoft.com/kb/947232

    Candy C:\Users\David > dir \\127.0.0.1\c$
    Volume in drive \\127.0.0.1\c$ has no label.
    Volume serial number is 00CC-CEF9

    Directory of \\127.0.0.1\c$

    16/01/2011 15:30 AUTOEXEC. BAT
    19/09/2006 07:43 10 config.sys
    18/09/2010 13:37

    personalized folder
    15/06/2012 20:21 HERETIC
    26/04/2012 02:23 indy
    06/01/2013 16:25 inetpub
    05/03/2012 21:19 MASM611
    09/07/2013-06:15 CARPET
    25/09/2011 20:11 MGADiagToolOutpu
    06/01/2013 16:25 perflogs
    09/07/2013-06:15 program Files
    14/10/2011 21:22 381 816 PsExec.exe
    23/10/2012 16:42 QUAKE
    08/11/2013 TEST.txt 534 356 16:42
    09/06/2013 11:49 tmp
    05/04/2013 16:44 users
    27/05/2013 18:45 Warcraft2
    09/07/2013-06:15 Windows
    18/02/2012 19:23 WindowsESD
    4 file (s) on 916 261 bytes
    15 dir 7,121,788,928 bytes free

  • Missing power management

    Hello!

    Missing Power Options power management. Does not change the brightness of the display by using the function keys.
    Tell me please, is it possible to restore the profiles, without the restoration of the initial state of the system.

    64-bit Windows 8

    ENVY of HP dv6-7260er

    concerning

    Max

    HP ENVY dv6-7260er (upgrade). Windows 10.

    Hello

    Try the following should repair the registry entries related to your power options - this is a slight variation of a patch that was originally for Vista...

    First of all, make sure you that HP Power Manager (if you have this installed) has been uninstalled and reboot the laptop.

    Then, if you do not have an extraction utility installed, download and install 7-Zip.  Please note that If you have a 64-bit installation, download and install the Installer x 64 64-bit .msi on the link below.

    http://www.7-zip.org/

    Download PsTools by Mark Russinovich, extract the files by clicking on the folder, select 7 - Zip, and select Extract here. Copy PsExec, open the computer, open Local C, open windows drive and paste this file in the System32 folder - click on the UAC prompt to agree.

    Now download and extract the registry file from the link below - this contains 1 custom setting, but can be deleted at the end.

    Power options.

    Open the folder, and then copy the registry file inside.

    Open the computer, open Local C, open windows, open System32, open config, open systemprofile drive, do a right click and create a new folder called here for Desktop.  Open the office folder and paste the file to registry here.

    Open windows in a right-click command prompt and select "Run as Administrator", then enter the following command.

    PsExec s-i d regedit

    Click on I accept to sysinternals prompt to launch the registry editor.  Click file, import, select the PowerOpt file and click on open - you should get a message that has been successfully added to the registry, click Ok.

    Return to the command prompt, copy and paste the entry below and press on enter to remove the custom plan.

    Powercfg.exe - delete cabb719c-fde8-4d7d-bc42-717de580c8ff

    Close all windows and reboot the laptop - you should have if everything goes well now just 3 standard power schemes.

    Kind regards

    DP - K

Maybe you are looking for

  • How can I reinstall, update and upgrade?

    purchased iMac 09/2010. OS 10.6.3 Divided 50 / 50 Connected to Internet HD, now at 10.6.8 HD2 (isolated) remained to 10.6.3 Operational problems have developed, and he stopped to make the external disk ext Acer Time Machine backup. Plan: Reinstall th

  • Service management software

    I searched in vain for software to run with MAC iOS for our basement waterproofing company that makes: 1 plans/drawings 2. calculation of the costs/estimate 3 document management/production 4 contact management/progress hunting quotes 5. planning of

  • Cannot install SP1 - repair service cannot start your computer

    original title: try to install Norton 2012 I can't install Norton 2012. It says I need service pack 1, when configuring her repair service cannot start your computer and then installs nothing

  • scope at the entrance of text as input: only whole

    Hi, is it possible to make an input scope? example: I have an entry and here, I want to show that the numbers when the user want to type a value with the build in keyboard.

  • problems burning to disc at the library

    I have a problem burning a cd to the library, the drivers say they work but I have no sound and when I try to burn just says: error complete combustion There is no noise and it won't play either. the cd plays on other devices, including other compute