Bootup - Shutdown logger

  • Thread starter Thread starter PSRumbagh
  • Start date Start date
Re: Bootup - Shutdown logger

Log lines start with "Start ..." and "Shutdown...". I could make the
Shutdown line represent whether shutdown, restart or logoff. But I don't see
the need, and it makes further coding of uptime calculations fairly more
complicated. As for your error, I can't say for sure, but it wouldn't hurt
to reinstall VB runtimes. http://support.microsoft.com/kb/290887/ But it may
be that you have some protective settings or utility getting in the way.
That IS the main drawback of an app based upon scripts.

You might also reinstall the Windows Scripting Host. Last version is 5.6
(SCR56EN.EXE) but you can't find it at MS anymore, so here's a copy:
http://grystmill.com/shared/scr56en.exe

In case the other download also causes problems,
http://grystmill.com/shared/vbrun60sp6.exe
or http://grystmill.com/shared/vbrun60sp5.exe


--
Gary S. Terhune
MS-MVP Shell/User
www.grystmill.com

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:bgik041uuqgcpc3iqnjcu48qgmnp7h97no@4ax.com...
> On Fri, 18 Apr 2008 15:06:16 -0700, "Gary S. Terhune" <none> put
> finger to keyboard and composed:
>
>>No, I'll post the code here, between lines of asterisks.
>>
>>"StartTime.vbs"
>>****************************
>>Option Explicit
>>Dim fso, f
>>Set fso = CreateObject("Scripting.FileSystemObject")
>>Set f = fso.OpenTextFile("C:\uptime.txt", 8, True)
>>f.WriteLine "Start " & now
>>f.Close
>>WScript.Quit
>>******************************
>>
>>"Shutdown.vbs"
>>*****************************
>>Option Explicit
>>Dim fso, f, wso
>>Set wso = WScript.CreateObject("WScript.Shell")
>>Set fso = CreateObject("Scripting.FileSystemObject")
>>Set f = fso.OpenTextFile("C:\uptime.txt", 8, True)
>>f.WriteLine "Shutdown" & now

> ^^^^^^^^^^^^
>
>>f.Close
>>wso.run "C:\WINDOWS\RUNDLL32 SHELL32.DLL,SHExitWindowsEx 9"
>>********************************

>
> I'm no programmer, but have you forgotten to add explanatory notes (eg
> Shutdown, Restart, Logoff) to the date/time stamps in the respective
> scripts?
>
> BTW, I get a VBScript runtime error in line 3 of StartTime.vbs:
>
> ActiveX component can't create object 'Scripting.FileSystemObject'
> Code: 800A01AD
>
> Does this mean that I am missing some component or that my permissions
> are set incorrectly?
>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

On Sun, 20 Apr 2008 00:13:31 -0400, "PCR" <pcrrcp@netzero.net> put
finger to keyboard and composed:

>Franc Zabkar wrote:


>| BTW, I get a VBScript runtime error in line 3 of StartTime.vbs:
>
>It worked for me & produced "Start 4/19/08 11:39:16 PM" in UpTime.txt.
>
>| ActiveX component can't create object 'Scripting.FileSystemObject'
>| Code: 800A01AD
>|
>| Does this mean that I am missing some component or that my permissions
>| are set incorrectly?
>
>Can it be you need to update your scripting engine?


It was already up to date.

>(But I have failed to remember or discover how to do that. All I have
>are these three URLs...
>http://msdn2.microsoft.com/en-us/library/t0aew7h6.aspx
>VBScript User Manual
>http://msdn2.microsoft.com/en-us/library/9bbdkx3k.aspx
>More VBScript User Manual
>http://www.billsway.com/vbspage/
>Windows VBScript Tools


Last week I bought "MS VBscript - Step by Step", Microsoft Press.

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

On Sun, 20 Apr 2008 00:31:38 -0700, "Gary S. Terhune" <none> put
finger to keyboard and composed:

>Log lines start with "Start ..." and "Shutdown...". I could make the
>Shutdown line represent whether shutdown, restart or logoff. But I don't see
>the need, and it makes further coding of uptime calculations fairly more
>complicated. As for your error, I can't say for sure, but it wouldn't hurt
>to reinstall VB runtimes. http://support.microsoft.com/kb/290887/ But it may
>be that you have some protective settings or utility getting in the way.
>That IS the main drawback of an app based upon scripts.
>
>You might also reinstall the Windows Scripting Host. Last version is 5.6
>(SCR56EN.EXE) but you can't find it at MS anymore, so here's a copy:
>http://grystmill.com/shared/scr56en.exe


My version of wscript.exe was 5.6.0.6626 but I installed it again
anyway. However the error remains.

>In case the other download also causes problems,
>http://grystmill.com/shared/vbrun60sp6.exe
>or http://grystmill.com/shared/vbrun60sp5.exe


I seem to already have the latest VB6 runtimes, although several of
the files are later versions of those on the MS site. I believe these
were updated by IE6SP1:

ASYCFILT.DLL 2.40.4518
OLEAUT32.DLL 2.40.4518
OLEPRO32.DLL 5.0.4518
STDOLE2.TLB 2.40.4518

Anyway I reinstalled vbrun60sp6.exe but the error remains.

I have no idea where to look for protective settings and I don't have
any utilities running in the background. FWIW, I have fiddled with the
Intranet settings under Internet Options without success.

I think I'll leave this problem for some other time. Thanks.

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

Good luck. I don't know why ActiveX is getting involved, which makes me
suspect that it's a fouled up ActiveX.

--
Gary S. Terhune
MS-MVP Shell/User
www.grystmill.com

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:2ncn049s547cj26mh96do4a9ovk9rrdsgu@4ax.com...
> On Sun, 20 Apr 2008 00:31:38 -0700, "Gary S. Terhune" <none> put
> finger to keyboard and composed:
>
>>Log lines start with "Start ..." and "Shutdown...". I could make the
>>Shutdown line represent whether shutdown, restart or logoff. But I don't
>>see
>>the need, and it makes further coding of uptime calculations fairly more
>>complicated. As for your error, I can't say for sure, but it wouldn't hurt
>>to reinstall VB runtimes. http://support.microsoft.com/kb/290887/ But it
>>may
>>be that you have some protective settings or utility getting in the way.
>>That IS the main drawback of an app based upon scripts.
>>
>>You might also reinstall the Windows Scripting Host. Last version is 5.6
>>(SCR56EN.EXE) but you can't find it at MS anymore, so here's a copy:
>>http://grystmill.com/shared/scr56en.exe

>
> My version of wscript.exe was 5.6.0.6626 but I installed it again
> anyway. However the error remains.
>
>>In case the other download also causes problems,
>>http://grystmill.com/shared/vbrun60sp6.exe
>>or http://grystmill.com/shared/vbrun60sp5.exe

>
> I seem to already have the latest VB6 runtimes, although several of
> the files are later versions of those on the MS site. I believe these
> were updated by IE6SP1:
>
> ASYCFILT.DLL 2.40.4518
> OLEAUT32.DLL 2.40.4518
> OLEPRO32.DLL 5.0.4518
> STDOLE2.TLB 2.40.4518
>
> Anyway I reinstalled vbrun60sp6.exe but the error remains.
>
> I have no idea where to look for protective settings and I don't have
> any utilities running in the background. FWIW, I have fiddled with the
> Intranet settings under Internet Options without success.
>
> I think I'll leave this problem for some other time. Thanks.
>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

Franc, try using an apostrophe to comment out the first line of that script,
"Option Explicit". I don't think it will help, but I'm just curious
enough...

Otherwise, like I say, probably something in ActiveX, which brings to mind
the possibility of an IE Repair or IE overinstall.

--
Gary S. Terhune
MS-MVP Shell/User
www.grystmill.com

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:2ncn049s547cj26mh96do4a9ovk9rrdsgu@4ax.com...
> On Sun, 20 Apr 2008 00:31:38 -0700, "Gary S. Terhune" <none> put
> finger to keyboard and composed:
>
>>Log lines start with "Start ..." and "Shutdown...". I could make the
>>Shutdown line represent whether shutdown, restart or logoff. But I don't
>>see
>>the need, and it makes further coding of uptime calculations fairly more
>>complicated. As for your error, I can't say for sure, but it wouldn't hurt
>>to reinstall VB runtimes. http://support.microsoft.com/kb/290887/ But it
>>may
>>be that you have some protective settings or utility getting in the way.
>>That IS the main drawback of an app based upon scripts.
>>
>>You might also reinstall the Windows Scripting Host. Last version is 5.6
>>(SCR56EN.EXE) but you can't find it at MS anymore, so here's a copy:
>>http://grystmill.com/shared/scr56en.exe

>
> My version of wscript.exe was 5.6.0.6626 but I installed it again
> anyway. However the error remains.
>
>>In case the other download also causes problems,
>>http://grystmill.com/shared/vbrun60sp6.exe
>>or http://grystmill.com/shared/vbrun60sp5.exe

>
> I seem to already have the latest VB6 runtimes, although several of
> the files are later versions of those on the MS site. I believe these
> were updated by IE6SP1:
>
> ASYCFILT.DLL 2.40.4518
> OLEAUT32.DLL 2.40.4518
> OLEPRO32.DLL 5.0.4518
> STDOLE2.TLB 2.40.4518
>
> Anyway I reinstalled vbrun60sp6.exe but the error remains.
>
> I have no idea where to look for protective settings and I don't have
> any utilities running in the background. FWIW, I have fiddled with the
> Intranet settings under Internet Options without success.
>
> I think I'll leave this problem for some other time. Thanks.
>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

On Sun, 20 Apr 2008 22:22:45 -0700, "Gary S. Terhune" <none> put
finger to keyboard and composed:

>Franc, try using an apostrophe to comment out the first line of that script,
>"Option Explicit". I don't think it will help, but I'm just curious
>enough...


Same error.

>Otherwise, like I say, probably something in ActiveX, which brings to mind
>the possibility of an IE Repair or IE overinstall.


I don't use IE. I think I installed the updates because they were
required for some other function. I don't think I've ever done a
repair or overinstall.

Anyway here is what is reported in Help > About IE:

Version 6.0.2800.1106
Update versions:; SP1; q240308; q313829; Q330994; Q828750;

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

You have the latest IE, and a Repair would probably help. If you don't use
IE, then you use something else. Opera? I don't know about Opera, and
whether installing it in any way affects the IE system. Frankly, this is why
I quit using third-party browsers, way back with Netscape. They MAY provide
more useful features, they MAY help protect from unwanted intrusion better
than IE (I don't happen to think so), but I also hear about lots of problems
that people want to blame on IE, or Windows, that ONLY happen to people who
use third-party browsers. There's a problem like that that shows up here
fairly regularly recently, I forget exactly which, and nobody has the
answer. All I notice is that it always involves a mention of Opera.

In short, I can't quite believe that any third-party browser doesn't include
as a part of installation the breaking of various parts of the IE system
(which is MUCH more than a stupid browser. It's a major component of the
Windows 98 system itself.)

--
Gary S. Terhune
MS-MVP Shell/User
www.grystmill.com

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:3lgo04t2jlev91vsaftd4r9vb5qsqdorrt@4ax.com...
> On Sun, 20 Apr 2008 22:22:45 -0700, "Gary S. Terhune" <none> put
> finger to keyboard and composed:
>
>>Franc, try using an apostrophe to comment out the first line of that
>>script,
>>"Option Explicit". I don't think it will help, but I'm just curious
>>enough...

>
> Same error.
>
>>Otherwise, like I say, probably something in ActiveX, which brings to mind
>>the possibility of an IE Repair or IE overinstall.

>
> I don't use IE. I think I installed the updates because they were
> required for some other function. I don't think I've ever done a
> repair or overinstall.
>
> Anyway here is what is reported in Help > About IE:
>
> Version 6.0.2800.1106
> Update versions:; SP1; q240308; q313829; Q330994; Q828750;
>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

Franc, try this code instead.

********************
Option Explicit
Dim f
With CreateObject("Scripting.FileSystemObject")
Set f = .OpenTextFile("C:\uptime.txt", 8, True)
f.WriteLine "Start " & Now
f.Close
End With
WScript.Quit
**********************

--
Gary S. Terhune
MS-MVP Shell/User
www.grystmill.com

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:3lgo04t2jlev91vsaftd4r9vb5qsqdorrt@4ax.com...
> On Sun, 20 Apr 2008 22:22:45 -0700, "Gary S. Terhune" <none> put
> finger to keyboard and composed:
>
>>Franc, try using an apostrophe to comment out the first line of that
>>script,
>>"Option Explicit". I don't think it will help, but I'm just curious
>>enough...

>
> Same error.
>
>>Otherwise, like I say, probably something in ActiveX, which brings to mind
>>the possibility of an IE Repair or IE overinstall.

>
> I don't use IE. I think I installed the updates because they were
> required for some other function. I don't think I've ever done a
> repair or overinstall.
>
> Anyway here is what is reported in Help > About IE:
>
> Version 6.0.2800.1106
> Update versions:; SP1; q240308; q313829; Q330994; Q828750;
>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

Try using filemon and/or regmon [sysinternals/now Microsoft-TechNet] during
the test of the vbs files.
Look for the specific errors.

--
MEB http://peoplescounsel.orgfree.com
--
_________

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:3lgo04t2jlev91vsaftd4r9vb5qsqdorrt@4ax.com...
| On Sun, 20 Apr 2008 22:22:45 -0700, "Gary S. Terhune" <none> put
| finger to keyboard and composed:
|
| >Franc, try using an apostrophe to comment out the first line of that
script,
| >"Option Explicit". I don't think it will help, but I'm just curious
| >enough...
|
| Same error.
|
| >Otherwise, like I say, probably something in ActiveX, which brings to
mind
| >the possibility of an IE Repair or IE overinstall.
|
| I don't use IE. I think I installed the updates because they were
| required for some other function. I don't think I've ever done a
| repair or overinstall.
|
| Anyway here is what is reported in Help > About IE:
|
| Version 6.0.2800.1106
| Update versions:; SP1; q240308; q313829; Q330994; Q828750;
|
| - Franc Zabkar
| --
| Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

On Mon, 21 Apr 2008 09:06:59 -0700, "Gary S. Terhune" <none> put
finger to keyboard and composed:

>Franc, try this code instead.
>
>********************
>Option Explicit
>Dim f
>With CreateObject("Scripting.FileSystemObject")
>Set f = .OpenTextFile("C:\uptime.txt", 8, True)
>f.WriteLine "Start " & Now
>f.Close
>End With
>WScript.Quit
>**********************


Sorry, it still errors out at line 3.

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

On Mon, 21 Apr 2008 13:48:52 -0400, "MEB" <meb@not here@hotmail.com>
put finger to keyboard and composed:

>Try using filemon and/or regmon [sysinternals/now Microsoft-TechNet] during
>the test of the vbs files.
>Look for the specific errors.
>
>--
>MEB http://peoplescounsel.orgfree.com


Unfortunately Filemon doesn't allow me to save the output, but these
are the files that are accessed up until the error box:

wshext.dll --- 5.6.0.6626
comdlg32.dll --- 4.72.3510.2300
wshena.dll --- does not exist
wshen.dll --- does not exist
wshenu.dll --- does not exist
gdi32.dll --- 4.10.1998
ole32.dll --- 4.71.2900
start.vbs
d:\fzwork
c:\fzwork
wscript.exe --- 5.6.0.6626
oleaut32.dll --- 2.40.4518
imm32.dll --- 4.10.1998
msvcrt.dll --- 6.10.8924.0
win.ini
wscript.exe.local
c:\program files\wmfpatch\gdihook.dll
kernel32.dll --- 4.10.2222
c:\win98se\sysbckup\ver.dll --- 4.10.1998
d:\temp
c:\win98se\recent\start.vbs.lnk
vbscript.dll --- 5.6.0.7426
c:\win98se\media\chord.wav

I tried replacing vbscript.dll with the earlier version that ships
with Gary's scr56en.exe but the error remained.

I also disabled the gdihook.dll security patch without effect.

I don't know if the missing wshen?.dll files are of any consequence.
From the Filemon log it looks as if the system is looking for the
first file of this type that is available, and it searches for it in
the root, windir, windir\system32, windir\command, and windir\system
directories.

The following discussion suggests that searching for nonexistent
wshen?.dll files is a known issue that has no negative impact:

http://forum.sysinternals.com/forum_posts.asp?TID=5696

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

Darn.

--
Gary S. Terhune
MS-MVP Shell/User
www.grystmill.com

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:cjrp04tvlumn9r8aafsflv93srngntf4kk@4ax.com...
> On Mon, 21 Apr 2008 09:06:59 -0700, "Gary S. Terhune" <none> put
> finger to keyboard and composed:
>
>>Franc, try this code instead.
>>
>>********************
>>Option Explicit
>>Dim f
>>With CreateObject("Scripting.FileSystemObject")
>>Set f = .OpenTextFile("C:\uptime.txt", 8, True)
>>f.WriteLine "Start " & Now
>>f.Close
>>End With
>>WScript.Quit
>>**********************

>
> Sorry, it still errors out at line 3.
>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

On Mon, 21 Apr 2008 08:12:41 -0700, "Gary S. Terhune" <none> put
finger to keyboard and composed:

>You have the latest IE, and a Repair would probably help. If you don't use
>IE, then you use something else. Opera?


Yes.

>I don't know about Opera, and
>whether installing it in any way affects the IE system. Frankly, this is why
>I quit using third-party browsers, way back with Netscape. They MAY provide
>more useful features, they MAY help protect from unwanted intrusion better
>than IE (I don't happen to think so), but I also hear about lots of problems
>that people want to blame on IE, or Windows, that ONLY happen to people who
>use third-party browsers. There's a problem like that that shows up here
>fairly regularly recently, I forget exactly which, and nobody has the
>answer. All I notice is that it always involves a mention of Opera.
>
>In short, I can't quite believe that any third-party browser doesn't include
>as a part of installation the breaking of various parts of the IE system
>(which is MUCH more than a stupid browser. It's a major component of the
>Windows 98 system itself.)


I can't see how Opera would be affecting ActiveX. It doesn't support
it natively. Instead it requires a plug-in (which I haven't
installed).

ActiveX and VBScript support in Opera
http://www.opera.com/support/search/view/415/

====================================================================
Opera does not have in-built support for Microsoft's Windows-specific
ActiveX technology or the VBScript scripting language.

Opera does however support the use of Netscape compatible plugins,
which can provide similar functionality to most ActiveX controls.

====================================================================
Running ActiveX controls using the Neptune plug-in

MeadCo produces a plug-in called Neptune, which hosts Microsoft's
WebBrowser control.

What this means is that the Internet Explorer engine can be run within
Opera, and this in effect makes it possible to load and run ActiveX
components.

Note that this only works on Windows, and the same security
precautions should be taken as when running ActiveX components in
Internet Explorer. Using Neptune in Opera is essentially the same as
running Internet Explorer in an Opera window.
====================================================================

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

So, without the plug-in, when you hit ActiveX components now, nothing
happens? That's what I'm trying to figure out. Does installing Opera
specifically switch off ActiveX/VBScript in some way. Doesn't sound quite
right, but I still have to think Opera is involved.

Other question I had was if you've used TUI and if you messed with any of
those "IE4" settings?

--
Gary S. Terhune
MS-MVP Shell/User
www.grystmill.com

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:675q0455u1gbp2n38bk3fdb7d03s5cpk3f@4ax.com...
> On Mon, 21 Apr 2008 08:12:41 -0700, "Gary S. Terhune" <none> put
> finger to keyboard and composed:
>
>>You have the latest IE, and a Repair would probably help. If you don't use
>>IE, then you use something else. Opera?

>
> Yes.
>
>>I don't know about Opera, and
>>whether installing it in any way affects the IE system. Frankly, this is
>>why
>>I quit using third-party browsers, way back with Netscape. They MAY
>>provide
>>more useful features, they MAY help protect from unwanted intrusion better
>>than IE (I don't happen to think so), but I also hear about lots of
>>problems
>>that people want to blame on IE, or Windows, that ONLY happen to people
>>who
>>use third-party browsers. There's a problem like that that shows up here
>>fairly regularly recently, I forget exactly which, and nobody has the
>>answer. All I notice is that it always involves a mention of Opera.
>>
>>In short, I can't quite believe that any third-party browser doesn't
>>include
>>as a part of installation the breaking of various parts of the IE system
>>(which is MUCH more than a stupid browser. It's a major component of the
>>Windows 98 system itself.)

>
> I can't see how Opera would be affecting ActiveX. It doesn't support
> it natively. Instead it requires a plug-in (which I haven't
> installed).
>
> ActiveX and VBScript support in Opera
> http://www.opera.com/support/search/view/415/
>
> ====================================================================
> Opera does not have in-built support for Microsoft's Windows-specific
> ActiveX technology or the VBScript scripting language.
>
> Opera does however support the use of Netscape compatible plugins,
> which can provide similar functionality to most ActiveX controls.
>
> ====================================================================
> Running ActiveX controls using the Neptune plug-in
>
> MeadCo produces a plug-in called Neptune, which hosts Microsoft's
> WebBrowser control.
>
> What this means is that the Internet Explorer engine can be run within
> Opera, and this in effect makes it possible to load and run ActiveX
> components.
>
> Note that this only works on Windows, and the same security
> precautions should be taken as when running ActiveX components in
> Internet Explorer. Using Neptune in Opera is essentially the same as
> running Internet Explorer in an Opera window.
> ====================================================================
>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

AS A WORK-AROUND - In filemon, try highlighting the target entries you want,
go to EDIT, select Copy, paste into your favorite text editor.
It really is a shame that the newer versions of these sysinternals tools
will not work properly in Win9X. I still haven't figured out how to get them
to save the output other than via this technique, though I suppose that was
basically what I was doing in the older versions any way {don't need ALL the
output, just whatever you're specifically monitoring for}.

I sent you and Gary, my output for comparison of the target areas, via the
site email address, in case the two of you wish to review potential
errors/fixes using a fairly *base installation* for reference.

Franc, Did you install any updates/mods to: shell; OLE; JAVA, or other
which might be affecting the scripting?

Gary, I sent it to the old mvps.org address {your *news}, lost my old
personal
contacts during the last clean install [yep, dumb thing to do, "thought" I'd
backed them up]...

--
MEB http://peoplescounsel.orgfree.com
--
_________

"Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
news:e1sp04p5bo9j3btltc8pctg5v3qlsnvtpm@4ax.com...
| On Mon, 21 Apr 2008 13:48:52 -0400, "MEB" <meb@not here@hotmail.com>
| put finger to keyboard and composed:
|
| >Try using filemon and/or regmon [sysinternals/now Microsoft-TechNet]
during
| >the test of the vbs files.
| >Look for the specific errors.
| >
| >--
| >MEB http://peoplescounsel.orgfree.com
|
| Unfortunately Filemon doesn't allow me to save the output, but these
| are the files that are accessed up until the error box:
|
| wshext.dll --- 5.6.0.6626
| comdlg32.dll --- 4.72.3510.2300
| wshena.dll --- does not exist
| wshen.dll --- does not exist
| wshenu.dll --- does not exist
| gdi32.dll --- 4.10.1998
| ole32.dll --- 4.71.2900
| start.vbs
| d:\fzwork
| c:\fzwork
| wscript.exe --- 5.6.0.6626
| oleaut32.dll --- 2.40.4518
| imm32.dll --- 4.10.1998
| msvcrt.dll --- 6.10.8924.0
| win.ini
| wscript.exe.local
| c:\program files\wmfpatch\gdihook.dll
| kernel32.dll --- 4.10.2222
| c:\win98se\sysbckup\ver.dll --- 4.10.1998
| d:\temp
| c:\win98se\recent\start.vbs.lnk
| vbscript.dll --- 5.6.0.7426
| c:\win98se\media\chord.wav
|
| I tried replacing vbscript.dll with the earlier version that ships
| with Gary's scr56en.exe but the error remained.
|
| I also disabled the gdihook.dll security patch without effect.
|
| I don't know if the missing wshen?.dll files are of any consequence.
| From the Filemon log it looks as if the system is looking for the
| first file of this type that is available, and it searches for it in
| the root, windir, windir\system32, windir\command, and windir\system
| directories.
|
| The following discussion suggests that searching for nonexistent
| wshen?.dll files is a known issue that has no negative impact:
|
| http://forum.sysinternals.com/forum_posts.asp?TID=5696
|
| - Franc Zabkar
| --
| Please remove one 'i' from my address when replying by email.
 
Re: Bootup - Shutdown logger

Franc Zabkar wrote:
| On Sun, 20 Apr 2008 00:13:31 -0400, "PCR" <pcrrcp@netzero.net> put
| finger to keyboard and composed:
|
|>Franc Zabkar wrote:
|
|>| BTW, I get a VBScript runtime error in line 3 of StartTime.vbs:
|>
|>It worked for me & produced "Start 4/19/08 11:39:16 PM" in UpTime.txt.
|>
|>| ActiveX component can't create object 'Scripting.FileSystemObject'
|>| Code: 800A01AD
|>|
|>| Does this mean that I am missing some component or that my
|>| permissions are set incorrectly?
|>
|>Can it be you need to update your scripting engine?
|
| It was already up to date.

Yet, you are reporting a lower version to your script files...!...

You Me
WScript.exe 5.6.0.6626 5.6.0.8825
VBScript.dll 5.6.0.7426 5.6.0.8825
MSVCRT.dll 6.10.8924.0 6.00.8797.0

You do have a later MSVCRT.DLL. All the other file versions you posted
to MEB seem to be about the same as mine.

Here is the last of 3 mentionings in my SFCLog.txt about those files...

Microsoft System File Checker
Log file generated on 5/8/06 at 04:46 PM
Started verify scan using verification data file:
"C:\WINDOWS\Default.sfc"

Previous Previous New New
CRC
File Change Version Date Version Date
Match
---------------- ----------- ----------- --------- ----------- ---------
------
[C:\WINDOWS]
wscript.exe Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
[c:\windows\COMMAND]
cscript.exe Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
[C:\WINDOWS\SYSTEM]
jscript.dll Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
scrobj.dll Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
vbscript.dll Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
wshext.dll Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
scrrun.dll Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
wshom.ocx Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
....snip

Are you sure you are fully updated at Windows Update? I'm pretty sure
there was one of two criticals dealing with scripting!

|>(But I have failed to remember or discover how to do that. All I have
|>are these three URLs...
|>http://msdn2.microsoft.com/en-us/library/t0aew7h6.aspx
|>VBScript User Manual
|>http://msdn2.microsoft.com/en-us/library/9bbdkx3k.aspx
|>More VBScript User Manual
|>http://www.billsway.com/vbspage/
|>Windows VBScript Tools
|
| Last week I bought "MS VBscript - Step by Step", Microsoft Press.
|
| - Franc Zabkar
| --
| Please remove one 'i' from my address when replying by email.

--
Thanks or Good Luck,
There may be humor in this post, and,
Naturally, you will not sue,
Should things get worse after this,
PCR
pcrrcp@netzero.net
 
Re: Bootup - Shutdown logger

What are you sending me? And no, that address no longer works. Use
gryst_at_grystmill.com

--
Gary S. Terhune
MS-MVP Shell/User
www.grystmill.com

"MEB" <meb@not here@hotmail.com> wrote in message
news:OE6QvpBpIHA.1736@TK2MSFTNGP04.phx.gbl...
> AS A WORK-AROUND - In filemon, try highlighting the target entries you
> want,
> go to EDIT, select Copy, paste into your favorite text editor.
> It really is a shame that the newer versions of these sysinternals tools
> will not work properly in Win9X. I still haven't figured out how to get
> them
> to save the output other than via this technique, though I suppose that
> was
> basically what I was doing in the older versions any way {don't need ALL
> the
> output, just whatever you're specifically monitoring for}.
>
> I sent you and Gary, my output for comparison of the target areas, via the
> site email address, in case the two of you wish to review potential
> errors/fixes using a fairly *base installation* for reference.
>
> Franc, Did you install any updates/mods to: shell; OLE; JAVA, or other
> which might be affecting the scripting?
>
> Gary, I sent it to the old mvps.org address {your *news}, lost my old
> personal
> contacts during the last clean install [yep, dumb thing to do, "thought"
> I'd
> backed them up]...
>
> --
> MEB http://peoplescounsel.orgfree.com
> --
> _________
>
> "Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
> news:e1sp04p5bo9j3btltc8pctg5v3qlsnvtpm@4ax.com...
> | On Mon, 21 Apr 2008 13:48:52 -0400, "MEB" <meb@not here@hotmail.com>
> | put finger to keyboard and composed:
> |
> | >Try using filemon and/or regmon [sysinternals/now Microsoft-TechNet]
> during
> | >the test of the vbs files.
> | >Look for the specific errors.
> | >
> | >--
> | >MEB http://peoplescounsel.orgfree.com
> |
> | Unfortunately Filemon doesn't allow me to save the output, but these
> | are the files that are accessed up until the error box:
> |
> | wshext.dll --- 5.6.0.6626
> | comdlg32.dll --- 4.72.3510.2300
> | wshena.dll --- does not exist
> | wshen.dll --- does not exist
> | wshenu.dll --- does not exist
> | gdi32.dll --- 4.10.1998
> | ole32.dll --- 4.71.2900
> | start.vbs
> | d:\fzwork
> | c:\fzwork
> | wscript.exe --- 5.6.0.6626
> | oleaut32.dll --- 2.40.4518
> | imm32.dll --- 4.10.1998
> | msvcrt.dll --- 6.10.8924.0
> | win.ini
> | wscript.exe.local
> | c:\program files\wmfpatch\gdihook.dll
> | kernel32.dll --- 4.10.2222
> | c:\win98se\sysbckup\ver.dll --- 4.10.1998
> | d:\temp
> | c:\win98se\recent\start.vbs.lnk
> | vbscript.dll --- 5.6.0.7426
> | c:\win98se\media\chord.wav
> |
> | I tried replacing vbscript.dll with the earlier version that ships
> | with Gary's scr56en.exe but the error remained.
> |
> | I also disabled the gdihook.dll security patch without effect.
> |
> | I don't know if the missing wshen?.dll files are of any consequence.
> | From the Filemon log it looks as if the system is looking for the
> | first file of this type that is available, and it searches for it in
> | the root, windir, windir\system32, windir\command, and windir\system
> | directories.
> |
> | The following discussion suggests that searching for nonexistent
> | wshen?.dll files is a known issue that has no negative impact:
> |
> | http://forum.sysinternals.com/forum_posts.asp?TID=5696
> |
> | - Franc Zabkar
> | --
> | Please remove one 'i' from my address when replying by email.
>
>
>
>
>
 
Re: Bootup - Shutdown logger

Another thing: what about your settings at...?...

"Control Panel, Internet Options, Security tab, Select Internet (& maybe
Local Intranet)"

Are you at Default or Custom? If Custom, are the 3 Scripting options
enabled? Mine are, (but not all the ActiveX options are enabled).

PCR wrote:
| Franc Zabkar wrote:
|| On Sun, 20 Apr 2008 00:13:31 -0400, "PCR" <pcrrcp@netzero.net> put
|| finger to keyboard and composed:
||
||>Franc Zabkar wrote:
||
||>| BTW, I get a VBScript runtime error in line 3 of StartTime.vbs:
||>
||>It worked for me & produced "Start 4/19/08 11:39:16 PM" in
||>UpTime.txt.
||>
||>| ActiveX component can't create object 'Scripting.FileSystemObject'
||>| Code: 800A01AD
||>|
||>| Does this mean that I am missing some component or that my
||>| permissions are set incorrectly?
||>
||>Can it be you need to update your scripting engine?
||
|| It was already up to date.
|
| Yet, you are reporting a lower version to your script files...!...
|
| You Me
| WScript.exe 5.6.0.6626 5.6.0.8825
| VBScript.dll 5.6.0.7426 5.6.0.8825
| MSVCRT.dll 6.10.8924.0 6.00.8797.0
|
| You do have a later MSVCRT.DLL. All the other file versions you posted
| to MEB seem to be about the same as mine.
|
| Here is the last of 3 mentionings in my SFCLog.txt about those
| files...
|
| Microsoft System File Checker
| Log file generated on 5/8/06 at 04:46 PM
| Started verify scan using verification data file:
| "C:\WINDOWS\Default.sfc"
|
| Previous Previous New New
| CRC
| File Change Version Date Version Date
| Match
| ---------------- ----------- ----------- --------- -----------
| ---------
| ------
| [C:\WINDOWS]
| wscript.exe Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
| [c:\windows\COMMAND]
| cscript.exe Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
| [C:\WINDOWS\SYSTEM]
| jscript.dll Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
| scrobj.dll Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
| vbscript.dll Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
| wshext.dll Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
| scrrun.dll Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
| wshom.ocx Updated 5.6.0.8515 1/14/03 5.6.0.8825 8/9/04 No
| ...snip
|
| Are you sure you are fully updated at Windows Update? I'm pretty sure
| there was one of two criticals dealing with scripting!
|
||>(But I have failed to remember or discover how to do that. All I have
||>are these three URLs...
||>http://msdn2.microsoft.com/en-us/library/t0aew7h6.aspx
||>VBScript User Manual
||>http://msdn2.microsoft.com/en-us/library/9bbdkx3k.aspx
||>More VBScript User Manual
||>http://www.billsway.com/vbspage/
||>Windows VBScript Tools
||
|| Last week I bought "MS VBscript - Step by Step", Microsoft Press.
||
|| - Franc Zabkar
|| --
|| Please remove one 'i' from my address when replying by email.
|
| --
| Thanks or Good Luck,
| There may be humor in this post, and,
| Naturally, you will not sue,
| Should things get worse after this,
| PCR
| pcrrcp@netzero.net

--
Thanks or Good Luck,
There may be humor in this post, and,
Naturally, you will not sue,
Should things get worse after this,
PCR
pcrrcp@netzero.net
 
Re: Bootup - Shutdown logger

Welllllll it went SOMEWHERE... anyway it was the portion of the system
activities when running the startup.vbs monitored by filemon for a
comparison, thinking it might help you and Franc.

Its small so I'll send it to you from the other private address, just so
you know its from me and don't whack it as spam.
--
MEB http://peoplescounsel.orgfree.com
--
_________

"Gary S. Terhune" <none> wrote in message
news:%23yBKnFCpIHA.4736@TK2MSFTNGP06.phx.gbl...
| What are you sending me? And no, that address no longer works. Use
| gryst_at_grystmill.com
|
| --
| Gary S. Terhune
| MS-MVP Shell/User
| www.grystmill.com
|
| "MEB" <meb@not here@hotmail.com> wrote in message
| news:OE6QvpBpIHA.1736@TK2MSFTNGP04.phx.gbl...
| > AS A WORK-AROUND - In filemon, try highlighting the target entries you
| > want,
| > go to EDIT, select Copy, paste into your favorite text editor.
| > It really is a shame that the newer versions of these sysinternals tools
| > will not work properly in Win9X. I still haven't figured out how to get
| > them
| > to save the output other than via this technique, though I suppose that
| > was
| > basically what I was doing in the older versions any way {don't need ALL
| > the
| > output, just whatever you're specifically monitoring for}.
| >
| > I sent you and Gary, my output for comparison of the target areas, via
the
| > site email address, in case the two of you wish to review potential
| > errors/fixes using a fairly *base installation* for reference.
| >
| > Franc, Did you install any updates/mods to: shell; OLE; JAVA, or other
| > which might be affecting the scripting?
| >
| > Gary, I sent it to the old mvps.org address {your *news}, lost my old
| > personal
| > contacts during the last clean install [yep, dumb thing to do, "thought"
| > I'd
| > backed them up]...
| >
| > --
| > MEB http://peoplescounsel.orgfree.com
| > --
| > _________
| >
| > "Franc Zabkar" <fzabkar@iinternode.on.net> wrote in message
| > news:e1sp04p5bo9j3btltc8pctg5v3qlsnvtpm@4ax.com...
| > | On Mon, 21 Apr 2008 13:48:52 -0400, "MEB" <meb@not here@hotmail.com>
| > | put finger to keyboard and composed:
| > |
| > | >Try using filemon and/or regmon [sysinternals/now Microsoft-TechNet]
| > during
| > | >the test of the vbs files.
| > | >Look for the specific errors.
| > | >
| > | >--
| > | >MEB http://peoplescounsel.orgfree.com
| > |
| > | Unfortunately Filemon doesn't allow me to save the output, but these
| > | are the files that are accessed up until the error box:
| > |
| > | wshext.dll --- 5.6.0.6626
| > | comdlg32.dll --- 4.72.3510.2300
| > | wshena.dll --- does not exist
| > | wshen.dll --- does not exist
| > | wshenu.dll --- does not exist
| > | gdi32.dll --- 4.10.1998
| > | ole32.dll --- 4.71.2900
| > | start.vbs
| > | d:\fzwork
| > | c:\fzwork
| > | wscript.exe --- 5.6.0.6626
| > | oleaut32.dll --- 2.40.4518
| > | imm32.dll --- 4.10.1998
| > | msvcrt.dll --- 6.10.8924.0
| > | win.ini
| > | wscript.exe.local
| > | c:\program files\wmfpatch\gdihook.dll
| > | kernel32.dll --- 4.10.2222
| > | c:\win98se\sysbckup\ver.dll --- 4.10.1998
| > | d:\temp
| > | c:\win98se\recent\start.vbs.lnk
| > | vbscript.dll --- 5.6.0.7426
| > | c:\win98se\media\chord.wav
| > |
| > | I tried replacing vbscript.dll with the earlier version that ships
| > | with Gary's scr56en.exe but the error remained.
| > |
| > | I also disabled the gdihook.dll security patch without effect.
| > |
| > | I don't know if the missing wshen?.dll files are of any consequence.
| > | From the Filemon log it looks as if the system is looking for the
| > | first file of this type that is available, and it searches for it in
| > | the root, windir, windir\system32, windir\command, and windir\system
| > | directories.
| > |
| > | The following discussion suggests that searching for nonexistent
| > | wshen?.dll files is a known issue that has no negative impact:
| > |
| > | http://forum.sysinternals.com/forum_posts.asp?TID=5696
| > |
| > | - Franc Zabkar
| > | --
| > | Please remove one 'i' from my address when replying by email.
| >
| >
| >
| >
| >
|
 
Re: Bootup - Shutdown logger

On Mon, 21 Apr 2008 22:42:49 -0400, "PCR" <pcrrcp@netzero.net> put
finger to keyboard and composed:

>Another thing: what about your settings at...?...
>
>"Control Panel, Internet Options, Security tab, Select Internet (& maybe
>Local Intranet)"
>
>Are you at Default or Custom? If Custom, are the 3 Scripting options
>enabled? Mine are, (but not all the ActiveX options are enabled).


I'll try to answer everyone's questions here.

These are my security settings:

Local intranet Medium-low
Trusted sites Low
Internet Medium
Restricted sites High

I've tried setting Local intranet to Low but the error remained.

I've been able to successfully run Gary's .vbs script on my other
Win98SE box. Now I'm trying to find what is different about them.

According to msinfo32.exe, the two boxes are both using IE6SP1 with
the same build version and same updates. The above security settings
are also identical.

These are the IE data for the good box:
http://www.users.on.net/~fzabkar/VBS_problem/xp2500IE.txt

These are the IE data for the bad box:
http://www.users.on.net/~fzabkar/VBS_problem/xp2500IE.txt

This is the difference between the two data sets:
http://www.users.on.net/~fzabkar/VBS_problem/diff_ie.txt

I can find only one real difference and that is that the good box has
a later version of vbscript.dll. However using this version on the bad
box doesn't make the error go away.

The good box also has Opera installed on it, although it is a much
earlier version.

The same versions of wscript.exe are installed on both boxes.

This a Filemon record up until the error box appears:
http://www.users.on.net/~fzabkar/VBS_problem/vbs_filemon.txt

The Filemon output screen isn't mousable, but holding down the
Ctrl-Shift key plus Home/End/PgUp/PgDown and then selecting Edit >
Copy enables one to copy and paste the output into Notepad. Thanks to
MEB.

As for TweakUI's IE settings, all but the following boxes are checked:

Clear document, run, typed-URL history on exit
Show Favorites on Start Menu

If I use Opera to open a .vbs file, it merely displays its contents.
Under Tools > Preferences > Advanced > Downloads there is no VBS file
type.

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

While writing the above and trying things as I went, I finally got the
script to work. Unfortunately I lost track of what I did. :-(

However, if I now rename scrrun.dll in the Windows\System directory to
scrrun.dl_, then the VB script breaks as before. Renaming other files
in the scr56en.exe package either has no effect, or produces other
errors. I notice that scrrun.dll appears in MEB's Filemon output
screen (thank you MEB) soon after mine errors out. Maybe that was the
problem all along.

The following URL may offer an explanation for what happened:
http://www.auditmypc.com/process/scrrun.asp

"The file, scrrun.dll, is used by windows when running scripts such as
those written with JScript or VBScript. If scrrun.dll is unavailable,
windows will not be able to execute scripts. If you do not use any
scripting on your computer you may be able to remove this file."

Anyway I suspect that something broke my IE6 or WSH installation. I
hate installing updates and patches because this sort of thing seems
to happen to me a lot.

Thanks to all for your help.

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
Back
Top