Welcome to WinForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

NT4Ref Site additions

 
   Win 2000/NT/98/ME (Home) -> General Discussion RSS
Next:  Years of e-mail in the MIDDLE disappeared  
Author Message
Calvin

External


Since: Feb 23, 2004
Posts: 131



(Msg. 1) Posted: Tue Nov 08, 2005 7:15 pm
Post subject: NT4Ref Site additions
Archived from groups: microsoft>public>windowsnt>misc (more info?)

Hi all,

I've just posted a new page on the NT4 Reference site regarding my research into
how NT4 handles Devices and Services, and manually adding or removing same.

You can read it here: http://nt4ref.zcm.com.au/mansd.htm

As always, I welcome comment, feedback, corrections etc...

Calvin.

 >> Stay informed about: NT4Ref Site additions 
Back to top
Login to vote
nt4-ever

External


Since: Oct 21, 2005
Posts: 25



(Msg. 2) Posted: Tue Nov 08, 2005 8:49 pm
Post subject: Re: NT4Ref Site additions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Calvin mentioned Memtest86+
http://www.memtest.org/
and then
It's Deja Vu All Over Again .....
for i remembered in Feb. i burned
their V1.51 burned to bootable CDR

also http://hcidesign.com/memtest
for their free version runs under windoze ..
from: alt.comp.periphs.mainboard.msi-microstar
http://tinyurl.com/asphp
where HCI Design Memtest reported errors
where Memtest86 did not ..

from: http://oca.microsoft.com/en/windiag.asp
http://oca.microsoft.com/en/mtinst.exe
makes bootable floppy or bootable CD image windiag.iso
((of course i could Not remember how to make a
bootable CD so after making two coasters;
it was so simple:
Nero 5.5 File: Burn-Image; then choose windiag.iso !!!
then when booted on the CD:
Multiple tests; P to pause; M for Menu V0.4
:rod

 >> Stay informed about: NT4Ref Site additions 
Back to top
Login to vote
nt4-ever

External


Since: Oct 21, 2005
Posts: 25



(Msg. 3) Posted: Thu Nov 10, 2005 1:51 pm
Post subject: Re: NT4Ref Site additions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Calvin wrote:
> I've just posted a new page on the NT4 Reference site regarding my research into
> how NT4 handles Devices and Services, and manually adding or removing same.
> You can read it here: http://nt4ref.zcm.com.au/mansd.htm
> As always, I welcome comment, feedback, corrections etc...

Great page as usual; but since you asked ..
so is following erroneous/typos documentation ?? :rod
.......................
NT 4 ResKit: WORKSTN.HLP 1996/09/04
"The data type for ImagePath must be REG_SZ
or REG_EXPAND_SZ."
ImagePath Value Entry
This value entry identifies the path and file name of the driver.
You can use My Computer or Windows NT Explorer to verify
the existence of the named file. The ImagePath for
LanmanWorkstation is %SystemRoot%\System32\Services.exe.

NT 4 ResKit: Regentry.hlp 1998/01/29
Standard Entries in the Services Subkeys
The following standard value entries appear in most subkeys
representing services in the Services subkey. The content of
the subkeys for each service vary depending on the nature
of the service, whether the service is Plug and Play, and
whether the service is installed on the computer.
Warning
This information is presented for reference only. You cannot
reliably install, remove, or change the configuration of a
service by editing the value entries in this subkey. To install,
remove, or configure a service, use Sc.exe, a tool included
on the Windows NT Resource Kit 4.0. Programs should use
the the standard Win32 APIs: CreateService API,
ChangeServiceConfig API, or DeleteService API.

Registry path:
HKEY_LOCAL_MACHINE\System
\CurrentControlSet
\Services
\Service name

ImagePath REG_DWORD Path and filename
Device type Default value
Default: Driver Systemroot\System32\Drivers\Drivername.sys
Service Systemroot\System32\Servicename.exe
Specifies the location of the executable file for the driver or
device. This value entry is not used for network adapter cards.
Note
This information is presented for reference only. You cannot
change the path where Windows NT searches for a service's
executable file by editing this value entry. To change the
value of ImagePath, use the ChangeServiceConfig API or
Sc.exe, a tool included on the Windows NT Resource Kit 4.0.
Technical Reference to the Windows NT Registry © Microsoft
Corporation 1985 - 1997
.......................
so; 3 comments:
1) imho iirc whenever REG_EXPAND_SZ is
used in registry then REG_SZ works as
well which makes compatable with regedit.exe
(( just do Not use %var% in the string !!))
2) they seem to imply must use sc.exe; not just
edit the reistry ???
3) typo: "ImagePath REG_DWORD" ??
for dword is 32 bits; not enough for name ??

:rod
 >> Stay informed about: NT4Ref Site additions 
Back to top
Login to vote
nt4-ever

External


Since: Oct 21, 2005
Posts: 25



(Msg. 4) Posted: Thu Nov 10, 2005 4:12 pm
Post subject: Re: NT4Ref Site additions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Calvin said:
"The whole thing was erratic and unpredictable - " ...
"A typo - and typical of Microsoft, they are extremely careless
sometimes."

just used regedt32 to export a text file of
hklm\SYSTEM\CurrentControlSet\Services;
all "ImagePath" were REG_EXPAND_SZ
but varied eg:
%SystemRoot%\System32\services.exe
\??\C:\SYS\K6Speed\k6speed.sys
\??\C:\Winlcl\DIAGS\NT_RegMon\HANDLE.SYS
\??\C:\WINNT\System32\Drivers\EPLPDX01.SYS
\??\C:\WINNT\System32\drivers\qic117.sys
\??\C:\WINNT\System32\vsdatant.sys
\??\D:\PROGRA~1\MY_PER~1\SETK6\DirectNT.SYS
\??\D:\Temp2\TEMP4\SoftFSB.SYS
\SystemRoot\System32\drivers\afd.sys
\SystemRoot\System32\drivers\opl3sa.SYS
C:\WINNT\System32\MsiExec.exe /V
c:\winnt\system32\pstores.exe
D:\Program Files\APPS\Dklite\DKService.exe
D:\TEMP\GHMU.exe
System32\DRIVERS\atapi.sys
System32\DRIVERS\et4000.sys
System32\DRIVERS\piixide.sys

These all seemed to work;
Notice the "MsiExec.exe /V" entry !! ??

i first noticed that REG_DWORD typo on the
ms Q-KB faq for NT 3.1 ... and somehow it stayed
thru to the NT4 1998/01/29 REGENTRY.HLP

http://technet.microsoft.com/default.aspx
No Joy in FireFox 1.04 Nor InterNet Xploader (IE 5.5)
.... have they re-designed their pages for IE-7 ??
:rod
 >> Stay informed about: NT4Ref Site additions 
Back to top
Login to vote
Calvin

External


Since: Feb 23, 2004
Posts: 131



(Msg. 5) Posted: Thu Nov 10, 2005 6:15 pm
Post subject: Re: NT4Ref Site additions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

nt4-ever wrote:

> Great page as usual; but since you asked ..
> so is following erroneous/typos documentation ?? :rod
> ......................
> NT 4 ResKit: WORKSTN.HLP 1996/09/04
> "The data type for ImagePath must be REG_SZ
> or REG_EXPAND_SZ."
> ImagePath Value Entry
> This value entry identifies the path and file name of the driver.
> You can use My Computer or Windows NT Explorer to verify
> the existence of the named file. The ImagePath for
> LanmanWorkstation is %SystemRoot%\System32\Services.exe.

I have done a lot of experimenting with the registry entries and sorting out
what can be practically done, and what 'falls over' if you try. Hence my
comments about ImagePath being in the form of \??\Drive:\Path\FileName and of
type REG_Expand_SZ - hence it being presented a string of hex in a RegEdit16
..reg file. When you import this, it is in fact a REG_Expand_SZ datatype.

> NT 4 ResKit: Regentry.hlp 1998/01/29
> Standard Entries in the Services Subkeys
> The following standard value entries appear in most subkeys
> representing services in the Services subkey. The content of
> the subkeys for each service vary depending on the nature
> of the service, whether the service is Plug and Play, and
> whether the service is installed on the computer.
> Warning
> This information is presented for reference only. You cannot
> reliably install, remove, or change the configuration of a
> service by editing the value entries in this subkey. To install,
> remove, or configure a service, use Sc.exe, a tool included
> on the Windows NT Resource Kit 4.0. Programs should use
> the the standard Win32 APIs: CreateService API,
> ChangeServiceConfig API, or DeleteService API.

In other words, they don't trust us to do it right !! You definitely can change
behaviour or remove/add a device or service using my techniques - it is just
VITALLY important you have you head screwed on right when you do this and
perform the procedure correctly !

>
> Registry path:
> HKEY_LOCAL_MACHINE\System
> \CurrentControlSet
> \Services
> \Service name
>
> ImagePath REG_DWORD Path and filename

Obviously a boo-boo by Microsoft, Your comments above about it being REG_SZ or
REG_Expand_SZ are correct.

> Device type Default value
> Default: Driver Systemroot\System32\Drivers\Drivername.sys
> Service Systemroot\System32\Servicename.exe
> Specifies the location of the executable file for the driver or
> device. This value entry is not used for network adapter cards.

> Note
> This information is presented for reference only. You cannot
> change the path where Windows NT searches for a service's
> executable file by editing this value entry. To change the
> value of ImagePath, use the ChangeServiceConfig API or
> Sc.exe, a tool included on the Windows NT Resource Kit 4.0.
> Technical Reference to the Windows NT Registry © Microsoft
> Corporation 1985 - 1997

Wrong again - this is all typical of Microsoft, a campaign of FUD to try to
scare people out of doing anything. The ImagePath CAN be changed, and I can
guarantee you (unless the driver or service has hardcoded overrides within -
this does happen sometimes) you CAN relocate a device or service and change the
ImagePath and the system will use it ! This was thoroughly tested before I
publish my article.

> ......................
> so; 3 comments:
> 1) imho iirc whenever REG_EXPAND_SZ is
> used in registry then REG_SZ works as
> well which makes compatable with regedit.exe
> (( just do Not use %var% in the string !!))

Reason I nominated the \??\Drive:\Path\FileName (Symbolic Link syntax) ImagePath
was because this approach appears to be the most reliable. I am certain there
are bugs in NT4 in this area.

For example, if you specify the ImagePath as datatype Reg_Expand_SZ and provide
a path in the form %SystemRoot%\System32 or %SystemRoot%\System32\Drivers NT4
will flatly refuse to load the device/service and give either a 'file not found'
or 'path not found' error.

Yet if you provide a syntax like datatype REG_SZ and give eg:
\SystemRoot\System32\FileName and the device/service will load - sometimes !
Notice the path provided is in fact illegal it is \SystemRoot\ NOT %SystemRoot%\

I have also found REG_SZ datatype and a standard full path eg:
D:\WinNT\System32\Drivers will work FAIRLY reliably.

The whole thing was erratic and unpredictable - unless you use Symbol Link
Syntax, then it works properly and consistently. I notice several
services/device added by third parties use this approach - hence where I got the
idea from - and obviously they know things we don't - because it actually works
properly Smile

> 2) they seem to imply must use sc.exe; not just
> edit the reistry ???

They don't trust us Smile

> 3) typo: "ImagePath REG_DWORD" ??
> for dword is 32 bits; not enough for name ??

A typo - and typical of Microsoft, they are extremely careless sometimes. One
wonders if the same level of carelessness flows over into their coding - could
explain a lot !

Calvin
 >> Stay informed about: NT4Ref Site additions 
Back to top
Login to vote
Calvin

External


Since: Feb 23, 2004
Posts: 131



(Msg. 6) Posted: Thu Nov 10, 2005 8:15 pm
Post subject: Re: NT4Ref Site additions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

nt4-ever wrote:
> just used regedt32 to export a text file of
> hklm\SYSTEM\CurrentControlSet\Services;
> all "ImagePath" were REG_EXPAND_SZ
> but varied eg:
> %SystemRoot%\System32\services.exe
> \??\C:\SYS\K6Speed\k6speed.sys
> \??\C:\Winlcl\DIAGS\NT_RegMon\HANDLE.SYS
> \??\C:\WINNT\System32\Drivers\EPLPDX01.SYS
> \??\C:\WINNT\System32\drivers\qic117.sys
> \??\C:\WINNT\System32\vsdatant.sys
> \??\D:\PROGRA~1\MY_PER~1\SETK6\DirectNT.SYS
> \??\D:\Temp2\TEMP4\SoftFSB.SYS
> \SystemRoot\System32\drivers\afd.sys
> \SystemRoot\System32\drivers\opl3sa.SYS
> C:\WINNT\System32\MsiExec.exe /V
> c:\winnt\system32\pstores.exe
> D:\Program Files\APPS\Dklite\DKService.exe
> D:\TEMP\GHMU.exe
> System32\DRIVERS\atapi.sys
> System32\DRIVERS\et4000.sys
> System32\DRIVERS\piixide.sys
>
> These all seemed to work;
> Notice the "MsiExec.exe /V" entry !! ??
>
> i first noticed that REG_DWORD typo on the
> ms Q-KB faq for NT 3.1 ... and somehow it stayed
> thru to the NT4 1998/01/29 REGENTRY.HLP

My system wasn't even as clear cut as what your shows as - I have a mixture of
ImagePath entries of datatype REG_SZ and REG_Expand_SZ - obviously different
software writers tackle this in different ways, I suppose as long as the result
works, who are we to argue ?? Smile

I suspect that using Sc.exe, or the Win32 API as Microsoft mentions (which a
install package would do) may be able to get reliable results using datatype for
the ImagePath of other than Symbolic Link syntax - but as I said in my article,
the reliability using direct registry entry with datatypes other than Symbolic
Link syntax is poor.

> http://technet.microsoft.com/default.aspx
> No Joy in FireFox 1.04 Nor InterNet Xploader (IE 5.5)
> ... have they re-designed their pages for IE-7 ??

I just tried the link in Mozilla Browser 1.7.12 - works OK here to get to the
front page of the site, I didn't go fishing into the internals however. The
Microsoft website - TechNet in particular - has always been a 'problem child'
when it comes to browsers other than IE - I often have trouble with the left
hand 'menu bar' failing - with stupid error messages like 'page not found' etc.

I know this menu bar is JScript based, and of course only IE implements JScript
(Microsoft's "if you can't beat them, prostitute the standard" creation that is
supposed to work like JavaScript) which works just sufficiently differently to
JavaScript to cause endless problems on a JavaScript based browser.

I have actually complained to Microsoft about the extremely poor performance of
their website on numerous occasions - a total exercise in futility of course,
the complaints got responded to with standard "we can't find anything wrong
here" answers !

Calvin.
 >> Stay informed about: NT4Ref Site additions 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
NT4 Reference Site - Hi all, As I'm sure everyone is aware by now, support for NT4 ceases on December 31 this year. Well - not strictly true - Microsoft have announced that PAID contract support will be available on an individual basis, for payment of a quarterly fee, fo...

Hotfix for KB839645 - Anyone have the hotfix for KB839645 ( NT Active Desktop icons not working after security update install ) they would like to give up? Tom

error message - help - I am getting the following error message when loading some software. What is the cause and how do I correct it? C:\WINDOWS\SYSTEM32\AUTOEXEC.NT. The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose close to...

problems with sp6a and high encryption - I need install the service pack 6a High Encryption (128- bit) Version for Intel (x86) platform. When i try install the file in this page: http://www.microsoft.com/ntserver/nts/downloads/recommended /SP6/128bitX86/default.asp show the message "this....

HEX DUMP ERROR - HI THERE, THIS THE FIRST TIME IM IN THIS NEWSGROUP, HERE'S THE PROBLEM WE HAD EXPERIENCED A HIGH VOLTAGE SPIKE AT THE SITE WHICH HAD BURNT THE VOLTAGE STABILIZERS AND OTHER EQUIPMENTS, INCLUDING THE SERVER LOADED WITH WIN NT 4.0 WITH MS-SQ...
   Win 2000/NT/98/ME (Home) -> General Discussion All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows XP
 Windows Vista!
  Win 2000/NT/98/ME


[ Contact us | Terms of Service/Privacy Policy ]