[Samba] Logon script

Van Sickler, Jim vansickj-eodc at kaman.com
Wed Mar 9 16:22:13 GMT 2005


You can also use regini.exe to paste
registry entries during logon.
One of our admins set up a batch
file to update the proxy settings this way.
(both files need to be in the NETLOGON share dir)

>From logon.bat (logon script):

REM * Requirements: Network access to %LOGONSERVER%\NETLOGON, regini.exe
*
REM * Restrictions: NT Intel
*
REM
*************************************************************************
if "%CMDPATH%"=="" set CMDPATH=%LOGONSERVER%\NETLOGON
%CMDPATH%\regini.exe %CMDPATH%\proxy.ini

>From proxy.ini:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings
    ProxyEnable = REG_DWORD 0x00000001
    ProxyHttp1.1 = REG_DWORD 0x00000001
    ProxyServer = XXX.XXX.XXX.XXX:80
    ProxyOverride = <LOCAL>; *.mycompany.com; intranetserver.mycompany.com

Hope this helps,
  Jim

> -----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 troubles 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