On the Links page of http://kixtart.to you see a link to the page of: Oliver Knorr. On that page you will find this:
code:

Sharing the C: drive
Because remote administration is often too complicated to use, I prefer sharing the hard drive the "normal" way for a suitable group. On Windows 95/98 machines with user level security, I use the follwing KiXtart code to share C:\ with the share name C-DRIVE for the group BIGBROTHERS in domain MYDOMAIN.

$res=ADDKEY("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Network\LanMan")
$res=ADDKEY("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Network\LanMan\C-DRIVE")
$res=WRITEVALUE("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Network\LanMan\C-DRIVE","Flags","403","REG_DWORD")
$res=WRITEVALUE("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Network\LanMan\C-DRIVE","Parm1enc","","REG_BINARY")
$res=WRITEVALUE("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Network\LanMan\C-DRIVE","Parm2enc","","REG_BINARY")
$res=WRITEVALUE("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Network\LanMan\C-DRIVE","Path","C:\","REG_SZ")
$res=WRITEVALUE("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Network\LanMan\C-DRIVE","Remark","","REG_SZ")
$res=WRITEVALUE("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Network\LanMan\C-DRIVE","Type","0","REG_DWORD")
$res=ADDKEY("HKEY_LOCAL_MACHINE\Security\Access\C:")
$res=WRITEVALUE("HKEY_LOCAL_MACHINE\Security\Access\C:","MYDOMAIN\BIGBROTHERS","B780","REG_BINARY")
Again, there are a lot of binary flags and parameters here, that might be different for you.


HTH

------------------
Lon Geefshuysen (MCP)
kixtart.to/lon
lon@kixtart.to