[Samba] Logon script

Neal Chant nchant at mercuryint.co.uk
Wed Mar 9 15:34:45 GMT 2005


Hi

REGEDIT /S \\servername\netlogon\proxy.reg
runs here to import proxy.reg, .bat file, thou the clients are Win98 so
YMMV.

HTH
Neal

>-----Original Message-----
>From: samba-bounces+nchant=mercuryint.co.uk at lists.samba.org
>[mailto:samba-bounces+nchant=mercuryint.co.uk at lists.samba.org]On Behalf
>Of Collen
>Sent: 10 March 2005 12:20 AM
>To: Nathan Vidican; samba at lists.samba.org
>Subject: Re: [Samba] Logon script
>
>
>Hmm, not quite true..
>you can configure windows not to be able to use regedit, or to modify
>your registry! so useing regedit to modify your registry will not always
>work this way..
>
>also logon scripts are not alway's batch files. we use VBS for example,
>but you can also use kix..!
>windows simply executes the file from the logon script. !! so makeing,
>lets say an exe with vb would also work, or startingup an aplication!!
>
>the only nice way is indeed poledit, or to have an update service
>running as admin in the background!!
>NT recource kit provides good registry altering tools! you could use
>that as well..
>
>Have fun..
>Collen.
>
>Nathan Vidican wrote:
>> Logon scripts are supposed to be msdos batch files, check
>documentation on
>> regedit, but you should be able to do a line something like this:
>>
>> C:\windows\regedit.exe \\server\name\dir\someregimports.reg
>>
>> You'll need to figure out how to get regedit NOT to display a
>warning before
>> it changes the registry or imports the file - check help, documentation,
>> google on that one.
>>
>> --
>> Nathan Vidican
>> nvidican at wmptl.com
>> Windsor Match Plate & Tool Ltd.
>> http://www.wmplt.com/
>>
>> -----Original Message-----
>> From: samba-bounces+nvidican=wmptl.com at lists.samba.org
>> [mailto:samba-bounces+nvidican=wmptl.com at lists.samba.org] On Behalf Of
>> csanab at ife.org.mx
>> Sent: Tuesday, March 08, 2005 12:43 PM
>> To: samba at lists.samba.org
>> Subject: [Samba] Logon script
>>
>>
>>
>>
>> Hi, i'm having roubles with samba as PDC, i want to modify some registry
>> keys (relates with windows update) in  XP & 2000 clients. I've
>tryed logons
>> scripts but  it seems that i don have enough permissions to do that, so i
>> tried to do a ntconfig.pol but when the client logs on domain y
>just get the
>> file
>> (ntconfig.pol) and any changes are made.
>>
>> So how can i modify windows registry keys?
>>
>> Thanks
>>
>> -----------------------------------------------------------------------
>> Este mensaje fue enviado por el servidor de correo de RedIFE:
>> correo.ife.org.mx
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/listinfo/samba
>>
>>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list