WinRAR command line tools do not check an executable Windows Server 2012

Hi all

I have developed a VI in LabVIEW 8.6 using WinRAR command line tools (passed in the Exec.vi system) to archive data that takes place on 5 different computers on a network and stores on a server .rar files.  Executable file of the VI works perfectly on my computer (WinXP) development.  The data from each of the 5 machines are archived and .rar files are stored on the server.  However, when I move the executable on the server where the .rar files will be stored and run the executable file, the command window flashes on the screen as if WinRAR commands are running, but no data is archived on the server.  No errors are passed out of the Exec.vi of the system.  The server's operating system is Windows Server 2012 and I placed the Rar and UnRAR .exe in the folder system32 on the server.  The server firewall is disabled, and he is able to explore at the location of the data to arhived.  The server is logged in as a domain administrator account.

Here is an example of one of the commands in command line that I spend in the Exec.vi system:

cmd /c rar a - m5 \\selsacn11\viscom\selsvis01\15\07\20.rar \\selsvis01\Rep0\Archiv\15\07\20

When I manually type this command in the command line on the server, the data is stored properly.  The problem occurs when I run the executable on the server.

I tried to work around the problem by creating a batch of files containing the command above, then using the Exec.vi system to call this batch file.  Yet once, when I manually run the batch file, it works correctly, but when Exec.vi system in a LabVIEW executable file runs the command on the server file, I get the same result as described above - no data are archived on the server.  This batch file works on my development computer and on my laptop to the company.

My only thought is that there is a problem with the access rights.  So far, the executable works fine on an older server (Windows Server 2003), the development computer (Win XP) and my laptop (Win7) company, but the executable archive not the data on the Server 2012 server or on another computer running WIndows 7.  I have all these machines connected under the same domain administrator account, but COMPUTER networks are certainly above my head, so I wanted to check here if anyone has seen this problem with WinRAR or the Exec.vi system.

Thanks for any info!

Success!

Darin, I took your suggestions and after some more fighting with him, I have an error Code 2 on the Exec.vi system.  This led me in search of the forums where I fell on the following:

http://forums.NI.com/T5/LabVIEW/problem-using-quot-MSG-quot-command-with-quot-system-exec-VI/m-p/153...

Of course, all the machines that had been able to run the executable file are 32-bit.  All the machines that could not run the executable are a 64 bit system.  I placed the Rar.exe in the C:\Windows\SysWOW64 folder on the server and it works exactly as expected today.

I fought with this for weeks, so I'm a little disappointed that it was something so simple, but I'm very happy to have finally work!

Thank you all very much for the help!

Tags: NI Software

Similar Questions

  • Extensions Manager command-line tool will not install extension for Photoshop CC 2015

    I use Photoshop CC 2015.0.1 on a MacOS 10.9.5

    I try to install the extension FlatIcon found here: http://www.flaticon.com/download-plugin#

    Using the information I found here: https://helpx.adobe.com/extension-manager/using/command-line.html

    I downloaded, unpacked and installed the Extension Manager command line tool: http://www.adobeexchange.com/ExManCmd_mac.zip

    (I found the link to this file here: https://www.adobeexchange.com/resources/28)

    I opened the Terminal and entered in the following:. / ExManCmd - install "Users/angyb/flaticon-CC-2.5.5.zxp".

    And he received in response:

    dyld: library not loaded: @rpath/LibExManCoreLib.dylib

    Referenced from: /Users/angyb/./ExManCmd

    Reason: image not found

    Trace/BPT trap: 5

    Other that to wait for the author of the extension release a Photoshop CC 2015 compatible Installer, do you have advice on what I need to do to properly install this extension?

    Thank you.

    I just found this today that allowed me to install a plug-in for Photoshop CC 2015:

    Site - Installer Zxp

    Install it, run it, and then drag your file zxp the indicated place. Voila! Extensions to work Photoshop CC 2015!

  • Can not log on to Windows Server 2012 R2 Essentials

    Hi all. I have a big problem. I am running Windows Server 2012 R2 Essentials. I wanted to disable UAC, and for this I changed "EnableLUA" from 1 to 0 in the registry editor. I restarted the computer and when I log in with my admin account, it is said that the user, or the password is incorrect. But it's impossible! Any ideea? Thank you!

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

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

    See you soon.

  • Fax to Pc ability does not work in Windows Server 2012 for Hp LaserJet MFP Series PCL6 1536

    I have install Hp Solution Center to use the 'Fax to Pc' feature in Windows Server 2012. But it is prevented Windows server 2012. How to use 'Fax to Pc' in Windows Server 2012?

    Sorry, but the Laserjet Printer has no CENTER of HP SOLUTIONS. The Toolbox, it is not the center of need. In addition, it is not compatible with the windows server 2012.

    The printer must be installed on a network in order to FAX to PC.

    1. you will need to type the IP ADDRESS in the address bar on internet. A page with your printer, and you will be set up there.

  • Manager command line tool extension works is not in Windows 10

    Hi all

    When we try to use the Extension (exmancmd.exe) Manager command-line tool to install a new Panel in Windows 10 his watch denied access message.

    Also, when we try to see the details of command Exmancmd.exe line its says "this application cannot run on this PC.

    Please find the screenshot.

    6F6F3956.PNG

    Thank you and best regards,

    Anoop

    Maybe it's some setting (?) Windows security; works well on my Win10 systems.

  • All icons changed to and will Outlook open, error message "command line argument is not valid."

    I have been using Windows 7 and Office 2010 since the beginning of this year. Suddenly, I have a problem.

    All my software program icons (shortcuts and start menu) moved somehow to be the Outlook icon. When you try to open Outlook and any other program, I get the message "cannot start Microsoft Outlook. The command line argument is not valid. Check the switch you are using. »

    None of the software opens. This is true for Microsoft products and software from other companies.  The only way I can open/use some of my software is to go to the file and open it from there. How can I solve this problem?

    I tried to use my Office CD to repair the software, but nothing has changed.  I tried to go into the properties of the icon to see if the problem can be corrected for other software but the links are to the correct files and the icon will not change.   Nothing I've tried works.  Even in Control Panel administrative tools are not open (they have also been changed to have the Outlook icon).

    . I need help as soon as POSSIBLE. THX

    Only, I've solved my problems with this re - create my profile.

    To re - create your user profile name just as a different user and ensure that the user have a good administrator.

    Go to my computer > users (Windows 7) or Document and settings (Win XP) > find the profile that have a questions and rename (* do not delete because we need a return to the top if there is all data must be transferred to a new profile)

    Another thing need to do is to change the registry by go to start and type regedit (make sure administrator too)

    Go down this path HKEY_LOCAL_MACHINE NT\CurrentVersion\ProfileLIST\ * only Applicable for Windows 7

    Oncve you see all the list such as S-1-5-18... something like this a check which is the profile who have questions and delete.

    The profile with a questions can be seen on you under ProfileImagePath: C:\Users\

    In fact, you can try to reconnect and it will be relaxing a new profile just transfer back up the old data of the profile that was rename in the new profile that has been re - create.

    Hope this helps, if so please mark this answer.

    Thank you

  • How Windows Server backup and command-line tools are used in the installation of vCSHB?

    How the Windows Server backup and command-line tools are used during the installation of vCSHB?  It takes in all types of deployments (PtoV, VtoV, PtoP)? It is used to create files that are put in file sharing for the second node to use during the installation of vCSHB or is it only used during a clone of vCSHB of a physical to physical deployment operation?  These tools are not used in some deployments?

    You need backup Windows Server installed on the source and destination, and during the installation of vCSHB the installer will call the wbadmin (Windows Server Backup Utility) and will save the configuration and application data (application data is optimal, but can reduce the synchronization time after the installation of the secondary node). On the secondary node you will should only run the vCSHB Installer and everything will be restored.

    Check this blog entry for some info on P2P deployment issues: http://www.vcoportal.de/2013/12/vmware-vcenter-server-heartbeat-restore-on-a-second-node-a-journey/

  • Adding users to a group of construction using the command line tool

    Hello
    Please forgive me if this is in the wrong category/forum, I can't seem to find one for Oracle Portal. I wonder if someone could help me with this issue please?

    I am trying to automate the adding users to a group of portal, entries already exist for users in the OID.
    With the help of the following ldapmodify command:

    ldapmodify h myhost.company.com Pei 389 - D cn = sleep w f /home/modify.ldif password

    where /home/modify.ldif has the following entries:-

    DN: cn = User1, cn = Users, dc is company, dc = com
    ChangeType: modify
    Add: orcldefaultprofilegroup
    orcldefaultprofilegroup: cn = groupname, cn = portal. 090112.174408.194907000, cn = groups, dc = company, dc = com

    DN: cn = User2, cn = Users, dc is company, dc = com
    ChangeType: modify
    Add: orcldefaultprofilegroup
    orcldefaultprofilegroup: cn = groupname, cn = portal. 090112.174408.194907000, cn = groups, dc = company, dc = com

    The ldapmodify script puts the specified group in the field "Default group" of the 'Edit portal user profile' page in the portal, which is fine. However it is not in fact add the user to the group. When I check the list of the members of the users group are not listed. Also the group is not listed under the existing users group membership "in the"Edit user"page. Also, when I try to connect to the portal as users, I get the error message "you are not authorized to perform this operation. (WWC-44131) "

    How can I add users to a group membership by using the command line tool?

    Thank you.

    M

    Your LDIF file must change the group entry and no input from the user.

    something like

    DN: cn = portal. 090112.174408.194907000, cn = groups, dc = company, dc = com
    ChangeType: modify
    Add: uniqueMember
    uniqueMember: cn = User1, cn = Users, dc is company, dc = com

  • Problem with Xcode command-line tool

    Hello

    Last week I upgraded my macbook pro with the latest OS X Capitan and 7.3 of Xcode.

    I also installed the command line for Xcode Tools.

    But there is a problem because the "command-line tools" in Xcode do not work, for example, I am getting following error:

    MyMacBookPro-5: ~ make amitc$ xcrun

    xcodebuild: error: SDK '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer /SDKs/MacOSX10.10.sdk' is not found.

    xcrun: error: cannot find the utility 'make', not a tool of development or on the WAY.

    Does anyone know any solution to this problem?

    (I don't understand why he's trying of MacOSX10.10.sdk, while it must search for MacOSX10.11.sdk).

    With our thanks,

    Amit.

    You agree with the terms and conditions of the license?

    sudo xcodebuild-license

  • 10.11.4 update has failed because of the command line tools

    The 10.11.4 update fails with a message on the command line tools.

    I found this in system.log.

    Memento kernel [0]: sandbox: softwareupdated (329) deny system (1) - 682f fsctl

    181Mb Command Line Tool for Xcode 7.3 keeps reappearing in the section "updates" from the App Store, 10.11.4, as well as the global update apparently cannot continue.

    Normally, you should be able to select the updates separately (click on "More... »). If this does not work for some reason, you can download the 10.11.4 update by itself: download OS X El Capitan 10.11.4 updated

    (Combo version: Download OS X El Capitan 10.11.4 Combo Update)

  • I get a message: to use the 'java' command line tool, you must install a JDK.  I tried 10 times to install without success.  Help, please.

    I get a message: to use the 'java' command line tool, you must install a JDK.  I tried 10 times to install without success.  Help, please.

    You probably have some of the older than the needs/desires software legacy Java installed.

    Please see these sons of community message:

    After the installation of El Capitan, I get the message: to use the 'java' command line tool, you must install a JDK

    Just found this last Java does not work with El Capitan

    This is the Apple link to the legacy version of Java 6.

    Download Java for OS X 2015-001

    First of all, I would like to try to identify what application generated the next message and update (delete) this request as the case may be. If you need to run Java then, as the Apple Support page says it's certainly preferable that your installation of Java entirely up-to-date with the Oracle's Java course. If you can get without Java, you should install it not - like the Flash, it should not be installed unless you have no choice.

  • The developer command-line tool Setup error

    Hello

    I had a hard time trying to install the tool developer for the AEMM, since that it was released yesterday.

    Here is what I get after the execution of the installation in root mode command line:

    Anyone who managed to install the tool?

    NGP ERR! Darwin 15.3.0

    NGP ERR! argv ' / usr/local/bin/node "" / usr/local/bin/NGP "'install'"-g"'aemm.

    NGP ERR! node v5.8.0

    NGP ERR! NGP v3.8.3

    NGP ERR! path /usr/local/lib/node_modules/aemm/bin/aemm.js

    NGP ERR! code ENOENT

    NGP ERR! errno - 2

    NGP ERR! syscall chmod

    NGP ERR! ENOENT ENOENT: no file or directory, chmod ' / usr/local/lib/node_modules/aemm/bin/aemm.js'

    NGP ERR! ENOENT ENOENT: no file or directory, chmod ' / usr/local/lib/node_modules/aemm/bin/aemm.js'

    NGP ERR! ENOENT This probably isn't a problem with the NPM itself

    NGP ERR! ENOENT and is linked to the NPM is not able to find a file.

    The command line tool is still under review and will be available soon. We'll let you know when it is available.

  • How can I remove the pop up next to my iMac? "to continue the 'java' command line tool, that you must install the JDK

    I can't seem to make the tour of the following pop up: "to use the"java"command line tool, you must install JDK.  I downloaded Java for many times, but the pop-up Guard reappear.  Is there any solution to get rid of this pop up, it makes me crazy?  Help, please!

    What java you have download and install.  To install is TIME legacy java 6 Apple for OS X, which can be downloaded here: Download Java for OS X 2015-001

  • How to properly install VMware tools under Windows Server 2012 RC

    After you have installed Windows Server 2012 RC VM works very well.

    After that, I installed the VMware tools-> result-> black flashing screen.

    Boot in F8 mode-> try to remove tolls-> not installed VMware?

    What can I do to retrieve this black flashing screen.

    Not sure at 100%, but I'd say you check/download the vmtools package here: http://packages.vmware.com/tools

    HTH

    Sam

  • Thumbnail option does not work in Terminal Server in Windows Server 2012 and server session

    This might be a stupid question.

    We have two Windows server 2012 R2 - TS and DC. The clients are connecting to TS and access the shared network drives present in DC. I always unchecked 'show icons, never thumbnails' and 'Show thumbnails in System Properties' enabled on DC and the two TS.

    No always thumbnail option.

    You will need to click on each image. Users have many files containing multiple images. It's annoying to click and view each image.

    Note: NO GPO is configured to block it. Checked.

    I can't find any object GPO to allow this option to be :)

    More info. For customers, anywhere, whether network shares or all folders in TS session. It does not work. Also tried painting and Windows Photo Viewer.

    Here, any help will be very appreciated!

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

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

    See you soon.

Maybe you are looking for