Page 3 of 3 <123
Topic Options
#117728 - 2004-11-10 08:59 PM Re: My Computer Info - for Help Desk use PART 3
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
or go with shelling.
that is, instead of call, use shell or run:
run "wkix32 compinfo.kix"

to make it work alone in it's own space and time.
_________________________
!

download KiXnet

Top
#117729 - 2004-11-10 10:57 PM Re: My Computer Info - for Help Desk use PART 3
JTT Offline
Fresh Scripter

Registered: 2002-10-14
Posts: 32
Loc: Utah
Hey thanks for the info, I didn't even think about calling it using "RUN". I put that in place and that has solved my problem.

Thanks again!

Jason

Top
#117730 - 2004-11-15 08:23 PM Re: My Computer Info - for Help Desk use PART 3
RyanMcKay Offline
Lurker

Registered: 2004-11-15
Posts: 1
A humble suggestion:

can we add the system model to the script after the manufacturer.

In addition can you please post a version which writes all of this wonderful information to a text file


Thanks


R

Top
#117731 - 2004-11-15 08:32 PM Re: My Computer Info - for Help Desk use PART 3
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Hello Ryan. Yeah, somewhere along the way I left that out of the public version. I originally wrote this for work which had some non-generic information in it about our Company which I could not post. So I modified it and removed portions about our Company, but think I left some things out.

You can easily redirect the output to text I'd think with the Redirectouput command or using writeline as in the rest of the script towards the bottom in the logging.

Not sure when it will be done or ready, but Jooel is working on an all new version that will run from within IE that looks rather nice so far.

Top
#117732 - 2005-01-19 11:46 AM Re: My Computer Info - for Help Desk use PART 3
ClientMaster Offline
Fresh Scripter

Registered: 2005-01-19
Posts: 46
Loc: Tokyo, Japan
This is amazing..

Is it possible to export this data to an Access Database?
_________________________
How can you know good, unless you experience bad.

Top
#117733 - 2005-01-19 11:59 AM Re: My Computer Info - for Help Desk use PART 3
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yes.
_________________________
!

download KiXnet

Top
#117734 - 2005-01-24 01:43 AM Re: My Computer Info - for Help Desk use PART 3
ClientMaster Offline
Fresh Scripter

Registered: 2005-01-19
Posts: 46
Loc: Tokyo, Japan
Jooel,
Thanks for the reply.
Would you be able to tell me how...
Would be greatly appreciated.
_________________________
How can you know good, unless you experience bad.

Top
#117735 - 2005-01-24 02:09 AM Re: My Computer Info - for Help Desk use PART 3
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
not that simple that I would go teaching db connection stuff on this thread.
this is already considered as hijaack.
_________________________
!

download KiXnet

Top
#117736 - 2005-04-13 02:59 PM Re: My Computer Info - for Help Desk use PART 3
kid Offline
Fresh Scripter

Registered: 2005-04-13
Posts: 5
Hello ,

Instead of launch the internet explorer to view the results, can you also save it as a HTM or excel file.
Do anyone know that code.

Thanks

Top
#117737 - 2005-04-13 10:12 PM Re: My Computer Info - for Help Desk use PART 3
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
It is pretty much controlled for that stuff around line 156 of the code.

Think you need to first get your feet wet with the basics of KiXtart though before you start running or flying.


Code:
If Exist($HTMLLog)
Del $HTMLLog
EndIf

RecordHTMLLogon()

If Exist($HTMLLog)
Shell $Explorer + ' ' + $HTMLLog
EndIf
Exit 1


Top
#180793 - 2007-09-24 07:10 PM Re: My Computer Info - for Help Desk use PART 3 [Re: NTDOC]
Sean Offline
Fresh Scripter

Registered: 2004-05-06
Posts: 10
Using CompInfo with version information:
; 2.01 *** 10/4/2005 6:02PM - By NTDOC

I have all my startup items duplicated in the HTML report, with both the user as ".Default" and "AUTHORITY\SYSTEM". Is there any way to make it so it does not dupe them?

APPLICATION COMMAND PATH USER
a3d a3d.dll Startup .DEFAULT
a3d a3d.dll Startup AUTHORITY\SYSTEM

Thank you for your time,
Sean Dorsey

Top
#180799 - 2007-09-24 09:47 PM Re: My Computer Info - for Help Desk use PART 3 [Re: Sean]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Please try it on another system and see if you have that problem.

I have not looked at the code in a long time but I had this similar thing happen on a system where WMI was damaged and I could not seem to fix it short of rebuilding the system.

Top
#180856 - 2007-09-26 02:51 PM Re: My Computer Info - for Help Desk use PART 3 [Re: NTDOC]
Sean Offline
Fresh Scripter

Registered: 2004-05-06
Posts: 10
That did it. I ran it on another system and it was QUICK and had only usefull information.

The PC with the damaged WMI has to be replaced anyway, than you for the updated code.

I added support for McAfee 8.5, do you want me to post the code?

Thanks again.

Top
#180896 - 2007-09-27 06:11 AM Re: My Computer Info - for Help Desk use PART 3 [Re: Sean]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
 Quote:
I added support for McAfee 8.5, do you want me to post the code?


Sure that would be great. Not sure when I'll update this code again but good to have updates if I do

Top
#180922 - 2007-09-27 09:16 PM Re: My Computer Info - for Help Desk use PART 3 [Re: NTDOC]
Sean Offline
Fresh Scripter

Registered: 2004-05-06
Posts: 10

Added $mcafee85, TempDate1, TempDate2, TempDate3, and changed the McAfeeArray from 3 to 4.

Set value of $mcafee85 to the full path.

Played around with McAfee's date code so it came out easy to read. Added the code to print out the date code in the table at the end. I added the date code as sometimes seeing just the version number does not help.

Thanks again!


===================================

Function GetMcAfeeVirusInfo()
Dim $mcafee,$tvd,$mcafee85,$datnum,$engine,$product,$TempDate1,$TempDate2,$TempDate3,$McAfeeArray[4]
$mcafee='HKLM\SOFTWARE\McAfee\VirusScan'
$tvd='HKLM\SOFTWARE\Network Associates\TVD'
$mcafee85='HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Application Plugins\VIRUSCAN8600'


;VS 8.5 (manually added by Sean Dorsey
KeyExist($mcafee85)
$datnum=ReadValue($mcafee85,'DATVersion')
$engine=ReadValue($mcafee85,'EngineVersion')
$product=ReadValue($mcafee85,'Version')
$DatDate=ReadValue($mcafee85,'DatInstallDate')
$TempDate1=SubStr($DatDate,1,4)
$TempDate2=SubStr($DatDate,5,2)
$TempDate3=SubStr($DatDate,7,2)
$DatDate=$TempDate2 + "-" + $TempDate3 + "-" + $TempDate1

Top
Page 3 of 3 <123


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 411 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.219 seconds in which 0.076 seconds were spent on a total of 14 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org