add reg-.. [Roaming netscape on samba, WORKS!] (fwd)

Harald Hannelius Harald at iki.fi
Mon Aug 30 08:02:28 GMT 1999


This should maybe be public knowledge too... 

There's a new hint too: 'ln -s ${HOME}/.netscape/bookmarks
Windows/Netscape/bookmark.htm', seems to work w/ NT4sp5.

===========================================================        
Harald H Hannelius | Harald at iki.fi      | GSM +358405470870
===========================================================  

---------- Forwarded message ----------
Date: Fri, 27 Aug 1999 15:09:07 +0300 (EEST)
From: Harald Hannelius <Harald at iki.fi>
To: peter pilsl <pilsl at goldfisch.atat.at>
Subject: Re: add reg-.. [Roaming netscape on samba, WORKS!]



There's a good article on adding reg entries using .inf files on
http://www.performancecomputing.com/unixintegration, they are one of the
most powerful MICROS~1 tools available. <grin>

I used that information, and some more that I found on netscape.com to
allow users to have their 'own' netscape directory on their network drive.
This is how you do it:

Add this call to the logon-script:

rundll32 setupapi,InstallHinfSection DefaultInstall 132 \\server\netlogon\netscapeusrprof.inf

This will inject the registry entries described in the .inf file into the
users HKCU. This is how the netscapeusrprof.inf file looks like:
(There may be some extra line-breaks here now, please use your head :)

; To set the netscape prefs before starting it.
; 24 Aug 99 Harald
;       First version
[version]
signature="$Windows NT$" ; For windows NT
[DefaultInstall]
AddReg=AddNetscapeProfile
[AddNetscapeProfile]
HKCU,"Software\Netscape\Netscape Navigator\UserInfo", 
HKCU,"Software\Netscape\Netscape Navigator\UserInfo", DirRoot,,"H:\\Windows\Netscape"
HKCU,"Software\Netscape\Netscape Navigator\UserInfo", ProfileDirectory,,"H:\\Windows\Netscape"
; EOF


After that you get roaming profiles for your network users. This is most
convenient when you have multiple users/machine as you would often have in
a school environment. I have only tested this on NT4, sp5, and I can
confirm that i works like you would expect. The users preferences, cache,
maildir and everything goes with the user as he roams about on different
wks's.

Have fun :)


On Mon, 23 Aug 1999, peter pilsl wrote:

> we decided to change some common settings in our network (mainly for these office2000-things) and so we have to change
> settings in each users registry (HKCU). Is there a way to add this changes to the NTconfig.pol in the servers netlogon-share,
> so the changes are done automatically when the user logs on ?
> 
> example: HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\General\UserTemplates need to be changed for each user.
> 
> thanks,
> peter
> 
> 
> -------------------------------------------
> mag. peter pilsl
> 
> phone: +43/(0)/6763574035
> fax  : +43/(0)/6763546512
> email: pilsl at goldfisch.atat.at
> sms: pilsl_mobil at goldfisch.atat.at
> 
> pgp-key available
> -------------------------------------------
> 

===========================================================        
Harald H Hannelius | Harald at iki.fi      | GSM +358405470870
===========================================================  




More information about the samba-ntdom mailing list