473,405 Members | 2,154 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Starting an Application on a Remote PC ( XP sp3)

9
Idea is to;

start for example winword.exe on a remote PC so that the remote PC user could see it and start work immidiately.

Solutions that I have already tried out:

1) PSexec.exe with a batch file
2) Basic Telnet operations.. -I am still working on it.

Maybe some of you guys did something like this and could help me out.
Jun 18 '12 #1

✓ answered by kapik

Ok, maybe you will find this solution of the problem a bit LAME but:
1) I create a scheduled task @ remote control:
schtasks.exe /create /S REMOTE_PC /RU my_domain\adminLogin /RP admin_pass /SC einmal(I've got german XP :P) /TN "task_name" /TR "program_task_path" /ST 11:11:11

2) then I run it:
schtasks.exe /run /S Remote_Pc /RU my_domain\adminLogin /RP admin_pass /TN "task_name"

Ok, i know that the same might be accomplisched using VB-script but I had no time to learn the principles.

I hope that this small and simple solution will help Ya!

Please post your additional solutions. :)

Best wishes from Stuttgart,
Kapik ;)

5 1978
Rabbit
12,516 Expert Mod 8TB
Assuming you have admin access on that computer, you can use a VBScipt to make a call to WMI on that machine and create a process.
Jun 18 '12 #2
kapik
9
Rabbit, do you have any example of such a script? :)
Jun 18 '12 #3
Rabbit
12,516 Expert Mod 8TB
Expand|Select|Wrap|Line Numbers
  1. A = GetObject("winmgmts:{impersonationlevel=impersonate}!\\192.168.0.1\root\cimv2:Win32_Process").Create("C:\Program Files (x86)\Microsoft Office\Office12\Winword.exe", Null, Null, iProcID)
Jun 18 '12 #4
kapik
9
Thanks for the hint Rabbit !
I'll give this a try :)
Jun 19 '12 #5
kapik
9
Ok, maybe you will find this solution of the problem a bit LAME but:
1) I create a scheduled task @ remote control:
schtasks.exe /create /S REMOTE_PC /RU my_domain\adminLogin /RP admin_pass /SC einmal(I've got german XP :P) /TN "task_name" /TR "program_task_path" /ST 11:11:11

2) then I run it:
schtasks.exe /run /S Remote_Pc /RU my_domain\adminLogin /RP admin_pass /TN "task_name"

Ok, i know that the same might be accomplisched using VB-script but I had no time to learn the principles.

I hope that this small and simple solution will help Ya!

Please post your additional solutions. :)

Best wishes from Stuttgart,
Kapik ;)
Jun 19 '12 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: J Childs | last post by:
I am using the windows installer to install a winform application I have written in C#. How can I get the installer to automatically start the application once the setup is done?
4
by: Albert Valls Rovira | last post by:
Hello all... I have created an application that accesses to a SQL server. When I execute it in my workplace it works perfectly, but if I install it to the end-user I get this message: Rrquest...
1
by: Nusret Bajric | last post by:
Hello, I have a problem with starting a COM application from my ASP.NET application on the server machine. I get an error with a message permission denied during creation of COM object. If I...
5
by: Cleyton | last post by:
Hi! I would like to know if is it possible start an application through WINDOWS SERVICE using System.Diagnostics.Process.Start()? I've tried to do this but nothing happens. Tks!
5
by: Lamis | last post by:
Hi, i have just created my first Windows service and it is working great.. my problem is that I need to start an application in my service: protected override void OnStart(string args) {...
1
by: SMichal | last post by:
Hi, how can I start new process with this kind of application ? C:\Direct.exe -a -b -c <C:\Script.src C:\log.txt As you can see...I'll start appliaction ConnectDirect with 5 paramaters ...
4
by: jeeji | last post by:
Hi I have a console application that in some cases could get a System.IO.FileLoadException Could not load file or assembly XXX, Version=5.0.0.0, Culture=neutral, PublicKeyToken=YYYY' or one of...
1
by: kevin.a.sweeney | last post by:
I would like to open an application from a hyperlink on a webpage. 1. the webpage is located on my local machine. 2. the application is located on my local machine. 3. the application will run...
4
by: timor.super | last post by:
Hi group, I have a strange error. I'm a beginner with dotnet 3.0, when i try to run an wpf application from my windows explorer, the application crash. For example, i've downloaded the demo...
13
by: dfarney | last post by:
I have created a program in c# .net 2.0 that connects to a remote sql 2000 server. Connection for all our users/clients all over the US is fine, execpt one. Im thinking that it his firewall, but when...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.