Página 2 de 3 PrimeiroPrimeiro 123 ÚltimoÚltimo
+ Responder ao Tópico



  1. http://us2.samba.org/samba/docs/man/...olicyMgmt.html

    Da uma olhada nessa URL, que vai te ajudar a entender melhor, mas esteja ciente das politicas que vc desejar implementar e veja se é possivel.... nada contra o Samba, mas o AD ainda ta bem na frente neste quesito... estou ansioso para saber o que o Samba4 vai trazer para se equivaler ao AD

  2. É mistymst, concordo plenamente com você. O SAMBA é um software muito bom para trabalhar e é uma solução livre que tenta completar algo incrível, mas o AD é muito poderoso, mesmo sendo desenvolvido pela Microsoft.

    Vamos ver o quê o SAMBA 4 pode fazer, mas eu espero já possuir mais algumas opções referentes à grupos e uma melhor funcionabilidade com máquinas rodando GNU/Linux também.



  3. #8
    drmo


    Olá galera muito tempo sumido!!! mas to de volta!!!

    Meu Brother lá vai uma dica de comando que vc pode escrever no seu script de logon (.bat)
    Muito util !
    Não tive tempo de testar todos os comandos mas muitos estão funcionando que e uma marvilha!
    É só copiar e colar! Lembrando que e melhor que vc confeccione o arquivo de logon no windows!
    (notepad) e depois copie para a pasta de netlogon ! (mas isso vc já deve saber).
    Se resolver seu problema posta ai!

    Valeu!!!

    #01 Bloquear acesso ao Painel de Controle
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoControlPanel /t REG_DWORD /d 0x00000001 /f

    #02 For�ar o estilo cl�ssico no Painel de Controle
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ForceClassicControlPanel /t REG_DWORD /d 0x00000001 /f

    #03 Bloquear a altera��o do Papel de Parede
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDesktopCleanupWizard /t REG_DWORD /d 0x00000001 /f

    #04 Desabilitar a Limpeza da �rea de Trabalho
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDesktopCleanupWizard /t REG_DWORD /d 0x00000001 /f

    #05 Remover a Lixeira da �rea de Trabalho
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\NonEnum" /v {645FF040-5081-101B-9F08-00AA002F954E} /t REG_DWORD /d 0x00000001 /f

    #06 Remover Meus Documentos da �rea de Trabalho
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\NonEnum" /v {450D8FBA-AD25-11D0-98A8-0800361B1103} /t REG_DWORD /d 0x00000001 /f

    #07 Remover Meu Computador da �rea de Trabalho
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\NonEnum" /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 0x00000001 /f

    #08 Remover "Propriedades" do Menu de Contexto de Meus Documentos
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoPropertiesMyDocuments /t REG_DWORD /d 0x00000001 /f

    #09 Remover "Propriedades" do Menu de Contexto de Meu Computador
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoPropertiesMyComputer /t REG_DWORD /d 0x00000001 /f

    #10 Remover "Propriedades" do Menu de Contexto da Lixeira
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoPropertiesRecycleBin /t REG_DWORD /d 0x00000001 /f

    #11 Ocultar Meus Locais de Rede da �rea de Trabalho
    REG ADD"HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoNetHood /t REG_DWORD /d 0x00000001 /f

    #12 Remover o Internet Explorer da �rea de Trabalho
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoInternetIcon /t REG_DWORD /d 0x00000001 /f

    #13 N�o permitir que o usu�rio altere o caminho de Meus Documentos
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v DisablePersonalDirChange /t REG_DWORD /d 0x00000001 /f

    #14 N�o Permitir o Compartilhamento de arquivos recentemente abertos
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoRecentDocsNetHood /t REG_DWORD /d 0x00000001 /f

    #15 Remover Logoff do Menu Iniciar
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoLogoff /t REG_DWORD /d 0x00000001 /f
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ForceStartMenuLogOff /t REG_DWORD /d 0x00000000 /f

    #16 Remover e Impedir Acesso a Op��o "Desligar" do Menu Iniciar
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoClose /t REG_DWORD /d 0x00000001 /f

    #17 N�o manter Hist�rico de Documentos abertos recentemente
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoRecentDocHistory /t REG_DWORD /d 0x00000001 /f

    #18 Limpar Hist�rico de Documentos abertos recentemente ao sair
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ClearRecentDocsOnExit /t REG_DWORD /d 0x00000001 /f

    #19 Remover Menus Personalizados
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v Intellimenus /t REG_DWORD /d 0x00000001 /f

    #20 Desativar Rastreamento do Usu�rio
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoInstrumentation /t REG_DWORD /d 0x00000001 /f

    #21 Bloquear "Barra de Tarefas"
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v LockTaskbar /t REG_DWORD /d 0x00000001 /f

    #22 For�ar "Menu Iniciar" no estilo Cl�ssico
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoSimpleStartMenu /t REG_DWORD /d 0x00000001 /f

    #23 Remover as dicas dos bal�es nos itens do "Menu Iniciar"
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoSMBalloonTip /t REG_DWORD /d 0x00000001 /f

    #24 N�o Exibir "Barras de Ferramentas Personalizadas" na "Barra de Tarefas"
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoToolbarOnTaskbar /t REG_DWORD /d 0x00000001 /f

    #25 Desabilitar Atualiza��es Autom�ticas do Windows
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoAutoUpdate /t REG_DWORD /d 0x00000001 /f

    #26 Remover o "Gerenciador de Tarefas" [Ctrl+Alt+Del]
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v DisableTaskMgr /t REG_DWORD /d 0x00000001 /f

    #27 Limpar o Hist�rico de Urls acessadas no Internet Explorer a cada 1 dia
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Url History" /v DaysToKeep /t REG_DWORD /d 0x00000001 /f

    #28 Bloco de Notas como Editor Html padr�o no Internet Explorer
    REG ADD "HKCU\Software\Microsoft\Internet Explorer\Default HTML Editor" /v Description /t REG_SZ /v "Bloco de notas" /f

    #29 N�o Permitir o Internet Explorer coletar informa��es do AutoCompletar
    REG ADD "HKCU\Software\Microsoft\Internet Explorer\Main" /v Use FormSuggest /t REG_SZ /d no /f
    REG ADD "HKCU\Software\Microsoft\Internet Explorer\Main" /v FormSuggest Passwords /t REG_SZ /d no /f
    REG ADD "HKCU\Software\Microsoft\Internet Explorer\Main" /v FormSuggest PW Ask /t REG_SZ /d no /f

    #30 Habilitar o Bloqueio de Foco
    REG ADD "HKCU\Control Panel\Desktop" /v ForegroundLockTimeout /t REG_DWORD /d 0x00030d40 /f
    REG ADD "HKU\.DEFAULT\Control Panel\Desktop" /v ForegroundLockTimeout /t REG_DWORD /d 0x00030d40 /f

    #31 Finaliza��o Autom�tica das tarefas
    REG ADD "HKCU\Control Panel\Desktop" /v AutoEndTasks /t REG_SZ /d 1 /f
    REG ADD "HKU\.DEFAULT\Control Panel\Desktop" /v AutoEndTasks /t REG_SZ /d 1 /f

    #32 Optimiza��o no Boot
    REG ADD "HKLM\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction" /v Enable /t REG_SZ /d Y /f
    REG ADD "HKLM\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction" /v OptimizeComplete /t REG_SZ /d Yes /f

    #33 Ativar Num-Lock quando Entrar no Windows
    REG ADD "HKCU\Control Panel\Keyboard\" /v InitialKeyboardIndicators /t REG_SZ /d 2 /f
    REG ADD "HKU\.DEFAULT\Control Panel\Desktop" /v InitialKeyboardIndicators /t REG_SZ /d 2 /fboardIndicators /t REG_SZ /d 2 /f

    #34 Menu Iniciar M�is R�pido
    REG ADD "HKCU\Control Panel\Desktop" /v MenuShowDelay /t REG_SZ /d 100 /f
    REG ADD "HKU\.DEFAULT\Control Panel\Desktop" /v MenuShowDelay /t REG_SZ /d 100 /f

    #35 Descarregar DLLs inutlizadas da Mem�ria
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v AlwaysUnloadDLL /t REG_SZ /d 1 /f

    #36 Aumentar o N�mero de Downloads Simult�neos no Internet Explorer
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MaxConnectionsPer1_0Server /t REG_DWORD /d 0x0000000a /f
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MaxConnectionsPerServer /t REG_DWORD /d 0000000a /f

    #37 Aumentar a Taxa de Upload
    REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\AFD\Parameters" /v DefaultSendWindow /t REG_DWORD /d 0x00018000 /f
    REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v EnablePMTUDiscovery /t REG_DWORD /d 0x00000001 /f

    #38 Limpeza de Disco Mais Eficaz (Preven��o contra Travamentos)
    REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Compress old files" /f

    #39 Limpar o Arquivo de Troca ao Encerrar o Windows
    REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v ClearPageFileATShutdown /t REG_SZ /d 1 /f

    #40 Otimiza��o TCP/IP
    REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Lanmanserver\parameters" /v SizReqBuf /t REG_DWORD /d 0x00014596 /f
    REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v class /t REG_DWORD /d 0x00000001 /f
    REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v DnsPriority /t REG_DWORD /d 0x00000007 /f
    REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v HostsPriority /t REG_DWORD /d 0x00000006 /f
    REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v LocalPriority /t REG_DWORD /d 0x00000005 /f
    REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" /v NetbtPriority /t REG_DWORD /d 0x00000008 /f

    #41 Pesquisa de Computadores Mais Eficaz
    REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}" /f

    #42 Desabilitar Cache para Thumbnails (Miniaturas)
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v DisableThumbnailCache /t REG_SZ /d 1 /f

    #43 Otimiza��o para o Cache de DNS
    REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters" /v CacheHashTableBucketSize /t REG_DWORD /d 0x00000001 /f
    REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters" /v CacheHashTableSize /t REG_DWORD /d 0x00000180 /f
    REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters" /v MaxCacheEntryTtLimit /t REG_DWORD /d 0x0000fa00 /f
    REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters" /v MaxSOACacheEntryTtLimit /t REG_DWORD /d 0x0000012d /f

    #44 Remover Executar do Menu Iniciar
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoRun /t REG_DWORD /d 0x00000001 /f

    #45 Esconder Rel�gio do Windows
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v HideClock /t REG_DWORD /d 0x00000001 /f

    #46 Limpar Arquivos Tempor�rios do Internet Explorer
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache" /v Persistent /t REG_DWORD /d 0x00000000 /f

    #47 Desabilitar a Notifica��o de Antiv�rus Desativado
    REG ADD "HKLM\Software\Microsoft\Security Center" /v AntiVirusDisableNotify /t REG_DWORD /d 0x00000001 /f

    #48 Desabilitar a Notifica��o de Firewall Desativado
    REG ADD "HKLM\Software\Microsoft\Security Center" /v FirewallDisableNotify /t REG_DWORD /d 0x00000001 /f

    #49 Desabilitar a Notifica��o de Atualiza��es Autom�ticas Desativada
    REG ADD "HKLM\Software\Microsoft\Security Center" /v UpdatesDisableNotify /t REG_DWORD /d 0x00000001 /f

    #50 Disabilitar Auto-Run do CD-ROM
    REG ADD "HKLM\Software\CurrentControlSet\Services\Cdrom" /v AutoRun /t REG_DWORD /d 0x00000001 /f

    #51 Desabilitar o Sistema de Encripta��o de Arquivos
    REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\EFS" /v EfsConfiguratiom /t REG_DWORD /d 0x00000001 /f

    #52 Desabilitar Mensagem de Notifica��o de Espa�o em Disco Insuficiente
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoLowDiskSpaceChecks /t REG_DWORD /d 0x00000001 /f

    #53 Disabilitar Beeps de Erros
    REG ADD "HKCU\Control Panel\Sound" /v Beep /t REG_SZ /d no /f

    #54 Desabilitar Restaura��o de Sistema
    REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore\" /v DisableSR /t REG_DWORD /d 0x00000001 /f

    #55 Desabilitar Windows Messenger
    REG ADD "HKLM\Software\Policies\Microsoft\Messenger\Client" /v PreventRun /t REG_DWORD /d 0x00000001 /f

    #56 Disable Windows Xp Firewall
    REG ADD "HKLM\System\CurrentControlSet\Serices\SharedAccess\Parameters\FirewallPolicy\StandardProfile" /v EnableFirewall /t REG_DWORD /d 0x00000000 /f

    #57 Mostrar a Vers�o do Windows no Desktop
    REG ADD "HKCU\Control Panel\Desktop" /v PaintDesktopVersion /t REG_DWORD /d 0x00000001 /f

    #58 Editar as Informa��es de Registro do Windows
    REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v RegisteredOrganization /t REG_SZ /d CompanyNameHere /f
    REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v RegisteredOwner /t REG_SZ /d OwnerNameHere /f

    #59 Alterar Diret�rio do CD do Windows
    REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v SourcePath /t REG_SZ /d D:\I836 /f

    #60 Alterar a Pasta Root do Sistema [Padr�o: C:\Windows]
    REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v SystemRoot /t REG_SZ /d C:\Windows /f

    #61 Alterar a Descri��o do Computador
    REG ADD "HKLM\System\CurrentControlSet\Services\Lanmanserver\parameters" /v srvcomment /t REG_SZ /d descri��o /f

    #62 Habilitar Assist�ncia Remota
    REG ADD "HKLM\System\CurrentControlSet\Control\Terminal Server" /v AllowTSConnections /t REG_DWORD /d 0x00000001 /f
    REG ADD "HKLM\System\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0x00000001 /f
    REG ADD "HKLM\System\CurrentControlSet\Control\Terminal Server" /v fAllowToGetHelp /t REG_DWORD /d 0x00000001 /f

    #63 Desocultar o Rel�gio do Windows
    REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v HideClock /t REG_DWORD /d 0x00000000 /f
    MSN Messenger Status:

  4. Excelente esses exemplos!

    muito obrigado!



  5. São coisas muito úteis mas ainda o AD eh melhor. Esses exemplos funcionam em quais versões do windows?






Tópicos Similares

  1. logon script = %U.bat,logon.bat (samba)
    Por quecosuix no fórum Servidores de Rede
    Respostas: 1
    Último Post: 22-02-2005, 18:02
  2. logon script = %U.bat,logon.bat
    Por quecosuix no fórum Servidores de Rede
    Respostas: 0
    Último Post: 22-02-2005, 08:31
  3. Script .BAT
    Por fabianosms no fórum Servidores de Rede
    Respostas: 3
    Último Post: 06-08-2004, 16:46
  4. Criando logon scripts - Samba x win2000
    Por rfdasilva1 no fórum Servidores de Rede
    Respostas: 7
    Último Post: 05-12-2003, 17:22
  5. Utilizando a flag %G no logon script (Samba + Win2k)
    Por Cyberfred no fórum Servidores de Rede
    Respostas: 1
    Último Post: 18-12-2002, 22:24

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L