Enable file and printer sharing using group policy Abilita condivisione di file e stampanti utilizzando Criteri di gruppo
Since the release of Windows XP SP2 file and printer sharing has been blocked by default in the Windows firewall. Dal momento che il rilascio di Windows XP SP2 condivisione di file e stampanti è stato bloccato per impostazione predefinita in Windows Firewall.
This creates a problem for many of our tools and products. Questo crea un problema per molti dei nostri strumenti e prodotti. For example, our remote Per esempio, il nostro telecomando USB disabler USB disabler cannot do its work without remotely writing the appropriate registry keys. non può fare il suo lavoro in remoto senza iscritto le opportune chiavi del Registro di sistema. Our Nostro Remote Control product Remote Control prodotto cannot automatically install its agent without file and printer sharing. non può installare automaticamente il suo agente, senza condivisione di file e stampanti. They all use this to do their magic. Hanno tutti lo uso per fare la loro magia. We are not the only ones - Noi non siamo i soli -- psexec from SysInternals needs file and printer sharing too. da Sysinternals ha bisogno di condivisione di file e stampanti troppo.
There are hundreds if not thousands of tools used by IT administrators that require file and printer sharing enabled in the firewall. Ci sono centinaia se non migliaia, di strumenti utilizzati da amministratori IT che richiedono condivisione di file e stampanti attivata nel firewall.
If you have 10 computers it is an easy fix. Se si dispone di 10 computer si tratta di una soluzione semplice. You simply walk around to each of them and add an exception in the firewall. È semplicemente a piedi attorno a ciascuna di esse e aggiungere un'eccezione nel firewall. Simple. Semplice. Done. Fatto.
If you have 100s of computers spread across 3 states...you now have a much more difficult problem. Se hai 100s di computer sparsi in 3 stati ... adesso avete una molto più difficile problema. You could write a script that executes at login. Si potrebbe scrivere uno script che viene eseguito al login. The trouble with this idea is that every user would need full administrator access to their own machine. Il problema con questa idea è che ogni utente dovrà disporre di un accesso amministratore pieno alla propria macchina. This type of access is getting pretty rare these days, so I don't even consider it an option. Questo tipo di accesso si sta piuttosto raro in questi giorni, quindi non prendere in considerazione anche un opzione.
The best method is group policy. Il metodo migliore è politica di gruppo. I am going to walk you through it. Io vado a piedi è attraverso di essa. My example uses Windows 2003 Server. Il mio esempio utilizza Windows 2003 Server. Those of you with 2008 will find that it is almost exactly the same. Quelli di voi con il 2008 che è quasi esattamente lo stesso. If you have 2000 Server...well...you have your hands full anyway and shouldn't even have time to read this article. Se si dispone di 2000 Server ... beh ... avete le mani pieno e comunque non dovrebbe anche avere il tempo di leggere questo articolo.
Start out by getting on your domain controller. Inizia da ricevere sul tuo controller di dominio. Open "Active Directory Users and Computers". Apri "di Active Directory Utenti e computer". You need to determine what group of machines your policy is going to be applied to. È necessario determinare quale gruppo di macchine per la vostra politica sta per essere applicato. Some organizations will have computers under many different OUs. Alcune organizzazioni hanno computer sotto diverse unità organizzative.
To keep things simple I am going to change the group policy for the entire domain. Per mantenere le cose semplici sto per cambiare la politica di gruppo per l'intero dominio.
Right click on the domain name and go to properties: Click destro del mouse sul nome di dominio e di andare a proprietà:

This will bring up a properties window. Questo porterà una finestra delle proprietà. You will want to move to the Group Policy tab, select the policy you want to edit (In our case it is the Default Domain Policy) and press the edit button. Si desidera spostare la scheda Criteri di gruppo, selezionare la politica che si desidera modificare (nel nostro caso è il criterio dominio predefinito) e premere il pulsante Modifica.

This is a computer policy (It will apply to computers...not specific users), so drill down to: Questo è un computer politica (Esso si applica ai computer ... non determinati utenti), in modo di visualizzare in dettaglio:
Computer Configuration -> Administrative Templates -> Network -> Network Connections -> Windows Firewall Configurazione computer -> Modelli amministrativi -> Rete -> Connessioni di rete -> Windows Firewall

You will notice two sections under this area. Si noterà due sezioni di questo settore. A domain profile, and a standard profile. Un profilo di dominio, e di un profilo standard. A machine will automatically determine which profile it should use by the type of network it is connected to. Una macchina automaticamente determinare quale profilo si dovrebbe utilizzare il tipo di rete è collegato. Directly from Microsoft, they are defined in this way: Direttamente da Microsoft, sono definiti in questo modo:
* Domain profile The domain profile is the set of Windows Firewall settings that are needed when the computer is connected to the managed network. * Il profilo di dominio profilo di dominio è l'insieme delle impostazioni di Windows Firewall che sono necessari quando il computer è collegato alla rete gestita. For example, the domain profile might contain settings for excepted traffic for the applications and services needed by a managed computer in an enterprise network. Ad esempio, il dominio profilo può contenere le impostazioni per il traffico eccetto per le applicazioni e dei servizi necessari gestito da un computer in una rete aziendale.
* Standard profile The standard profile is the set of Windows Firewall settings that are needed when the computer is connected to another network. * Standard profilo Il profilo standard è l'insieme delle impostazioni di Windows Firewall che sono necessari quando il computer è collegato a un'altra rete. A good example is when an organization laptop computer is taken on the road and connects to the Internet using a public broadband or wireless Internet service provider. Un buon esempio è quando un computer portatile organizzazione venga presa su una strada e si connette a Internet utilizzando un pubblico a banda larga senza fili o provider di servizi Internet. Because the organization laptop computer is directly connected to the Internet, the standard profile should contain more restrictive settings than the domain profile. Perché l'organizzazione computer portatile è collegato direttamente a Internet, il profilo standard dovrebbe contenere le impostazioni più restrittive rispetto al profilo di dominio.
So generally speaking, I suggest only making these changes to the Domain Profile. Quindi, in generale, suggerisco solo tali modifiche al profilo di dominio. You don't want your sales guys hooking up to a hotel network with their file and printer sharing fully accessible. Non volete che la vostra vendite ragazzi collegare fino a un albergo con la loro rete di condivisione di file e stampanti pienamente accessibili.
Selecting the domain profile, and looking on the right we see what we need - "Windows Firewall: Allow file and printer sharing exception" Selezione del profilo di dominio, e guardando a destra vediamo ciò di cui abbiamo bisogno - "Windows Firewall: consenti condivisione di file e stampanti eccezione"

There are two items you need to set. Ci sono due elementi è necessario impostare. First check the radio button to enabled, and then below you need to fill out a filter value. In primo luogo verificare il pulsante di opzione abilitata, e quindi al di sotto è necessario compilare un filtro di valore. This tells the group policy what computers are allowed to connect to the machine. Questo racconta la politica di gruppo quali computer sono autorizzati a connettersi alla macchina. For our example I will put * Per il nostro esempio Io porrò *

This value allows any computer to connect. Questo valore consente a qualsiasi computer per la connessione. Click OK, and allow some time to pass (15 to 30 minutes). Fare clic su OK, e consentire un po 'di tempo per passare (da 15 a 30 minuti). Then your computers will pick up the new policy. Quindi il tuo computer raccogliere la nuova politica. If you are impatient you can go to the command line on the server and your test machine. Se siete impazienti si può andare alla riga di comando sul server e la vostra macchina di prova. Type: GPUPDATE /force Tipo: GPUpdate / vigore
If I hop on one of my Vista machines we can see that it has accepted the policy: Se mi luppolo su una delle mie macchine Vista possiamo constatare che essa ha accettato la politica:

Perfect. Perfetto. Now I can terrorize my programmers by rebooting all of their machines at the same time using Ora posso terrorizzare i miei programmatori da riavviare tutte le loro macchine, allo stesso tempo utilizzando Network Administrator Amministratore di rete :) Popularity: 1% Popularity: 1%
Written by Steve Wiseman. Scritto da Steve Wiseman. Read more great feeds at is source Per saperne di più grande al feed è fonte WEBSITE SITO WEB
no comments nessun commento . .
Read more articles on Per saperne di più articoli su otherSoftware otherSoftware . .
- [+] Digg [+] Digg : Feature this article : Feature questo articolo
- [+] Del.icio.us [+] Del.icio.us : Bookmark this article : Aggiungi ai preferiti questo articolo
- [+] Furl [+] Furl : Bookmark this article : Aggiungi ai preferiti questo articolo















