#90156 - 2002-12-02 11:15 PM
my new project...
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
Here is a screenshot...
and here is the file
http://wheelerfam.com/Documents/Inquisitor.kix [ 10. December 2002, 21:55: Message edited by: Radimus ]
|
|
Top
|
|
|
|
#90165 - 2002-12-02 11:57 PM
Re: my new project...
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
ok.. it is posted...
basically, it is an idea I had (after reviewing Doc's Helpdesk app. and ripping a Kixform script for the shell form. (thanks Shawn)
I think the only external call (so far) is to WMIQuery, but the idea is for it to parse a hardcoded list of computer OUs, put those computers into a combobox, choose the computer out of that box, and it will WMIQuery the appropriate info in real time for that PC (if it is on line)
It also has a few buttons on the bottom to start SMS remote control to that machine, open that machine's C: Drive, etc...
It is still in progress, I'm adding a button to kill specific tasks on the remote PC, and perhaps, open the remote registry.
I'd like to be able to open the user account properties, from a previous request of mine.
Ideas/Suggestions???
|
|
Top
|
|
|
|
#90168 - 2002-12-03 07:42 PM
Re: my new project...
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
I didn't add them, they volunteered...
|
|
Top
|
|
|
|
#90170 - 2002-12-03 09:09 PM
Re: my new project...
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11628
Loc: CA
|
Hmmm.. quite cool idea there Rad.
I'll have to put this on my list of things to "steal and modify" when I've got time
|
|
Top
|
|
|
|
#90171 - 2002-12-09 03:02 PM
Re: my new project...
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
updated the code and picture above.
To Do list: - spawn remote process when uninstall button is pressed
- parse uninstall command for typical silent switches, add them if necessary
- Figure out how to remove a mapped drive
- brainstorm for new item in remaining space
- change Restart PC to add popup box for restart/shutdown options
- Add popup box to select driveletter and path for new mapped drive
|
|
Top
|
|
|
|
#90172 - 2002-12-09 03:32 PM
Re: my new project...
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear Radimus,
Indeed very cool. Very useful for people who are really familiar with KiXtart. In not only shows a lot of useful information, but it was a presented in a nice format. It gives also the user some capabilities without the need to learn KiXtart.
Thanks & greetings.
|
|
Top
|
|
|
|
#90173 - 2002-12-09 03:34 PM
Re: my new project...
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
Very nice - just trying to adapt it here for non-ldap usage ....
|
|
Top
|
|
|
|
#90174 - 2002-12-09 07:01 PM
Re: my new project...
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
I have the rcmd uninstall section working now.
code:
Function Uninstall $tools="\\a06\logon\tools" $command=$uninstallkey[$txtApp.ListIndex]
$command = $Form.InputBox("Verify Uninstall Command","Uninstall Command",$command) if not $command = '' $tempcmd='' for $loop=1 to len($command) $char=substr($command,$loop,1) if $char='"' $tempcmd=$tempcmd + '"' + '"' endif $tempcmd=$tempcmd + $char next $command = $tempcmd use "\\$name\ipc$$" $targetSystemRoot = readvalue("\\$name\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\","SystemRoot") shell '%comspec% /c $tools\xnet list $target | find /i "rcmdsvc" > nul' if @error = 0 shell '%comspec% /c $tools\xnet stop \\$name\rcmdsvc > nul' shell '%comspec% /c $tools\xnet remove \\$name\rcmdsvc /y > nul' endif copy "$tools\rcmd*.exe" "\\$name\admin$$\system32" if @error <> 0 exit(@error) endif shell '%comspec% /c $tools\xnet install \\$name\rcmdsvc /b:$targetsystemroot\system32\rcmdsvc.exe /n:"Remote Command Service" /u:localsystem /i:y /s:auto > nul' shell '%comspec% /c $tools\xnet start \\$name\rcmdsvc > nul' shell '%comspec% /c $tools\rcmd.exe \\$name "$command"' shell '%comspec% /c $tools\xnet stop \\$name\rcmdsvc > nul' shell '%comspec% /c $tools\xnet remove \\$name\rcmdsvc /y > nul' del "$destdir\rcmdsvc.exe" use "$target\ipc$$" /delete endif endfunction
|
|
Top
|
|
|
|
#90175 - 2002-12-09 07:10 PM
Re: my new project...
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
Opinions??
The uninstall command usually doesn't have the silent option in the command line.
should It provide a method for: manually editing the line to type them in. scanning the command and suggest the command line option for that executable. automatically adding the switch based upon best guess, and allow manual editing
Uninst.exe or Uninst16.exe wants: -y -a msiexec.exe wants: /q and some others wants /s or /q some have no option...
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 1003 anonymous users online.
|
|
|