Here’s a small utility I’d written in ‘05 in HTA using mostly VBScript to replace the hordes of dos BAT files utilizing pstools that i had laying around for starting and stopping and checking services/processes/logs on remote machines on our network. Primarily it was used with managing a small farm with 3dsmax/vray.

Click to Download files, click image to view full post about it
Older versions archived: http://www.buchhofer.com/files/index...lave_utilities
* Run the .HTA once.. it will create 2 files for you
* “Computers.ini” which you will will need to edit to contain 1 slave computer per line in it (either IP address or computer Name work, use 127.0.0.1 for your local system)
* “SlaveutilsOptions.ini” which will have slots for various paths and options. read the file and edit the lines accordingly.
o (Path to your VNC client,
o whether to use alternate credentials or not,
o and what the login/password would be if you did use them.
Note: Its been brought to my attention that some virus scanners will flag this download (Understandably in my opinion) as ‘Greyware’ because it contains VBScript that uses the WMI (Windows Management Interface) to affect changes to remote computers, enclosed in an HTA (Read: Executable Webpage). the full code is in there and easily readable.
I’ve been experimenting with a few other ways to package it, either via Maxscript, or Python, but they tend to get constrained to ‘free’ time as this functions perfectly
* “Computers.ini” which you will will need to edit to contain 1 slave computer per line in it (either IP address or computer Name work, use 127.0.0.1 for your local system)
* “SlaveutilsOptions.ini” which will have slots for various paths and options. read the file and edit the lines accordingly.
o (Path to your VNC client,
o whether to use alternate credentials or not,
o and what the login/password would be if you did use them.
Note: Its been brought to my attention that some virus scanners will flag this download (Understandably in my opinion) as ‘Greyware’ because it contains VBScript that uses the WMI (Windows Management Interface) to affect changes to remote computers, enclosed in an HTA (Read: Executable Webpage). the full code is in there and easily readable.
I’ve been experimenting with a few other ways to package it, either via Maxscript, or Python, but they tend to get constrained to ‘free’ time as this functions perfectly
Edit2: Some people are having problems with the pstools utilities. it would appear they don't work with the 'Simple file sharing' set to on.
Edit3: The reason an HTA application was chosen instead of a VB or Exe or Java doohicky, is because i figured that anything that requires a user/login to be entered would be something that people would like to verify in the code if they're so inclined.. (Call me paranoid.)
Cheers.
thanks Dynedain and the rest of the vray efnet chat folks for input..

Edit: Post 105: maxscript version .75

Here's a little update to the maxscript version of the tool, nothing too fancy, i just found myself wanting the vrayRTspawner service in the list, so here are the main changes:
http://www.buchhofer.com/upload/file...5_07-16-09.zip
Can't say as I've touched the hta/vb version in a long while, i know its a bit out of date in terms of which directories and services it defaults to, if anyones still using it regularly i can take a peek at it.
http://www.buchhofer.com/upload/file...5_07-16-09.zip
Code:
-- .75 - added vrayRT service -- .75 - convert to simpler doscommand style execution -- .75 - added an optional pause to the end of the commandline based tools -- .75 - fixed the invert button in server selection -- .75 - prints the commandline to the listener -- .75 - Added installer and uninstaller -- .80 - convert to dos based loop for multiple systems -- .85 - small bug fix to handle spaces in the path
Comment