martes, 13 de agosto de 2013

Installing and Using the Remote Server Administration Tools (RSAT) for Win Vista/Seven

Windows Vista now has a new toolset for managing a Windows Server 2008 enterprise. Once you follow the steps, you will be able to administer all of the new features of Windows Server 2008.

There are some things in life that will always be the same. Taxes will be due April 15 (in the US). The United States of America will always celebrate Independence Day on July 4th. Grant will always be buried in Grant's Tomb. And, Microsoft will continue to make decisions and provide solutions that make us all shake our heads. If you run Windows Vista, you were shaking your head and in many cases, very upset about the situation of not having the proper tools to perform administration of your Windows Server 2003 or Windows Server 2008 network and Active Directory environment. Now, with the recent release of the Remote Server Administrative Tools (RSAT), the wait is over. This article describes some idiosyncrasies, installation steps, and tools that are available in the new RSAT for Windows Vista.

Why do I need RSAT?

If you are running Windows Vista as your "administrative desktop", you will need to obtain RSAT to run the tools that administer Active Directory, network services, Group Policy, etc. The reason is that none of these tools come with Windows Vista out of the box.

Well, that is not 100% true. Microsoft made a decision to include Group Policy Management Console (GPMC) with Windows Vista. If this is the case, you might be wondering why you do not see the GPMC on your Windows Vista SP1 box now!? The reason is that the GPMC is removed when you install Windows Vista SP1. This was a decision that was made by the Group Policy team, in order to get all Vista computers to a common playing field so the NEW GPMC could be installed, which comes with RSAT.

Other tools that come along for the ride when you install RSAT include:

  • Active Directory Domain Services (AD DS) Tools
  • Active Directory Lightweight Directory Services (AD LDS) Tools 
  • Active Directory Certification Authority Tools
  • DHCP Server Tools 
  • DNS Server Tools 
  • Terminal Services tools 
  • Universal Description, Discovery, and Integration (UDDI) Services Tools 
  • Group Policy Management Tools 
  • Network Load Balancing Tools 

As you can see, if you want to administer your Windows domain with a client, you will need to install RSAT on Windows Vista.

Obtaining and Installing RSAT

First, you need to obtain RSAT. It is not that it is that hard to obtain, you just need to know you must go and get it. You can download it from Microsoft's download center.

Note:
There is a 32-bit and 64-bit installation version, so just make sure you download the correct one based on the version of Vista you are running.

Once you download RSAT, first make sure that you have installed Windows Vista SP1. You can download and install SP1 from here.

The installation of RSAT does take a while, so make sure you leave yourself enough time. Figure 1 shows you what you can expect to see while the installation occurs (not very interesting!).


Figure 1:
RSAT installing on Windows Vista

If you are running Windows XP, you will not be able to install RSAT on that OS. RSAT is only for Vista/7, as Vista can take advantage of the new tools and their features. If you want to administer your domain with Windows XP, you will need to install the Admin Pack, which can be downloaded from here or find it in de Windows 2003 Server DVD under i383/adminpak.msi.

It is noted that RSAT will install and function on the following versions of Windows Vista, which have SP1 installed:

  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Ultimate
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition

Getting to the RSAT Tools

After RSAT has been installed, you will need to get to the tools. As a result of trying to obscure access to tools that can cause damage, Microsoft has hidden some of the tools from your view by default. Follow these steps in order to access all of the tools within RSAT:

  1. Open up Control Panel, then click the Programs option, and finally under the Programs and Features area, click Turn Windows features on or off, as shown in Figure 2.


    Figure 2: Turning on or off Windows Features

  2. In the Windows Features dialog box, select the remote administration snap-ins and tools that you want to install.
  3. After you have selected all of your tools that you want to see, you will just click on the OK button.

Keep in mind that you have two different sections under the Remote Server Administrative Tools that you can toggle. The first set is labeled Feature Administration Tools and consists of the following tools, shown in Figure 3 as well:

  • BitLocker Drive Encryption Toools
  • Failover Clustering Tools
  • Group Policy Management Tools
  • Network Load Balancing Tools
  • Network Load Balancing Tools
  • SMTP Server Tools
  • Storage Manager for SANs Tools
  • Windows System Resource Manager Tools


Figure 3:
Feature Administration Tools available after RSAT installation

The second section is labeled Role Administration Tools and consists of the following options, also shown in Figure 4.

  • Active Directory Certificate Services Tools
  • (Certificate Authority Tools and Online Responder Tools)
  • Active Directory Domain Services Tools
  • (Active Directory Domain Controller Tools and Server for NIS Tools)
  • Active Directory Lightweight Directory Services Tools
  • DHCP Server Tools
  • DNS Server Tools
  • File Services Tools
  • (Distributed File System Tools, File Server Resource Manager Tools, and Share and Storage Management Tools)
  • Terminal Services Tools
  • UDDI Services Tools


Figure 4:
Role Administration Tools available after RSAT installation

Note:
It can take quite a long time to get these features configured on your system. So, plan for it… do not just think you will be able to click and go!

If you want to flood your Start menu with the Administrative Tools shortcuts, you will need to follow a different set of steps. Here they are:

  1. Right-click Start, and then click Properties. 
  2. On the Start Menu tab, click Customize. 
  3. In the Customize Start Menu dialog box, scroll down to System administrative tools, and then select Display on the All Programs menu and the Start menu. 
  4. Click OK. 

Now, you will have all of the Administrative Tools that you have enabled showing up on your Start Menu, similar to what is shown in Figure 5.


Figure 5:
Administrative Tools can be enabled to display on the Start Menu

Summary

If you have a Windows Server 2008 Active Directory based domain, it is in your best interest to utilize the tools that come with Windows Vista SP1 and RSAT. Heck, for that matter, if you are still using a Windows Server 2003 Active Directory domain, you will still benefit greatly from the tools that come with SP1 and RSAT. You will need to get your ducks in a row, installing the correct service packs, obtaining the RSAT, and then making sure you have access to the RSAT tools. However, once you get all of this completed, you will be set to start performing the administration on the network and within Active Directory.



Transformar varios archivos frameset anidados en un unico archivo frameset (HTML)

Supongamos que tenemos un archivo del tipo frameset llamado "index.html" y en la parte central linqueamos otro fremeset llamado "centro.html" (marcado en la imagen inferior con un reborde negro) y que en lugar de tener dos archivos del tipo frameset queremos tener un único archivo que contenga todos los frames de nuestra estructura (al cual llamaremos "index_nuevo.html")



Los códigos serian los siguientes:

index.html
<frameset rows="100,*,25" cols="*,900,*" framespacing="0" frameborder="no" border="0">
  <frame src="index_frames/top_left.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_top_left">
  <frame src="index_frames/cabezal.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="ftm_cabezal">
  <frame src="index_frames/top_right.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_top_right">
  <frame src="index_frames/left.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_left">
  <frame src="index_frames/centro.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_center">
  <frame src="index_frames/right.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_right">
  <frame src="index_frames/bottom_left.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_bottom_left">
  <frame src="index_frames/sub_cabezal.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_subcabezal">
  <frame src="index_frames/bottom_right.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_bottom_right">
</frameset>

centro.html
<frameset rows="24,*" framespacing="0" frameborder="no" border="0">
  <frame src="center_menu.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_menu">
  <frame src="center_body.html" frameborder="no" scrolling="auto" noresize="noresize" marginwidth="0" marginheight="0" id="frm_main_body">
</frameset>

Para transformar los dos archivos (index.html y centro.html) en un único archivo (index_nuevo.html) lo único que tendríamos que hacer es sustituir la linea de código del frameset principal (index.html) que apunta al frameset anidado (en nuestro caso center.html) por el código del frameset que tiene el archivo center.html. (ver abajo)

index.html

<frameset rows="100,*,25" cols="*,900,*" framespacing="0" frameborder="no" border="0">
  <frame src="index_frames/top_left.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_top_left">
  <frame src="index_frames/cabezal.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="ftm_cabezal">
  <frame src="index_frames/top_right.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_top_right">
  <frame src="index_frames/left.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_left">
  <frame src="index_frames/centro.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_center">
  <frame src="index_frames/right.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_right">
  <frame src="index_frames/bottom_left.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_bottom_left">
  <frame src="index_frames/sub_cabezal.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_subcabezal">
  <frame src="index_frames/bottom_right.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_bottom_right">
</frameset>

centro.html

<frameset rows="24,*" framespacing="0" frameborder="no" border="0">
  <frame src="center_menu.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_menu">
  <frame src="center_body.html" frameborder="no" scrolling="auto" noresize="noresize" marginwidth="0" marginheight="0" id="frm_main_body">
</frameset>


El resultado de sustituir la linea de index.hrml por la de centro.html seria la siguiente:

index_nuevo.html
<frameset rows="100,*,25" cols="*,900,*" framespacing="0" frameborder="no" border="0">
  <frame src="index_frames/top_left.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_top_left">
  <frame src="index_frames/cabezal.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="ftm_cabezal">
  <frame src="index_frames/top_right.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_top_right">
  <frame src="index_frames/left.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_left">
  <frameset rows="24,*" framespacing="0" frameborder="no" border="0">
    <frame src="center_menu.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_menu">
    <frame src="center_body.html" frameborder="no" scrolling="auto" noresize="noresize" marginwidth="0" marginheight="0" id="frm_main_body">
  </frameset>
  <frame src="index_frames/right.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_right">
  <frame src="index_frames/bottom_left.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_bottom_left">
  <frame src="index_frames/sub_cabezal.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_subcabezal">
  <frame src="index_frames/bottom_right.html" frameborder="no" scrolling="no" noresize="noresize" marginwidth="0" marginheight="0" id="frm_bottom_right">
</frameset>

De esta forma nuestra estructura de frames (frameset) esta compuesta ahora de un único archivo (index_nuevo.html) en lugar de dos frameset (index.html y centro.html).


viernes, 9 de agosto de 2013

Enable "Change Membership" on WSUS console

To enable Group Configuration in the WSUS console ("Change Membership" item), you need to Disable the following Group Policy item:

Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update -> "Enable client-side targeting"

Then go into your WSUS Console and choose the "Options" folder and then the "Computers" option.  In there, check the "Use the Update Services console" item and then you'll be able to move the computers around within the WSUS Console.

Open IIS Manager (IIS 7)

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

You can open IIS Manager if you want to configure IIS 7 settings by using the user interface (UI). This procedure assumes that you are viewing the Control Panel in the default Category view.

  1. Click Start, and then click Control Panel.

  2. Do one of the following:

    • If you are using Windows Vista® or Windows Server® 2008, click System and Maintenance, and then click Administrative Tools.

    • If you are using Windows® 7 or Windows Server® 2008 R2, click System and Security, and then click Administrative Tools.

  3. In the Administrative Tools window, double-click Internet Information Services (IIS) Manager.

  1. Click Start.

  2. In the Start Search box, type inetmgr and press ENTER.

If it doesn't work follow this:

You need to install the management console (for windows server 2008 r2)

1) Administrative Tools->Server manager:
2) (left hand side)Roles->Web Server (IIS):
3) (right hand side, probably need to scroll down): Add Role Services
4) find Management Tools and make sure it is selected and installed.

After this is done it will give you:Administrative Tools->Internet Information Services (IIS) Manager


viernes, 2 de agosto de 2013

Configuracion de WSUS via Group Policies {HOWTO}

En primer lugar lo recomendable es tener instalada la consola de administración de políticas (Group Policies Management Console) la podemos bajar gratuitamente del sitio oficial de Microsoft (Ver Links).

Lo mejor es hacer una política puntual para WSUS y que solamente configure WSUS, para ello abrimos la consola, como podemos ver en el siguiente screenshoot:

WSUS_GPO_01

Ingresamos el nombre de la política que vamos a crear:

WSUS_GPO_02

Ahora ubicamos la política en la consola, hacemos un clic con el botón derecho y seleccionamos Edit…

Nos dirigimos a Computer Configuration/Administrative Templates/Windows Components/Windows Update

En nuestro caso como seleccionamos la politica sobre el dominio radians.com.ar aplicara para todos los equipos en el. Debemos seleccionar y modificar las siguientes entradas:

  • Specify Intranet Microsoft Update service location que debe apuntar a nuestro server wsus.
  • Configure Automatic Updates" to "Notify to download and notify to install".

En el primer valor debemos ingresar la ruta de nuestro servidor web, en nuestro caso es http://SRVWSUS00:8530 ya que utilizamos un puerto puntual para ello.

WSUS_GPO_03

En la segunda entrada, indicamos como será la descarga, en nuestro caso indicamos que baje automáticamente el fix, pero que no lo instale hasta cierto momento.

Debemos tener en cuenta que algunos fixes consumen procesador, memoria y puede notarse en el rendimiento del equipo, por eso es mejor configurarlo para que ocurra en horarios de poca carga laboral.

WSUS_GPO_04

Estas son las principales políticas, pero también tenemos varias cosas que podemos configurar, les recomiendo que las lean y vean las características de cada una de ellas.

WSUS_GPO_05

También es bueno configurar que después de instalar un fix no reinicie la maquina de forma automática cuando hay algún usuario conectado.

WSUS_GPO_06

También podemos restringir el acceso a Windows Update para los usuarios, esto lo podemos hacer en habilitando la opción Remove links and access to Windows Update que se encuentra en User Configuration/Administrative Templates/Start Menu and Taskbar.



Configurar WSUS en cada cliente a traves de gpedit.msc






Forzar la actualización de directivas con GPUPDATE

Cuando trabajamos con directivas en ocasiones estas tardan bastante en propagarse por la red, esto puede resultar algo muy molesto en aquellas ocasiones en las que estamos aplicando directivas de forma masiva y es más molesto todavía cuando estas probando nuevas directivas que no sabemos exactamente que efecto pueden llegar a tener sobre los clientes.

Pero bueno, vamos a ver que modificadores nos interesan más de este comando y tras estos veamos algunos ejemplos de como debemos ejecutarlo.


target
force
boot

Antes de nada decir que este comando actualiza las directivas en el mismo equipo en el que se ejecuta por lo que si lo que queremos es actualizar todas las directivas en la red lo más aconsejable es mandar un reinicio masivo a todos los equipos de la red, y ahora si veamos de que forma ejecutar este comando.


gpudpdate

Esta es la forma sencilla del comando y actualiza las directivas locales y del dominio en el equipo local.


gpupdate /force

Mediante este modificador forzaremos la actualización de todas las directivas en el equipo local.


gpupdate /target:computer
gpupdate /target:user

Mediante este modificador podemos especificar si queremos actualizar las directivas referentes a "Computer" o a "User".


gpupdate /logoff

Este modificador fuerza un cierre de sesión tras la actualización, es necesario para todas esas directivas que al aplicarse requieren reiniciar la sesión del usuario.


gpupdate /boot

Similar al modificador anterior pero en este caso reinicia el sistema.

Para más información podemos ejecutar el siguiente comando:

gpupdate /?

O también visitar:

Microosft TechNet: Actualizar la configuración de directiva de grupo con GPUpdate.exe



Cambiar tamaño de fuente al reducir la ventana (HTML / CSS)

Cambiar el tamaño del texto a medida que se reduce el tamaño de la ventana (HTML5 / CSS3)   . container { border : solid 1px blue ; ...