+ Responder ao Tópico



  1. Pessoal, tenho torres com SSID diferentes, e enfrento problemas com clientes que insistem em mudar o SSID no Gerenciador Wireless do Windows XP (Configuração Zero Config), para resolver esse problema não estou encontrado solução, pois não achei nada na internet que explique alguma alteração da API do Zero Config ou algum script de registro que possa forçar o SSID.

    Assim, eu mesmo tentei desenvolver um script para isto, porém o item "#Static0000" da chave de registro para a opção WZCSVC não funciona de um micro para outro. Lembrando que essa chave é a que define a "Rede Preferencial do Cliente".

    Vou postar o script e explicar melhor o que quero com ele.

    @echo off
    setlocal
    REM ##### CAPTURA ID DA PLACA WIRELESS #####
    cls
    @echo on
    @echo ###############################################################################
    @echo ### AUTOCONFIGURACAO DE TORRE by NetPerdizes (Alex R. Oliveira - @2006) ###
    @echo ### TORRE: ApCristo ###
    @echo ###############################################################################
    @echo
    @echo Aguarde enquanto o sistema configura sua torre de acesso...
    @echo off
    REM ESSA LINHA CAPTURA A ID DA PLACA WIRELESS
    for /F "usebackq tokens=2 delims={" %%I in (`reg query
    "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\"`) do set var=%%I
    REM ##### PARA SERVICO ZERO CONFIG ######
    %windir%\system32\net.exe stop wzcsvc
    REM ##### Remove Perfis Preferenciais ######
    @echo on
    cls
    @echo ###############################################################################
    @echo ### AUTOCONFIGURACAO DE TORRE by NetPerdizes (Alex R. Oliveira - @2006) ###
    @echo ### STATUS: REMOVENDO PERFIS PREFERENCIAIS ###
    @echo ###############################################################################
    @echo
    @echo off
    reg delete "HKLM\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\{%var%" /f /v Static#0000
    reg delete "HKLM\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\{%var%" /f /v Static#0001
    reg delete "HKLM\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\{%var%" /f /v Static#0002
    reg delete "HKLM\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\{%var%" /f /v Static#0003
    reg delete "HKLM\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\{%var%" /f /v Static#0004
    reg delete "HKLM\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\{%var%" /f /v Static#0005
    REM ##### ADICIONA PERFIL PREDEFINIDO - APCRISTO (SSID PREDEFINIDA) ####
    @echo on
    cls
    @echo ###############################################################################
    @echo ### AUTOCONFIGURACAO DE TORRE by NetPerdizes (Alex R. Oliveira - @2006) ###
    @echo ### STATUS: DEFININDO TORRE PARA ACESSO ###
    @echo ###############################################################################
    @echo off
    REM O PROBLEMA ESTÁ AKI, POIS ESSE DADO É BINÁRIO QUE REPRESENTA A REDE PREFERENCIAL, EU COPIEI DO MICRO COM A REDE PREFERENCIAL, POREM NÃO FUNCIONA EM OUTRO COMPUTADOR
    reg add "HKLM\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\{%var%" /f /v Static#0000 /t reg_binary /d C802000000000000000000000000000808000000417043726973746F00000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000D08C9DDF0115D1118C7A00C04FC297EB01000000335A3336BDF219429A257AD42EBFF6670000000002000000000003660000A800000010000000958C029D61695FC9B990A6F514E5C7230000000004800000A000000010000000898BAFD3C7CD6ECA47E9853262338BEC280000001E033F00F7C288B82D87ECC20F6FE41E56F18E209A56A316BD4FF02B95A838CEC17010E669D3D61B140000009CA8ED87F89082C1FBBBF08F7B0AD09F8BEFFA44
    REM #### INICIA SERVICO ZERO CONFIG #####
    %windir%\system32\net.exe start wzcsvc
    @echo on
    @echo ###############################################################################
    @echo ### CONFIGURACAO DE TORRE CONCLUIDA COM SUCESSO! ###
    @echo ### Net Perdizes Internet Provider ###
    @echo ###############################################################################

    Eu jogo esse arquivo no inicializar do windows, e sempre que carrega define o SSID preferencial



    O problema que não sou bom em Ruindows. Mas vale a pergunta pro pessoal do wireless, como eu consigo forcar uma SSID no cliente trabalhando com registro do Windows.

    Se alguém puder me ajudar... ficarei muito grato.

  2. Kandango,

    Vou fazer apologia a outro fórum, mas paciência, acho que a solução seria encontrada com mais facilidade. Tente no fórum do Baboo sobre programação script em Windows.

    Acho que essa sua atitude é louvável, mas não entendo patavinas de Windows para te ajudar.






Tópicos Similares

  1. Respostas: 21
    Último Post: 22-02-2012, 22:12
  2. Respostas: 5
    Último Post: 05-07-2010, 20:04
  3. MK travando MAC no cliente com roteador
    Por fmn127 no fórum Redes
    Respostas: 4
    Último Post: 03-11-2009, 14:06
  4. Compartilhar Edimax no cliente com dois micros
    Por marcelsalvador no fórum Redes
    Respostas: 9
    Último Post: 07-02-2009, 15:59
  5. Respostas: 28
    Último Post: 20-01-2008, 09:23

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L