Your best source of information and news about drivers , windows and drivers on the internet Su mejor fuente de información y noticias acerca de los controladores, las ventanas y los conductores en el Internet

Vista ARTICLES Vista ARTÍCULOS TOP 50 TAPA 50 Spyware Virus Virus Spyware Vista SOFT Vista SOFT Vista HELP Vista AYUDA

Enable file and printer sharing using group policy Permitir compartir archivos e impresoras mediante Directiva de grupo


Since the release of Windows XP SP2 file and printer sharing has been blocked by default in the Windows firewall. Desde el lanzamiento de Windows XP SP2 compartir archivos e impresoras ha sido bloqueada por defecto en el Firewall de Windows.

This creates a problem for many of our tools and products. Esto crea un problema para muchos de nuestros productos y herramientas. For example, our remote Por ejemplo, nuestro remoto USB disabler USB disabler cannot do its work without remotely writing the appropriate registry keys. no puede hacer su labor sin la distancia adecuada escrito claves del Registro. Our Nuestro Remote Control product Control remoto del producto cannot automatically install its agent without file and printer sharing. no puede instalar automáticamente su agente sin compartir archivos e impresoras. They all use this to do their magic. Todos ellos utilizan esto para hacer su magia. We are not the only ones - Nosotros no somos los únicos -- psexec from SysInternals needs file and printer sharing too. SysInternals necesidades de compartir archivos e impresoras también.

There are hundreds if not thousands of tools used by IT administrators that require file and printer sharing enabled in the firewall. Hay cientos si no miles de instrumentos utilizados por los administradores de TI que necesitan compartir archivos e impresoras habilitada en el servidor de seguridad.

If you have 10 computers it is an easy fix. Si usted tiene 10 ordenadores, es una fácil solución. You simply walk around to each of them and add an exception in the firewall. Usted simplemente caminar alrededor de cada uno de ellos y añadir una excepción en el firewall. Simple. Done. Hecho.

If you have 100s of computers spread across 3 states...you now have a much more difficult problem. Si usted tiene 100s propagación de las computadoras en 3 estados ... ahora tiene uno mucho más difícil problema. You could write a script that executes at login. Usted podría escribir un script que se ejecuta en el inicio de sesión. The trouble with this idea is that every user would need full administrator access to their own machine. El problema con esta idea es que cada usuario tendría pleno acceso de administrador a su propia máquina. This type of access is getting pretty rare these days, so I don't even consider it an option. Este tipo de acceso se está haciendo bastante raro en estos días, por lo que ni siquiera se consideran una opción.

The best method is group policy. El mejor método es la política de grupo. I am going to walk you through it. Voy a caminar usted a través de él. My example uses Windows 2003 Server. Mi ejemplo se utiliza Windows 2003 Server. Those of you with 2008 will find that it is almost exactly the same. Aquellos de ustedes con el 2008 se encuentra que es casi exactamente el mismo. If you have 2000 Server...well...you have your hands full anyway and shouldn't even have time to read this article. Si usted tiene 2000 Server ... bueno ... usted tiene las manos y plena de todos modos no debería siquiera tienen tiempo para leer este artículo.

Start out by getting on your domain controller. Comienza por conseguir el controlador de dominio. Open "Active Directory Users and Computers". Abrir el "Active Directory Usuarios y equipos". You need to determine what group of machines your policy is going to be applied to. Es necesario determinar qué grupo de máquinas de su política va a ser aplicado a. Some organizations will have computers under many different OUs. Algunas organizaciones tienen computadoras en muchas diferentes OU.

To keep things simple I am going to change the group policy for the entire domain. Para mantener las cosas simples que voy a cambiar la política de grupo para todo el dominio.

Right click on the domain name and go to properties: Haga clic derecho sobre el nombre de dominio y vaya a propiedades:

Habilitar Compartir impresoras y archivos firewall GPO

This will bring up a properties window. Se abrirá una ventana de propiedades. 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. Usted quiere ir a la ficha Directiva de grupo, seleccione la política que desea editar (en nuestro caso es la directiva de dominio predeterminada) y pulse el botón Editar.

GPO Compartir impresoras y archivos de Firewall

This is a computer policy (It will apply to computers...not specific users), so drill down to: Se trata de un equipo (Se aplicará a los ordenadores ... no usuarios específicos), a fin de acceder a:

Computer Configuration -> Administrative Templates -> Network -> Network Connections -> Windows Firewall Configuración del equipo -> Plantillas administrativas -> Red -> Conexiones de red -> Firewall de Windows

GPO Firewall de la política

You will notice two sections under this area. Usted se dará cuenta de dos secciones en este campo. A domain profile, and a standard profile. Un perfil de dominio, y un perfil estándar. A machine will automatically determine which profile it should use by the type of network it is connected to. Una máquina determinará automáticamente el perfil que se debe utilizar por el tipo de red que esté conectado. Directly from Microsoft, they are defined in this way: Directamente desde Microsoft, que se definen de la siguiente manera:

* Domain profile The domain profile is the set of Windows Firewall settings that are needed when the computer is connected to the managed network. * El perfil de dominio de dominio perfil es el conjunto de configuración de Firewall de Windows que se necesitan cuando el ordenador está conectado a la red administrada. 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. Por ejemplo, el perfil de dominio puede contener la configuración de exceptuados de tráfico para las aplicaciones y los servicios necesarios gestionado por un ordenador en una red de la empresa.

* Standard profile The standard profile is the set of Windows Firewall settings that are needed when the computer is connected to another network. * El perfil estándar de perfil estándar es el conjunto de configuración de Firewall de Windows que se necesitan cuando el ordenador está conectado a otra red. 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 buen ejemplo es cuando una organización ordenador portátil se toma en la carretera y se conecta a Internet a través de un público de banda ancha inalámbrico a Internet o proveedor de servicios. Because the organization laptop computer is directly connected to the Internet, the standard profile should contain more restrictive settings than the domain profile. Debido a que la organización ordenador portátil está conectado directamente a Internet, el perfil debe contener más restrictiva que la configuración de perfil de dominio.


So generally speaking, I suggest only making these changes to the Domain Profile. Por lo tanto, en términos generales, sólo sugiero que estos cambios en el perfil de dominio. You don't want your sales guys hooking up to a hotel network with their file and printer sharing fully accessible. Usted no desea que sus ventas chicos conectar a un hotel con su red de compartir archivos e impresoras plenamente accesibles.

Selecting the domain profile, and looking on the right we see what we need - "Windows Firewall: Allow file and printer sharing exception" Seleccionar el perfil de dominio, y mirando a la derecha vemos lo que necesitamos - "Firewall de Windows: Permitir compartir archivos e impresoras excepción"

Firewall de Windows GPO Compartir impresoras y archivos

There are two items you need to set. Hay dos temas que será necesario establecer. First check the radio button to enabled, and then below you need to fill out a filter value. En primer lugar, compruebe el botón de habilitado y, a continuación, por debajo de lo que necesita para llenar un filtro de valor. This tells the group policy what computers are allowed to connect to the machine. Esto le dice al grupo lo que los equipos están autorizados a conectarse a la máquina. For our example I will put * Para nuestro ejemplo voy a poner *

GPO configuración del cortafuegos

This value allows any computer to connect. Este valor permite a cualquier ordenador para conectarse. Click OK, and allow some time to pass (15 to 30 minutes). Haga clic en Aceptar y permitir cierto tiempo para pasar (15 a 30 minutos). Then your computers will pick up the new policy. A continuación, los equipos se recoja la nueva política. If you are impatient you can go to the command line on the server and your test machine. Si está impaciente puede ir a la línea de comandos en el servidor y su máquina de prueba. Type: GPUPDATE /force Tipo: GPUpdate / fuerza

If I hop on one of my Vista machines we can see that it has accepted the policy: Si yo salto sobre una de mis máquinas de Vista podemos ver que ha aceptado la política:



Perfect. Perfecto. Now I can terrorize my programmers by rebooting all of their machines at the same time using Ahora puede aterrorizar a los programadores de mi reiniciando la totalidad de sus máquinas, al mismo tiempo, utilizando Network Administrator El administrador de la red :) :), Popularity: 1% Popularity: 1%


Written by Steve Wiseman. Escrito por Steve Wiseman. Read more great feeds at is source Leer más grandes se alimenta en la fuente WEBSITE SITIO WEB
no comments No hay comentarios . .
Read more articles on Leer más artículos sobre otherSoftware otherSoftware . .

Related articles Artículos relacionados

No comments No hay comentarios

There are still no comments on this article. Todavía no hay comentarios sobre este artículo.

Leave your comment... Deja tu comentario ...

If you want to leave your comment on this article, simply fill out the next form: Si quieres dejar tu comentario sobre este artículo, simplemente llene el siguiente formulario:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> . Puede utilizar estas etiquetas XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i > <strike> <strong>.