AutoHotkey Community

It is currently May 26th, 2012, 10:10 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 30 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Excellent work!
PostPosted: October 22nd, 2008, 3:42 pm 
@Jon: Great little script! I use psexec all the time, and this GUI frontend will help things greatly. Thanks!!:D

@ 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.:wink:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 9th, 2008, 6:58 am 
Offline

Joined: November 26th, 2008, 4:16 pm
Posts: 32
Thanks for the great tool.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: How to open the GUI ?
PostPosted: January 17th, 2009, 7:45 pm 
Hi,

sorry I'm not an expert, how can I run the script ?
What is the programming language ?

Thank you !


Report this post
Top
  
Reply with quote  
PostPosted: August 19th, 2009, 8:29 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject: gui
PostPosted: October 30th, 2009, 7:21 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject: Wow, just wow.
PostPosted: November 10th, 2009, 2:45 am 
This is an amazing script, I was looking for something exactly like this and just found your wrapper, thank you thank you thank you!!! :)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 31st, 2010, 9:52 pm 
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


Report this post
Top
  
Reply with quote  
PostPosted: October 5th, 2010, 9:49 pm 
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.


Report this post
Top
  
Reply with quote  
PostPosted: October 6th, 2010, 12:07 pm 
Offline

Joined: August 28th, 2009, 11:17 am
Posts: 599
Location: Brighton, UK
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

_________________
With mixed feelings I am stepping down from all moderation responsibilities: http://www.autohotkey.com/forum/viewtopic.php?t=82906


Report this post
Top
 Profile  
Reply with quote  
PostPosted: October 6th, 2010, 4:01 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 6th, 2010, 5:37 pm 
Offline

Joined: August 28th, 2009, 11:17 am
Posts: 599
Location: Brighton, UK
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:

Image

The use that in the sc command. e.g.:

Code:
sc query stisvc


David

_________________
With mixed feelings I am stepping down from all moderation responsibilities: http://www.autohotkey.com/forum/viewtopic.php?t=82906


Report this post
Top
 Profile  
Reply with quote  
PostPosted: October 7th, 2010, 2:22 pm 
[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...!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 7th, 2010, 5:58 pm 
Offline

Joined: August 28th, 2009, 11:17 am
Posts: 599
Location: Brighton, UK
No problem whatsoever my friend,

and your right, this forum is awesome.

David

_________________
With mixed feelings I am stepping down from all moderation responsibilities: http://www.autohotkey.com/forum/viewtopic.php?t=82906


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 13th, 2011, 9:23 pm 
Offline

Joined: July 21st, 2009, 8:36 pm
Posts: 121
Does anyone know how this could be tweaked to allow it to pipe the results?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 21st, 2011, 4:10 pm 
Offline

Joined: November 10th, 2005, 11:26 pm
Posts: 169
Location: Texas
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.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], xXDarknessXx and 9 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group