How to run Application on another system via WinRS

hi Guys
i have setup WinRM on two PCs & it works fine.
but when i execute the following command to open an application on the remote system (in my LAN & in my subnet)
nothing happens & cursor continue blinking at cmd windows
C:\winRS -r:http://10.1.1.3:5985 -u:administrator -p:P@ssw0rd mspaint    ( or notepad) 
is it possible to open an application on another system ?
thanks in advanced

Hi maria.holme1,
WinRS(Windows Remote Shell) is used to execute a “program” on a remote host. Programs with a user interface, console applications that prompt for input, and console applications that use the Win32 console API, do not work correctly in the Windows PowerShell
remote host. Considering the notepad and paint include a user interface ,they may work incorrectly in the Winrs.
Here are links for reference:
WinRM (Windows Remote Management) Troubleshooting(Pay attention to “What is WinRS?” part)
http://blogs.technet.com/b/jonjor/archive/2009/01/09/winrm-windows-remote-management-troubleshooting.aspx
about_Remote_Troubleshooting(Pay attention to” HOW TO INTERRUPT A COMMAND” in the ending part )
http://technet.microsoft.com/en-us/library/hh847850.aspx
“is it possible to open an application on another system ?”
Have you tried to use PsExec?PsExec is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications.
PsExec v2.11
http://technet.microsoft.com/en-in/sysinternals/bb897553.aspx
Best regards

Similar Messages

  • How to call a WD4A Application of another system

    Hi,
    I have the need to call a WebDynpro Application of another system via a URL call, thet the application should be opend in the CRM WebUI Window (statefull ) .
    Calling the application via a button event & transaction launcher works fine, but i need to call it from a BSP page. So my idea was to create an iframe, but this obviously opens a new window:
    <html>
      <head>
        <title>IFrames - Webdynpro Test</title>
      </head>
      <body>
        <iframe src=<%= lv_url_route %>"
          width="100%" height="500" scrolling="auto" frameborder="1" transparency>
              </iframe>
      </body>
    <html>
    Can anybody help?!?!
    Thanx & best regards,
    Oliver
    Edited by: Oliver Pregler on Jul 28, 2008 3:26 PM

    Hi Oliver,
    unfortunately I know nothing about BSP-Applications, but this is how I call my WD4A-Application using a FM from CRM:
    data: lr_empty_parent type ref to cl_gui_container,
          lr_viewer       type ref to cl_gui_html_viewer.
    data: lv_url(200)     type c.
    lv_url = 'http://www.xyz.com'.
      create object lr_viewer
        exporting
          parent             = lr_empty_parent
        exceptions
          cntl_error         = 1
          cntl_install_error = 2
          dp_install_error   = 3
          dp_error           = 4
          others             = 5.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                  with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      lr_viewer->detach_url_in_browser(
        exporting
          url              = lv_url
        exceptions
          cntl_error       = 1
          dp_error_general = 2
          others           = 3 ).
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                   with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      cl_gui_cfw=>flush( ).
    If it helps you - fine. If not - forget it
    Best regards
    Jörg Racz

  • How to run application on comp. with only jre installed?

    Hi guys! I've written an application and somebody wants to use it. I have an applet too but it does not have full functionality and slower.
    I am running applications from my desktop using shortcut on javaw.exe file located in jdk/bin folder. No problem with it.
    But if person does not want to instsall jdk? I know that jre has javaw.exe in its bin but it does not work that way.
    My question is: how to run application for domestic use without all this web start hassle and with only jre installed? Is it possible? If yes, how to do this?
    Regards

    Download the JRE redistributable from Sun. It is self installing and will allow the user to run your app using a regular shortcut to javaw.exe.

  • How to run applications with options in IDEs like Netbeans

    Hi, I'm new to the Netbeans IDE and I'm wondering how to run applications with options.
    Normally I'd enter the following in the command line:
    java -Djavax.net.ssl.keyStore=mykeystore -Djavax.net.ssl.keyStorePassword="..." TLSServer
    java  -Djavax.net.ssl.trustStore=mytruststore -Djavax.net.ssl.trustStorePassword="..." TLSClient localhostProblem is, I've no idea how to do the same thing in IDE's like Netbeans and I can't any settings to add options like "-Djavax.net.ssl.keyStore=mykeystore" before running the application. Any help will be appreciated.
    Message was edited by:
    Wolfgard

    Right-click the project, click properties, clicl run, and add parameters to VM Options.

  • How to run applications in visual j++ 6.0

    Hi,
    I am putting my code below. I would like to get some help on how to run an application in visual j++. I could build and run this, but the problem is that i am not able to view the result. Whereas the same program when run on the command prompt with jdk shows me the result.
    Please somebody help me in viewing the console or some other window that shows me the result.
    Thank you.
    Jagadish.
    import java.util.*;
    import java.io.*;
    class abc{
    static int count=0;
    public static void main(String args[]) throws Exception
         float agentPosition[] = new float[3];
         for(int k=0; k<3;k++)
    agentPosition=reader();
    for(int j=0;j<3;j++)
    System.out.println(agentPosition[j]);
         }//main
    static float[] reader()
    float[] p1 = new float[3];
         try
         FileReader fr = new FileReader("data.dat");
         BufferedReader br = new BufferedReader(fr);
         String s;
    int count1=0;
    count++;     
         System.out.println();
         System.out.println(count1);
         System.out.println(count);
         try{  
         while((s=br.readLine())!=null)
    count1++;
              StringTokenizer st = new StringTokenizer(s);
              if(count1==count)
              int i=0;
              while(st.hasMoreTokens())
              //p1[i++]=Float.parseFloat(st.nextToken());
                   String s1=st.nextToken();
                   Float fl = new Float(s1);
                   p1[i++]=fl.floatValue();
              }//if
              }//end of stringTokenizer while.
         fr.close();                
         }//try
         catch(IOException f)
              System.out.println("file cannot be opened");
         }//try
         catch(FileNotFoundException e)
         System.out.println("file doesn't exist");
    return p1;
    }//reader
    }//abc

    I agree with PersianDude. VJ++ is an old IDE, no longer supported by M$, uses a very old version of Java, and, for the most part uses platform-dependent code (guess which platform) for a language whose main goal and claim-to-fame is platform-INDEPENDENCE.
    I won't even use Borland's JBuilder anymore. The version that I had cannot support 1.4, there is no upgrade version in the new release (they have a cobbled, cheapo version for $60 that isn't worth even that), and the newest version for creating commercial applications is (ba-ching) $1000. They're outta their cotton-pickin' minds. For that money, it'd better write the apps for me and send me the checks.
    Sun ONE (formerly known as 'Forte for Java') is inexpensive (free for the community version) and works terrifically. It has a steep learning curve, but worth the cost (free for the dommunity version).
    JCreator, which I haven't tried, is considered by many to be the best IDE out there. If I decide to spend money for an IDE, it will more than likely be this one.
    If you're going to program in Java (and not some bastard, unsupported version by M$), use a real Java IDE.
    Robert Templeton

  • How to import DU to Cloud system via cockpit?

    Hi,
    I am trying to import the DU to HANA cloud system via link in cockpit - SAP HANA Life Cycle management.
    While importing from File, it gives the error "Activation failed atleast for 1 object"
    Do we have to create schema for the DU in studio before we start the import from cockpit??
    Please let me know.Because in studio, before importing the DU, we create the schema and start the import.
    Is the same procedure to be followed  for cockpit also?
    Regards,
    Indhu.

    Hi Indhu,
    first of all "SAP HANA Life Cycle management" is not "(HCP cloud) cockpit", but another tool provided by HANA and linked from cockpit only.
    Frankly speaking I don't know how DU import in HANA LM WebUI works. Nevertheless you have always a DB schema. I did always with HANA studio, there is no need to create an addtional schema.
    You may connect HANA experts for your question.
    Best regards
    Xu

  • How to run application

    Hi! I've programmed for years JSP, Servlets and Applets, but never a desktop application, so... my problem is that I don't have any idea on how to run it. I mean, of course I know how to run some application in my own desktop (java applicationname) but my doubt is, what I need to install in the client desktop or how must I do my package in order to run without the need for installing the SDK. Because, as I known, the "java.exe" comes with SDK, and of course, I don't think that I need to install de entire SDK in all my clients desktops in order to run my application.
    Any help will be very appreciated!

    JRE (= Java Runtime Environment) suffices to run an application.

  • How to change application name in system-jazn-data.xml

    I have weblogic server installed and applications deployed.
    However, I'd like to change the application name in system-jazn-data.xml, specifically, the "<name>context=APPLICATION,name=app1</name>" change "app1" to be "AllMyApp".
    Is this possible? ideally, I do not want to re-deploy the application. I'm not sure what files in application(I have both Web and EJB based applications) kept the name to point to above names in system-jazn-data.xml
    Thanks

    Hi thanks for your quick response.
    I mean to say we have deployed one application and that application appears as a web-DynPro application in PCD. Then i copied that application and pasted in the application folder as a page(PCD object). The page in the folder and application in webdynpro application both are having the same name.
    Now when i changed the name of the application in webDynPro (By re factoring) and deployed. The name in PCD in webdynPro application get changed but the PCD object in Folder becomes like a warning sign and shows that broken delta link.
    Now i want to know can i edit the link of the object so that it can point to the exect application or i have to copy the application and again paste as PCD object in the folder and then assign again to all 20 roles.
    Thanks & Regards
    Jeetendra....

  • Help me ,how to run application in jDevloper

    Dear Furum
    i am using free version of jDevloper for last 3 months. And i found some error while compile jClient/Swing (.jpr)
    using bc4j(orcle).
    And there is no error show in log window and application
    hang for long time.
    But my application is running without using bc4j component.
    so what this version expire?
    javed

    Thanks! Forum
    My applicaton name testJA.jpr with jFrame name(FormMypackage1Module.java).
    while running application i fund following line in log window,and after just hang.
    reply me immeditly.
    C:\jDevHome\jdk\bin\javaw.exe -ojvm -classpath C:\jDevHome\jdev\mywork\TestWS\testJA\classes;C:\jDevHome\jdev\mywork\TestWS\testBc4j\classes;C:\jDevHome\BC4J\jlib\bc4jui.jar;C:\jDevHome\jlib\bigraphbean.jar;C:\jDevHome\jlib\LW_PfjBean.jar;C:\jDevHome\BC4J\lib\bc4jimdomains.jar;C:\jDevHome\BC4J\jlib\bc4jimjui.jar;C:\jDevHome\ord\jlib\ordim.jar;C:\jDevHome\ord\jlib\ordhttp.jar;C:\jDevHome\ord\jlib\jmf.jar;C:\jDevHome\lib\xmlparserv2.jar;C:\jDevHome\lib\xmlcomp.jar;C:\jDevHome\jdev\lib\jdev-rt.jar;C:\jDevHome\sqlj\lib\runtime12ee.jar;C:\jDevHome\BC4J\lib\bc4jmt.jar;C:\jDevHome\BC4J\lib\collections.jar;C:\jDevHome\BC4J\lib\bc4jct.jar;C:\jDevHome\lib\xmlparserv2.jar;C:\jDevHome\jlib\jdev-cm.jar;C:\jDevHome\j2ee\home\lib\jndi.jar;C:\jDevHome\jlib\ojmisc.jar;C:\jDevHome\jdbc\lib\classes12.jar;C:\jDevHome\jdbc\lib\nls_charset12.jar;C:\jDevHome\BC4J\lib\bc4jimdomains.jar;C:\jDevHome\ord\jlib\ordim.jar;C:\jDevHome\ord\jlib\ordhttp.jar;C:\jDevHome\jlib\jdev-cm.jar;C:\jDevHome\BC4J\lib\bc4jdomorcl.jar;C:\jDevHome\BC4J\jlib\bc4jdatum.jar -Dhttp.proxyHost=200.0.0.1 -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=w2k|live mypackage2.FormMypackage1Module

  • How to run java from another directory

    hi,
    i have a Sample.java file in F drive(f:/Sample.java). I opened command prompt in windows and went to c: drive and try to compile as
    C:\>javac f:/Sample.java
    above command works well. it generated Sample.class file in F:/Sample.
    But, when i try to Run that file, i got the error as follow.
    C:\>java f:/Sample
    Exception in thread "main" java.lang.NoClassDefFoundError: f:/Sample
    Caused by: java.lang.ClassNotFoundException: f:.Sample
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Could not find the main class: f:/Sample. Program will exit.
    Please guide me to run java file from another directory

    Thanks a lot. I appreciate your answer
    But, when i try to run the java program.. below message has been displayed, showing how to use the command with options....
    I didn't get the result of java program.
    c:\>java f:\Sample.java
    C:\>java -cp f:\Sample
    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-options] -jar jarfile [args...]
    (to execute a jar file)
    where options include:
    -client to select the "client" VM
    -server to select the "server" VM
    -hotspot is a synonym for the "client" VM [deprecated]
    The default VM is client.
    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
    A ; separated list of directories, JAR archives,
    and ZIP archives to search for class files.
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -version:<value>
    require the specified version to run
    -showversion print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
    include/exclude user private JREs in the version search
    -? -help print this help message
    -X print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
    enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
    disable assertions
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    -agentlib:<libname>[=<options>]
    load native agent library <libname>, e.g. -agentlib:hprof
    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
    load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
    load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
    show splash screen with specified image
    C:\>

  • How to run application client of an EJB application?

    Hi,
    My EJB application is deployed on websphere. I have written a small java client program to interact with an EJB which is working fine if I compile and run it in websphere studio environment.
    However I am getting runtime exception when I tried to run it at command line.
    RemoteConn.java
    import java.util.Hashtable;
    import com.deque.HelloJavaHome;
    import com.deque.HelloJava;
    import javax.naming.InitialContext;
    import javax.naming.Context;
    import javax.ejb.EJBHome;
    import javax.ejb.EJBObject;
    public class RemoteConn {
    public static void main(String[] ar) throws Exception{
    String name="Paruchuri!!";
    String greeting = "";
    try{
    Hashtable env = new Hashtable();
    //env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.ws.naming.util.WsnInitCtxFactory");
    env.put(Context.PROVIDER_URL, "iiop://localhost:2809");
    InitialContext initContext = new InitialContext(env);
    Object obj = initContext.lookup("ejb/HelloJavaHome");
    HelloJavaHome home = (HelloJavaHome) javax.rmi.PortableRemoteObject.narrow(obj, HelloJavaHome.class);
    HelloJava remote = home.create();
    greeting = remote.getGreeting(name);
    catch(Exception e){
    e.printStackTrace();
    System.out.println("Greeting::"+ greeting);
    I have set the application ejb client jar in the class path of client program.
    The exception I am getting at runtime is
    Exception in thread "main" java.lang.NoClassDefFoundError: com.ibm.CORBA.iiop.GlobalORBFactory
    at com.ibm.ejs.oa.EJSORBImpl.class$(EJSORBImpl.java:44)
    at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:195)
    at com.ibm.ejs.oa.EJSClientORBImpl.(EJSClientORBImpl.java:93)
    at com.ibm.ejs.oa.EJSClientORBImpl.(EJSClientORBImpl.java:65)
    at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:385)
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)
    at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:369)
    at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:112)
    at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:422)
    at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:143)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at RemoteConn.main(RemoteConn.java:38)
    Initially I thought I shuold set some jar file of websphere in the classpath of client. But I did not find such a jar containing the above class in websphere studio.
    Basically the error is generated at the below statement at runtime.
    Object obj = initContext.lookup("ejb/HelloJavaHome");
    The only difference I discovered was that the client application has a descriptor file (application-client.xml ) available to it when it ran in websphere studio,. I guess the same META-INF should be provided to client when it runs at command line.
    Right now I am not using any client descriptor file to run the client program. If the above error is due to not supplying META-INF to the client application, how should I make this folder available to client at runtime?
    I greatly appreciate if I could get help ASAP.
    Thanks

    Hey got what is going on. In order to invoke EJB, deployed on WebSpehre App Server, from application client we need to install either WebSphere Application Pluggable Client or WebSphere Thin client on the workstation. Pluggable client is a wrapper to SUN JRE where as Thin Client uses IBM JRE.

  • How to run windows mobile device center via remote desktop

    I am developing mobile application in Microsoft Visual Studio 2008. I connect to my computer via remote desktop and my operating system is Windows Server 2012 R2. In order to test the application, I use mobile device emulator. I can run device emulator but
    there occurs a problem when I try to cradle the device. I found out that this is because wmdc cannot run via remote desktop. Is there any way to run wmdc via remote desktop? I searched other topics but there is no solution to this.
    Note : WMDC works when I directly use the computer not with remote desktop.

    Hi Omer,
    Please check this thread to see if there is one solution may solve your problem.
    http://stackoverflow.com/questions/3490910/emulator-not-connecting-to-windows-mobile-device-center-after-emulator-soft-rese
    https://social.technet.microsoft.com/Forums/en-US/3d1f1a9a-7ca8-4408-a501-cc67843ffa16/remote-desktop-does-not-connect-to-wmdc?forum=winserverTS
    Best regards,
    SHu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to run the exe in system tray?

    dear ni,
                    Interestingly i want to do something with labview with different task... now, after creating the exe is it possible to run on "system tray"
    when exe window close that will come to system tray.... how to do this?,..
    Regards,
    Balaji DP

    This Inventeering toolkit allows you to create a LabVIEW program that can access the Window's System Tray. Now you can make your LabVIEW program show up with your custom icon, pop up tool tip, and pop up menu in the system tray. Comes with a Royalty Free built application distribution license.
    Product Features:
    PROGRAMMABLE loading of icons, tool tips and menus to the system tray that will allow your program to poll for system tray events; and then respond in accordance to your design needs. An example LabVIEW Program demonstrating use is also provided.
    http://www.inventeering.com/_public/INVtray/INVtray.zip

  • How to access applications in another computer

    how to make use of java programs to access applications or files in another computer across the same network or over the internet. can help???

    how to make use of java programs to access
    applications or files in another computer across the
    same network or over the internet. can help???Overly broad question. Next!
    No seriously; what do you want ? Do you want to execute something (a process); do you want to execute it here, or there ? Do you want to connect to some service to do it for you ? Do you want the service to be distributed ? Do you want the service to maintain state ? Do you want to do it transparently inside your code, or do you want to explicitly implement a client API ?
    Your choices range from:
    - nfs or smb (execute here, executable there)
    - rsh or ssh (execute there, if the remote part is UNIX)
    - cgi over http (very common, but stateless)
    - CORBA or rmi (transparent remote OO calling)
    Read up on all these, and provide yourself with answers !

  • How to run Depreciation in SAP system when manual posting has been made

    Hi
    My client is posting the dep thro' manual entry every quater from 2003 FY onwards.But untill 2002 they were posting the dep in SAP,due to some issue they started to post the dep manually  and now they want to run the dep in SAP system.
    I am new to AA and i am confused and don't know how to proceed  further.
    If i run the dep  from 2003 period 1,then what will be impact of the same  and the FI books has beem closed but the AA year is still open.
    I though of going like....
    I will retire all the asset as on 31.03.02 without revenue and  purchase the same assets in the current fiscal year (2007) as a in house manufacturing  with the current  book value.
    I don't whether i am correct or wrong, if i am correct/wrong  kindly guide me and the area or implication that i have to take care while  performing the above activity... or any other way/suggestion thro' which i can bring the dep in the system thro' standard way...
    We are in 4.6c version.
    regards
    Praveen

    hi Praveen,
    my advice was to reverse the newly created depreciation posting, not the ones which were created throughout the years periodically.
    if you run the depreciation now and post all values to today, than you have to do the reverse posting today. They should be exactly the same day! If you do the depreciation post for a day in the past, that means (at least for me), that you are allowed to post to that day (both legally and 'SAPally' , and in this case you have create (and you should be able to do so) the reverse posting for that day.
    Come back if you need more clarifications
    ec

Maybe you are looking for

  • Photos look blurry in Aperture (Unknown Lens)

    Hello, I see a strange behaviour in Apple's Aperture (latest version). When I import new pictures, taken by a Samsung NX1000 and open the pic the first time it looks sharp. After less than a second Aperture does something and I see the picture change

  • WRT54GS v6 Acting Wierd!

    Hi All, I have a WRT54GS which I have been using for over 5 years! The router is awesome.. packed with features but recently my orignal adapter gave up so I had to get a new one. I have a 1000mA adapter connected to it now. For some time It was worki

  • Reinstalling specific software

    i am having some difficulty with my networking/internet software ( continually drops out ) I think that this is not a problem from my dsl modem but from my software and I would like to reinstall the networking software and start with a clean slate.ho

  • HT4972 How do I erase my iPad then update to ios5

    How do I erase my iPad then update to ios5 anyone pls, I was trying to update to ios5, and was ask to erase then update.

  • Why can't I download FIFA 13 even though I have loads of space?

    When I try to download FIFA 13 it just says you don't have enough local storage available even though I have 1.9 gb free and the game is just 1.3.