I guess the simplest way to reach the registry on 9x machines is to install the Remote registry Service (or can you reach the registry on them using WMI?)?
According to MS, to install this service, you have to set "user level security" on the client prior to installing.
Has anyone written any script to install this?
Solving the INF install for the remote registry service (under Tools\Reskit\Netadmin\Remotereg on the 98 CD) could be done with:
code:
$HomeServer = "\\someserver"
IF @INWIN = 2
$RemoteReg = READVALUE("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Runservices", "regserv")
IF $RemoteReg <> "regserv.exe"
$INFInstall = READVALUE("HKEY_CLASSES_ROOT\inffile\shell\install\command", "")
$INFInstall = SUBSTR($INFInstall, 1, INSTR($INFInstall, "%1") - 1)
RUN '$INFInstall "$HomeServer\fileserver$$\Files\Win9x\REMOTREG\REGSRV.INF"'
ELSE
? "Remote registry service already installed"
ENDIF
ENDIF
I guess... But this doesn't work. My guess is that I have to set this "user-level security" first?
[ 25. September 2003, 11:49: Message edited by: masken ]
_________________________
The tart is out there