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