Problem:
Have you tried to explain to a user how to do an ALT+Print Scrn and then paste the results to an e-mail or document?
History:
On a number of occasions a user is on VPN for example, and they cannot get to a resource. One of the things that has been asked it to do a tracert to the site and e-mail the results to them.
Idea:
Create a diagnostic tool for the end-users to send you results.
Solution:
Using the following tools/components, this can make this proecess pretty painless on you as the Admin and the User you are asking to do this.
TRACE.KIX is:
code:
BREAK ON
CLS
; -- Trace Diagnostic Tool
; -- Version .8
; -- Kent Dyer
; -- 8 August 2002
$mailhost = "server.domain.com" ; -- fill in with your smtp server
$adminrecpt = "recipient@@domain.com" ; -- add in your e-mail address
:processor
?"Type in the name of the server - e.g. www.microsoft.com or 207.46.230.220"
?""
?"When ready, press the <ENTER> Key to continue"
?""
?"->"
GETS $server
IF $server <> ""
? "Processing..."
SHELL "%ComSpec% /c tracert $server > byname.txt"
SHELL 'blat byname.txt -to $adminrecpt -server $mailhost -subject "Test Results 1" -f "testroute" -q'
DEL byname.txt
ELSE
CLS
?"Sorry.. No information was entered, please try again"
?""
?"If you need to exit, press <CTRL>+<C> to leave"
?""
?"---"
GOTO processor
ENDIF
The TRACE.SED (Self Extracting Directive) File is as follows:
code:
[Version]
Class=IEXPRESS
SEDVersion=3
[Options]
PackagePurpose=InstallApp
ShowInstallProgramWindow=0
HideExtractAnimation=0
UseLongFileName=0
InsideCompressed=0
CAB_FixedSize=0
CAB_ResvCodeSigning=0
RebootMode=N
InstallPrompt=%InstallPrompt%
DisplayLicense=%DisplayLicense%
FinishMessage=%FinishMessage%
TargetName=%TargetName%
FriendlyName=%FriendlyName%
AppLaunched=%AppLaunched%
PostInstallCmd=%PostInstallCmd%
AdminQuietInstCmd=%AdminQuietInstCmd%
UserQuietInstCmd=%UserQuietInstCmd%
SourceFiles=SourceFiles
[Strings]
InstallPrompt=
DisplayLicense=
FinishMessage=
TargetName=C:\!Kix\packager\Trace.exe
FriendlyName=Trace
AppLaunched=KIX32.EXE trace.kix
PostInstallCmd=<None>
AdminQuietInstCmd=
UserQuietInstCmd=
FILE0="trace.kix"
FILE1="KIX32.EXE"
FILE2="blat.exe"
[SourceFiles]
SourceFiles0=C:\!Kix\packager\
[SourceFiles0]
%FILE0%=
%FILE1%=
%FILE2%=
The way we have implemented this is to create an individual package for each of us on our team and we can get the results sent to either yourself or another teammate.
I am sure there are many other ways that this could be used, but this should be a good start.
Have fun!
Kent
[ 09. August 2002, 07:02: Message edited by: kdyer ]