| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Wed Oct 22, 2008 2:42 pm Post subject: Re: Excellent work! |
|
|
@Jon: Great little script! I use psexec all the time, and this GUI frontend will help things greatly. Thanks!!
@ Alphaechocharlie: Great idea, but in addition to the changes you proposed:
| alphaechocharlie wrote: |
...
| Code: | If rb_CompList = 1
Computers = \\%CompList%
Else
Computers = @"%CompFile%" |
...
|
You need to also add this:
| Code: | | stringreplace, CompList, CompList, `,, `,\\, all |
This will append the \\ to all of the computer names, not just the first one. |
|
| Back to top |
|
 |
bqw371
Joined: 26 Nov 2008 Posts: 32
|
Posted: Tue Dec 09, 2008 5:58 am Post subject: |
|
|
| Thanks for the great tool. |
|
| Back to top |
|
 |
Luka Guest
|
Posted: Sat Jan 17, 2009 6:45 pm Post subject: How to open the GUI ? |
|
|
Hi,
sorry I'm not an expert, how can I run the script ?
What is the programming language ?
Thank you ! |
|
| Back to top |
|
 |
Tom Guest
|
Posted: Wed Aug 19, 2009 7:29 pm Post subject: Re: How to open the GUI ? |
|
|
| Luka wrote: | Hi,
sorry I'm not an expert, how can I run the script ?
What is the programming language ?
Thank you ! |
I have been given a task at work, and was supplied with an earler version of PSexec.exe, I have never used this tool before, every thing I have tried so far is hopeless, this gui is just what might save my bacon. I have copied the script data to notepad, saved it as .vbs and as .bat I am unable to get it to run, please can advise how this is suppose to activated.
thanx |
|
| Back to top |
|
 |
tangy Guest
|
Posted: Fri Oct 30, 2009 6:21 pm Post subject: gui |
|
|
Tom,
I had the same issue and after some digging here I found you need to install the autohotkey program on your computer, copy the script into notepad and save as *.ahk.
Once you do that you can right-click on the script and turn it into an .exe file.
This is an awesome tool. |
|
| Back to top |
|
 |
csaborio Guest
|
Posted: Tue Nov 10, 2009 1:45 am Post subject: Wow, just wow. |
|
|
This is an amazing script, I was looking for something exactly like this and just found your wrapper, thank you thank you thank you!!!  |
|
| Back to top |
|
 |
schmultzburger Guest
|
Posted: Wed Mar 31, 2010 8:52 pm Post subject: |
|
|
Is this a dead project?
I can't get this to run in Win7 x64. I don't know if the problem is with compatibility with the latest version of PsExec (as someone else posted a while back) or my system.
I get an error:
| Code: | Error at line 1.
Line Text: ÿþ;
Error: This line does not contain a recognized action.
The program will exit.
|
but with the actual "odd" characters where I put the html codes.
TIA |
|
| Back to top |
|
 |
Rabbit Guest
|
Posted: Tue Oct 05, 2010 8:49 pm Post subject: Trying to start Backup Exec Remote Agent Service Remotely |
|
|
While looking at the services running on a server, I noticed that Backup Exec Remote Agent had stopped. How can I start the service remotely from the computer in my office, either thru command prompt, script, batch file, etc.. Thanks for the help.
Service name: beremote.exe
Path: \\servername\c$\program files\symantec\backup exec\raws\beremote.exe
I tried the following, but did not work: ERROR CODE 0
\\%var%\c$\psexec /accepteula \\%var% -s "C:\Program Files\Symantec\Backup Exec\RAWS\beremote.exe"
If you need more info., let me know. |
|
| Back to top |
|
 |
MacroMan!
Joined: 28 Aug 2009 Posts: 595 Location: Brighton, UK
|
Posted: Wed Oct 06, 2010 11:07 am Post subject: Re: Trying to start Backup Exec Remote Agent Service Remotel |
|
|
| Rabbit wrote: | While looking at the services running on a server, I noticed that Backup Exec Remote Agent had stopped. How can I start the service remotely from the computer in my office, either thru command prompt, script, batch file, etc.. Thanks for the help.
Service name: beremote.exe
Path: \\servername\c$\program files\symantec\backup exec\raws\beremote.exe
I tried the following, but did not work: ERROR CODE 0
\\%var%\c$\psexec /accepteula \\%var% -s "C:\Program Files\Symantec\Backup Exec\RAWS\beremote.exe"
If you need more info., let me know. |
From the command line (cmd) you can run:
| Code: | | sc \\CompName start ServiceName |
Note that ServiceName is not what is shown as the name in the Services control panel, you have to look at the properties of the service to get the correct name.
Details of the SC function here
David _________________ I'm still here. |
|
| Back to top |
|
 |
Rabbit Guest
|
Posted: Wed Oct 06, 2010 3:01 pm Post subject: Re: Trying to start Backup Exec Remote Agent Service Remotel |
|
|
From the command line (cmd) you can run:
| Code: | | sc \\CompName start ServiceName |
Note that ServiceName is not what is shown as the name in the Services control panel, you have to look at the properties of the service to get the correct name.
Details of the SC function here
David[/quote]
Thank for responding to my question..!
I am able to see this service or process by managing the computer and looking at the service pane. Also, by using the task manager, I'm able to see this process active/running.
I tried to use: sc \\CompName start ServiceName[/code]
But, it does not find this process running.
I really do appreciate your input. Many thanks...!
I willcontinue beating my head against the wall 'till I find a solution.
If you have any more input on this, it will be greatly appreciated. |
|
| Back to top |
|
 |
MacroMan!
Joined: 28 Aug 2009 Posts: 595 Location: Brighton, UK
|
Posted: Wed Oct 06, 2010 4:37 pm Post subject: |
|
|
You could try running this from the command line on the machine where the service is/should be running:
| Code: | | sc query ServiceName |
This will tell you what sc thinks of the service.
If it tells you the service doesn't exist, find the service in the services control panel applet (or manage computer) and right-click -> properties to get the actual service name rather than the display name:
The use that in the sc command. e.g.:
David _________________ I'm still here. |
|
| Back to top |
|
 |
Rabbit Guest
|
Posted: Thu Oct 07, 2010 1:22 pm Post subject: STARTING OR STOP A SERVICE REMOTELY |
|
|
[quote="me01273"]You could try running this from the command line on the machine where the service is/should be running:
| Code: | | sc query ServiceName |
This will tell you what sc thinks of the service.
If it tells you the service doesn't exist, find the service in the services control panel applet (or manage computer) and right-click -> properties to get the actual service name rather than the display name:
me01273, you are abolutely right.
I got it now. It was tricky for me to get the name of the service and not the display name or file specified in the path.
I was able to start the service using the SC command. And I was also able to start the service using the famous: PSEXEC.
I would like to take the oportunity to thank you so much.
This forum is awesome...!
Thanks me01273...! |
|
| Back to top |
|
 |
MacroMan!
Joined: 28 Aug 2009 Posts: 595 Location: Brighton, UK
|
Posted: Thu Oct 07, 2010 4:58 pm Post subject: |
|
|
No problem whatsoever my friend,
and your right, this forum is awesome.
David _________________ I'm still here. |
|
| Back to top |
|
 |
MrShortcut
Joined: 21 Jul 2009 Posts: 112
|
Posted: Wed Jul 13, 2011 8:23 pm Post subject: |
|
|
| Does anyone know how this could be tweaked to allow it to pipe the results? |
|
| Back to top |
|
 |
Bartimus
Joined: 10 Nov 2005 Posts: 164 Location: Texas
|
Posted: Thu Jul 21, 2011 3:10 pm Post subject: |
|
|
| MrShortcut wrote: | | Does anyone know how this could be tweaked to allow it to pipe the results? |
PsExec doesn't have a method of outputting it's results that I'm aware of. I've tried the standard piping method and all you get is a blank text file.
Anyways, PsExec switch syntax can be found here:
http://technet.microsoft.com/en-us/sysinternals/bb897553
If you can figure out how to capture it, I'd be interested too. |
|
| Back to top |
|
 |
|