Jump to content


Photo

PsTools GUI v0.1


  • Please log in to reply
21 replies to this topic

#1 MacroMan!

MacroMan!
  • Members
  • 604 posts

Posted 11 October 2010 - 10:47 PM

UPDATE: I have managed to get the files back all thanks to sjkeegs! Thank you very much! I have updated the links.

Hi all,

I have designed and made a graphical front end for the entire suite of PsTools.

Screen Shots

Posted Image

Posted Image

Posted Image


This GUI is designed to work with PsTools v2.44 which can be downloaded here
This script may not work with any previous/later version of PsTools.
When a new version of PsTools gets released, I will update this script if there is enough interest.

All PsTools executables should be stored in a folder called 'PsTools' which should reside in the same location as the PsToolGui executable or ahk scripts.

See the PsTools.chm help file, for instructions on syntax etc.
It is assumed that you are familiar with the usage of PsTools, this is just a graphical front end and in no way is designed to replace the command line interface.


I would normally place code here, but there is a lot of it, so here are the download links to the zipped files:

ahk files:
http://www.wakelin.c...iV0.1Source.zip

Pre-Compiled executable:
http://www.wakelin.c...0.1Compiled.zip

Alternative links if the above does not work:
AHK: http://www.refurbitu...iV0.1Source.zip
Compiled: http://www.refurbitu...0.1Compiled.zip

This script has been tested on Windows XP Pro SP3 x86.
This script was written to run as a standalone exe or with AHK Classic (Although it may work with ahk_L, I don't know).

Any feedback, bug reports, comments, suggestion etc are warmly welcome.

David

EDIT, Have updated the link for the source files.

#2 Rapte_Of_Suzaku

Rapte_Of_Suzaku
  • Members
  • 901 posts

Posted 12 October 2010 - 12:51 AM

Very nice. I don't use PSTools often, but that's why having a GUI is good for me! I'll add it to my collection of infrequently used but useful tools.

It seems to work fine with AHK L61H25 (AHK_H 25 and AHK_L 61).

#3 tic

tic
  • Members
  • 1902 posts

Posted 12 October 2010 - 10:36 AM

Why is it that if you try and run an ahk file remotely then it runs on the remote pc but no gui shows up?

#4 MacroMan!

MacroMan!
  • Members
  • 604 posts

Posted 12 October 2010 - 09:07 PM

Why is it that if you try and run an ahk file remotely then it runs on the remote pc but no gui shows up?


You need to tick 'Interact with desktop' or specify -i on the command line for it to run interactively (e.g. show a GUI)

#5 tic

tic
  • Members
  • 1902 posts

Posted 13 October 2010 - 12:53 AM

I know this is not related directly with your program, but still no gui shows on the remote machine:

psexec.exe \\d1184 -i -c -f "C:\Documents and Settings\tporter\Desktop\psexec\helloworld.exe"

This is what runs, but helloworld.exe starts on the remote machine, but no message box. Im thinking it would be nice at my work to be able to run programs I have written for the company remotely

#6 MacroMan!

MacroMan!
  • Members
  • 604 posts

Posted 13 October 2010 - 10:00 AM

I know this is not related directly with your program, but still no gui shows on the remote machine:

psexec.exe \\d1184 -i -c -f "C:\Documents and Settings\tporter\Desktop\psexec\helloworld.exe"


You may need to specify the Session name:

psexec.exe \\d1184 -i SessionName -c -f "C:\Documents and Settings\tporter\Desktop\psexec\helloworld.exe"

You can get the session name by using PsLoggedOn.

David

#7 tic

tic
  • Members
  • 1902 posts

Posted 13 October 2010 - 10:14 AM

I am asking all these questions, as I think it would be useful with your script to be able to run simple ahk scripts with a gui on a remote machine.

What would an example session name look like?

if I use PsLoggedOn it will just say the remote users name

#8 MacroMan!

MacroMan!
  • Members
  • 604 posts

Posted 13 October 2010 - 02:03 PM

Sorry, I should have explained in a little more detail.

Session ID is a whole number corresponding to what order people are logged on.

So when you run PsLoggedOn you get a list of logged on users:

The first user will be using session ID 0
the second user, session ID 1 and so on.

If you don't specify a session, it will assume session ID 0.

You can also goto task manager -> Users , column ID to see the ID of the logged on user.

Session Name can be used instead of session ID, this will usually be the username of the person logged on.


Note, if you have a sandbox (like Comodo) or similar installed it can prevent the program from running interactively.


Please note, however, I am not an expert at using PsTools, I just know how to make Gui's.

For detailed usage, please refer the chm help file that comes with PsTools or check the forum.


It should be pretty simple for most people to learn how to use PsTools, but if you have any questions please ask them or check out the PsTools forum to see if your question has already been asked before.

David

#9 skoliver1

skoliver1
  • Members
  • 32 posts

Posted 13 July 2012 - 02:39 PM

Could the AHK files be reposted? The link for them does not work.

#10 MacroMan!

MacroMan!
  • Members
  • 604 posts

Posted 13 July 2012 - 02:50 PM

I have updated the link with the correct address for the source files

#11 skoliver1

skoliver1
  • Members
  • 32 posts

Posted 13 July 2012 - 03:04 PM

Thanks!

#12 hendrikbez

hendrikbez
  • Members
  • 5 posts

Posted 24 July 2012 - 11:15 AM

Hi
I am trying to download the Pre-Compiled executable file, but it gives me 404 error

#13 fincs

fincs
  • Fellows
  • 1532 posts

Posted 24 July 2012 - 11:26 AM

hendrikbez: autohotkey.net is having serious problems since yesterday, let's hope that the admin fixes it soon.

#14 hendrikbez

hendrikbez
  • Members
  • 5 posts

Posted 24 July 2012 - 11:28 AM

Thank you, will try again tomorrow to download it

#15 hendrikbez

hendrikbez
  • Members
  • 5 posts

Posted 30 July 2012 - 06:47 AM

When will this site be fixed, I still cannot download this file, anyone know were else I can download this file.