PDA

View Full Version : Program that will log info about when my computer was last used?



_Ash_
07-29-2003, 09:00 AM
I think my brother is using my computer but i'm not sure.

I dont have anything important on it, nore anything illegal. I'm just curious.

As i dont have a password for login (not that thats any good for Windows ME) i carnt tell if or when it was last used.

Is there any little program that will log this info so i can see when my computer was last used?

Thanks

Ash /images/forums/icons/smile.gif

Xavier_Ao
07-29-2003, 01:35 PM
I'm not sure about a program for you, but if you don't want anyone (and I mean anyone ) getting onto your computer when you're gone. Turn on the screen saver and password, and the bios password.
That will make it very difficult to gain access to the computer. (I say very difficult, because it can be done, just not easily.)
Only problem is, if you forget the bios password, you can't get onto your own computer either, without clearing the cmos.

Always glad to help!
Josh /images/forums/icons/smile.gif

"Got caffeine? /images/forums/icons/crazy.gif Caffeine, a good addition to any toolkit."

report_2
07-29-2003, 07:33 PM
<a target="_blank" href=http://www.stefanlautenbach.de/code/bootlog_about.htm>Bootlog</a> with screen shots. It looks like you want all three downloads.

I tried this program myself but it could not find a log to refer to.
The webpage states how to install it and perhaps the following will make it a little easier.

Unzip the files into a newly created folder.
Assuming you chose C:\Bootlog as the new folder.
Go to Start, Run and type in
c:\bootlog\bootlog.exe -install
Hit the Ok button.
It will create the registry entry for it to start up

Jama
07-30-2003, 07:17 PM
Some time ago I had to do the same as you. But instead of getting some program to create and maintain the log file, I wrote a simple batch file that will do it.
This is an easy solution to the problem and provided your brother is not very competent in IT, it should work fine.

%%%%%%% Copy from the next line %%%%%%%
@echo off
Date /t &gt;&gt;C:\OnOff.txt
Time /t &gt;&gt;C:\OnOff.txt
echo =================== &gt;&gt;C:\OnOff.txt

%%%%%%%%%%%% End %%%%%%%%%%%%

Copy and paste the above into Notepad. Save as Something.bat
Then create a shortcut to it in your Startup folder.

Alternatively, you can use this vbscript to achieve the same;


LogFile = "c:\OnOffTimes.txt"

Set fso = CreateObject("Scripting.FileSystemObject")
Set LogFile = fso.OpenTextFile(LogFile, 8)

LogFile.WriteLine WeekdayName(Weekday(Date)) & vbTab &_
Date & vbTab & Time()' "Last Booted on: " & GetVBDate(SP.LastBootUpTime)

LogFile.Close
Set fso = Nothing
Set LogFile = Nothing

Copy and paste the above into Notepad. Save as Something<font color=blue>.vbs</font color=blue>
Then create a shortcut to it in your Startup folder.

Note: c:\OnOffTimes.txt must be created before running the script.

Jama

_Ash_
07-31-2003, 08:54 AM
Sweet, thanks peeps :)

I'll give Jama's a go first.

But that Bootlog prog looks cool.

Ash /images/forums/icons/smile.gif

_Ash_
07-31-2003, 09:53 AM
Ok, i tryed the .bat file first. All i got was something like "Date error, enter new Date: dd/mm/yy" that was written to the onoff.txt file.

The .vbs file works ok, but dosent give a log off time, just a start time. This would be a perfict little prog if it had that ;)

And i get this error when installing the Bootlog.exe program:

------------------------------
Warnung

Programm lauft bereits!

[ok]
------------------------------

Edit: lol ok, "Programm lauft bereits!" translates to "Program be running!"

But its not logging any info :(

Edit 2: d'oh. i got it working :)

<font color=red>---Signature---</font color=red>
Ash /images/forums/icons/smile.gif

report_2
07-31-2003, 07:36 PM
If you get the Bootlog.html thing working let me know how you did it so I can too.

I get "1/5 reading LogFile"
29.07.2003:42:16 ist kein güiltiger Datums-und Zietwert.
Can you translate that?
When I use BabelFish I get:
"is no gueiltiger Datums-und Zietwert"

_Ash_
08-01-2003, 09:16 AM
Use <a target="_blank" href=http://www.google.com/language_tools?hl=en>http://www.google.com/language_tools?hl=en</a> to translate German into English.

Its: "ist kein gültiger Datums und Zeitwert."

which is "is no valid dates and current value."

I too get that error with a differnet date and time when i run BootlogHTML.

I'll try and get it working.

<font color=red>---Signature---</font color=red>
Ash /images/forums/icons/smile.gif

_Ash_
08-02-2003, 04:20 AM
Hi Ashley,

&gt; Hi :)
&gt;
&gt; I downloaded your Bootlog program and i'm having a little problem with BootlogHTML. I get this error:
&gt;
&gt; ---------------------------------------------------------------------
&gt; 1/5 - reading Logfile...
&gt;
&gt; '31.07.2003 23:19:59' ist kein gultiger Datums- und Zeitwert.
&gt; ---------------------------------------------------------------------
&gt;
&gt; which i've translated into "'31.07.2003 23:19:59' is no valid dates and current value."
&gt; but i guess that dosent help me. The date and time are the first in my BootLog.log file which looks like this:

Yes the translation is correct, but I don't know why BootLog thinks it's a wrong date and time string

&gt; 31.07.2003 23:19:59;
&gt; 31.07.2003 23:21:30;31.07.2003 23:22:56
&gt; 31.07.2003 23:24:32;31.07.2003 23:30:42
&gt; 01.08.2003 16:35:11;

Hmm, I used these 4 lines as a test log file and it works without any
problems.

&gt; Bootlog installed ok and i can see the stats in the BootLogView window. I just wondered were i was going wrong.

I have to say, BootLogHTML is only a little test program and still not really ready.

BootLog is the tool which runs allways and makes the log file entries and BootLogV is the Viewer and Analyzer for this log file.

Later I startet to make BootLogHTML as an additional Analyzer for the log file... but until now it's not more as an unfinished work.

&gt; Thanks
&gt;
&gt; Ash.

Regards,
Stefan
--
Stefan Lautenbach
http://www.StefanLautenbach.de

------------End

Ah well, guess we'll never know or will have to wait for a newer version to see all those Diagrams that i was hoping for that you see on his website.

<font color=red>---Signature---</font color=red>
Ash /images/forums/icons/smile.gif

report_2
08-02-2003, 07:02 AM
Thanks.
I think the HTML log is it's better feature.

_Ash_
08-02-2003, 02:05 PM
Sent a second e-mail because i was unclear how to view the Diagrams that you can see on his website:

Start----------------------------------

Hi Ashley,

&gt; Me again :) Thanks for your reply. Am i right in thinking that the
&gt; BootLogHTML is the little prog that displays the Diagrams that you have
&gt; on your web site?

No, the BootLogHTML diagram isn't at my website. It's diagram shows - if
it works - a "timeline" for each day with different colored blocks when
the PC was on or off or when it was crashed.

&gt; http://www.stefanlautenbach.de/code/bootlog_about.htm#_screenshots
&gt;
&gt; Or is it part of BootLogV? I have somebody else with my same problem as
&gt; well and we were trying to figer it out. The BootLogView window has some
&gt; interesting info but those Diagrams really top it off! and i carnt seem
&gt; to view them.

Yes, these diagrams are a part of BootLogV. You can show them by
right-clicking in the BootLogV main window and select "View Diagrams" or
press F3. Each Diagram has an context menu too, where you can adjust
some diagram settings.

In the main context menu there is also an sortable(by clickung at the
column head) TableView for all the LogData.

Regards,
Stefan
--
Stefan Lautenbach
http://www.StefanLautenbach.de

----------------------------------End

So dont worry about the BootLogHTML. It was a little prog that never really got off the ground. Untill he updates it that is.

It also has what i was originally after, a log of computer times and dates. Right click on the BootLogView screen and select 2view LogData List" (or F2). The Boot tab has dates, times of both on and off.

Weee.... nice Diagrams :)

<font color=red>---Signature---</font color=red>
Ash /images/forums/icons/smile.gif

report_2
08-02-2003, 07:56 PM
Good job! /images/forums/icons/smile.gif

I tried right clicking on the title bar but got nothing.

This is a good program. Glad you inspired me to find it for you.

Thank you.
Bryan