Run a program remotely?

Page 2 of 2 FirstFirst 12

  1. Posts : 289
    Windows 7 Home Premium x64
       #11

    I have no experience with it but I would imagine you could find a way to leverage PowerShell do do this.
      My Computer


  2. Posts : 2,177
    Windows 8.1 Pro x64
    Thread Starter
       #12

    Thorsen said:
    psservice.exe \\rcomputer -u mike -p 123456 start spooler
    Where:
    \\rcomputeris the name of the remote computer.
    -u mike -p 123456 – is the username and password of the account that has administration rights on the remote computer.
    start spooler – is the command to start the service named spooler.

    How To Stop And Start Services On Remote Windows Computers


    Did you try psservice based on these parameters?

    Can the program be accessed as a service or do you need to actually run an exe? I have not had much luck finding the correct syntax for net start. I am finding vague "non-exampled" examples If I find anything useful I will post
    Thank you for this info, i will give it a go. I have not tried psservice but i will want to run an exe rather than an actual service.

    Vincenzo said:
    When you say a remote machine, do you mean on the same local network as you? If so, you should be able to create a batch file that you can launch after logging in to the other computer. I can't say I've ever done this, but it should work.
    I do quite a lot with batch files and can do this but don't want it when logging in, i want to do it as and when i feel like it.

    mlevy said:
    I have no experience with it but I would imagine you could find a way to leverage PowerShell do do this.
    I am currently looking at powershell at the moment, it looks very good.
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:20.
Find Us