jueves, 29 de marzo de 2012

Como exportar e importar una base de datos MYSQL desde consola

 

para exporta ejecutar:
mysqldump -h ip_servidor -u _bd -p basededatos>archivo.sql
Importando la base de datos
Si por el contrario ya tenemos nuestro archivo .sql y lo que queremos es importar nuestra base de datos, debemos hacer lo siguiente:
#Nos conectamos al servidor:
mysql -h ip_servidor -u usuario -p
#Creamos la base de datos:
create database prueba;
#Le decimos al motor cual BD usaremos:
use prueba;
#Ahora le damos la ubicacion de nuestro archivo .sql
source /home/usuario/Desktop/archivo.sql
Con esto habremos importado con exito nuestra base de datos a otro servidor, cabe aclarar que hay aplicaciones que hacen mucho mas facil el proceso como (phpmyadmin), pero no esta de mas saberlo hacer a mano.

Versiones windows 2008 r2

http://www.microsoft.com/en-us/server-cloud/windows-server/2008-r2-editions.aspx

Cambiar spool impresion

http://www.ajpdsoft.com/modules.php?name=News&file=article&sid=282

Automatizar restauracion bbdd en SQL

USE master
GO
ALTER DATABASE YourDB SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO


RESTORE DATABASE YourDB FROM DISK=N'D:\Backup\Pristine.BAK' WITH  FILE = 1,  
NOUNLOAD,  REPLACE,  STATS = 10
GO
ALTER DATABASE YourDB SET MULTI_USER
GO

Creador de temas para Sharepoint 2010

http://connect.microsoft.com/ThemeBuilder

Blogs para Sharepoint

http://aiturralde.com/

Instalar msi en server core

To install a MSI file using the PowerShell use the command

msiexec /i "Path\PackageName"

To uninstall a MSI file using the PowerShell use the command

msiexec /x "Path\PackageName

Backup en server core

wbadmin start backup -backuptarget:\\nombrerecurso -allCritical -VSSfull -quiet

Comandos server core

http://technet.microsoft.com/en-us/library/cc742083(WS.10).aspx

Administracion server core

http://technet.microsoft.com/es-es/library/cc753802(WS.10).aspx#bkmk_adminservercore

Programador tareas server core

administrar programador de tareas desde línea de comando

Los administradores de Windows pueden manejar fácilmente las tareas programadas utilizando la herramienta de línea de comandos ejecutando schtasks.exe que está disponible en los sistemas operativos Windows XP/2003/2008/2008R2/7. En este artículo vamos a ver cómo se puede consultar, crear, modificar, borrar y ejecutar las tareas programadas en el equipo local, así como equipos remotos.



Ahora vamos a ir por a la lista de tareas donde podemos realizar con la utilidad schtasks de la línea de comandos algunas ejemplos.

Crear una tarea programada para ejecutar el bloc de notas todos los días a las 11:00 a.m.

C:\> schtasks /create /TN “Ejecutar el Bloc de notas” /TR notepad.exe /SC DAILY /ST 11:00:00

Nota: Aquí en el ejemplo anterior, estamos mencionando cualquier cuenta de usuario. Pero la ejecución de este comando tratará de realizarlo con las credenciales de la cuenta que haya iniciado sesión, y se pedirá que introduzca usuario y contraseña.

En el caso, que desea crear una tarea programada con cuenta de usuario específica hay que pasarlos como argumentos en la línea de comando.

C:\>schtasks /create /TN “Ejecutar el Bloc de notas” /TR notepad.exe /SC DAILY /ST 11:00:00 /RU domain\username /RP contraseña

Hemos terminado con la creación de tareas programadas.

Ahora, vamos a ver cómo la lista de tareas programadas se ejecuta en el sistema local y remoto.

Consultar lista de tareas programadas en la computadora local.

C:\>schtasks /query

Esto lista todas las tareas programadas que se están ejecutando en la computadora local.

Ejecutar una tarea programada manualmente:

Si nosotros queremos ejecutar una tarea programada manualmente independientemente de su horario planeado, lo podemos hacer de la siguiente forma.

C:\>schtasks /run /TN “Ejecutar Bloc de notas”

Esto activa el comando que se configuro en la tarea programada (en nuestro ejemplo: El bloc de notas).


Modificar una tarea programada:

Ahora veremos cómo modificar las tareas programadas. Vamos a ser capaces de modificar sólo algunos parámetros con esta esta utilidad, el programa de ejecución, nombre de usuario y contraseña utilizada por la tarea programada. Además vamos a ver cómo podemos cambiar el programa a ejecutar.

C:\> schtasks /change /TN “Ejecutar Bloc de notas” /TR cmd.exe

En este ejemplo hemos cambiado el programa de ejecución notepad.exe por el cmd.exe

Borrar tareas programadas:

Debajo se encuentran algunas formas en la que podemos borrar una tarea programada.

Ejemplos:

SCHTASKS /Delete /TN * /F
SCHTASKS /Delete /TN “Copias de seguridad”

Como se puede observar en el ejemplo de arriba, la opción /F fuerza el borrado. Esto es necesario si la tarea está en ejecución o la misma no responde.

Detener y ejecutar una tarea programada:

Si el programador de tareas se está ejecutando por largo tiempo y nosotros queremos detenerlo entonces podemos usar el parámetro /END.
Un ejemplo sería el siguiente:

C:\>schtasks /END /TN “Ejecutar Bloc de notas”

Si usted desea realizar cualquiera de estas operaciones en un servidor remoto o equipo remoto, se debe utilizar el parámetro /S en el comando. Por ejemplo si queremos consultar la lista de tareas programadas en un equipo remoto ejecutamos el siguiente comando.


C:\>schtasks /query /S remotehost

Conclusión: Ha sido un breve resumen de todas las operaciones que podemos hacer con el comando schtasks, por más información se puede colocar schtasks /? y nos mostrará un listado completo de opciones.

Repositorio Scripts

http://poshcode.org/


http://gallery.technet.microsoft.com/ScriptCenter/

comandos 7zip

7z a -t7z d:\bck_rar\bd.7z D:\bck_rar\bd_aa.mdb

http://www.dotnetperls.com/7-zip-examples

Script para certificados iis

certutil -importpfx -p CONTRASEÑA e:\approot\nombrecertificado.pfx

 netsh http add sslcert ipport=0.0.0.0:443 certstorename=MY certhash=VALORHASH appid={VALOR}

 
%systemroot%\system32\inetsrv\appcmd.exe set site nombresitioweb /+bindings.[protocol='https',bindingInformation='*:443:']



Cambiar valor key_buffer_size

Editar archivo /etc/my.cnf

buscar valor key_buffer_size y cambiar al valor deseado.

reiniciar servidor mysqld​

administracion remota office 365

http://philwicklund.com/blog/Pages/Using-remote-PowerShell-to-manage-Office-365-identities.aspx

Management Pack Azure para SCOM

http://oakleafblog.blogspot.com/2011/09/installing-systems-center-monitoring.html

http://oakleafblog.blogspot.com/2011/09/configuring-systems-center-monitoring.html

Blogs SCOM

http://opsmgrunleashed.wordpress.com/

Script Automatic login live edu



# Autentiseringsinfo
$username = " admin@yourdomain.no This e-mail address is being protected from spambots. You need JavaScript enabled to view it "
$password = ConvertTo-SecureString -AsPlainText "yoursecretpassword" -Force
$liveCred = New-Object System.Management.Automation.PSCredential $Username, $Password

# Connect
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection

# Import the session to the shell
Import-PSSession $Session

# Do something...
Get-Mailbox

# The PS way of pausing the script...
Write-Host "Press any key to continue ..."
$x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")


#End the session

Get-PSSession | Remove-PSSession

Script crear grupos distribucion live edu

http://www.userdel.com/post/11041734907/create-distribution-groups-in-live-edu-with-powershell

SSO Live Edu

http://liveedusso.codeplex.com/

Linux para rdp

http://pctsc.ponderworthy.org/

Importar sql mysql

mysql -u username -p -h localhost DATA-BASE-NAME < data.sql

Migrar Openx

Tip #17: Moving OpenX


A question that is often asked about the OpenX ad server is how to move the installation. Generally, this means one of two things — either how to move the installation from one server to another, or how to change the domain name that OpenX is installed on.

Moving server

Moving an OpenX ad server installation from one server to another is a relatively straightforward task, provided you don’t want to get too fussy and technical about it. The following approach for moving an OpenX installation to a new server is a simple, quick and easy way to get an installation moved.
  • Ensure that your new server is set up with MySQL, a web server, PHP, etc. and is configured and working1.
  • Backup your OpenX database on the old server.
  • Restore the database on the new server2.
  • Backup the entire OpenX ad server directory on the old server.
  • Restore the entire OpenX ad server directory on the new server. Double check that the read/write permissions of the files have not been altered3.
  • If required, backup the entire OpenX banner directory on the old server.
  • If required, restore the entire OpenX banner directory on the new server. Double check that the read/write permissions of the files have not been altered4.
  • Test logging into and using OpenX, on the new server.
  • Test banner delivery on the new server.
  • Change to use the new server in production!
Unfortunately, this approach does have a down side, in that once the OpenX database has been backed up in the second step, any changes to the database, including all data recorded by OpenX for banner delivery on the old server while the migration is “in progress”, will be lost.

Moving domain

Moving an OpenX ad server installation from one domain to another is very straight forward.
  • Change your web server software to the new domain.
  • Re-name your OpenX configuration file. For example, if your OpenX installation used to be on “www.example.com” and you are moving it to “www.newsite.com”, you would have a configuration file in the OpenX “var” folder called “www.example.com.conf.php”, which needs to be re-named to “www.newsite.com.conf.php”.
  • Edit the re-named configuration file. In the [webpath] section, update the admin, delivery, deliverySSL, images and imagesSSL sections to use the new domain.
  • Edit any other configuration files, including the “default.conf.php” file. These files may contain a “realConfig” item, which is a reference to the “master” configuration file. Update to the new domain name as required.

Moving server and domain at the same time

The Guru does not recommend that you do this. If you need to move server and you need to move domain name, do one first, and then do the other. Give yourself a day or two between each of the two steps, to really make sure that everything is working fine after the first step, otherwise if you end up with a problem, it won’t be possible to determine which change might be responsible!

Permisos openx y php.ini

File permission errors have been detected, and must be fixed before you can continue.
To fix the errors on a Linux system, try typing in the following command(s):
sudo chmod -R a+w /var/www/html/openx/var
sudo chmod -R a+w /var/www/html/openx/var/cache
sudo chmod -R a+w /var/www/html/openx/var/plugins
sudo chmod -R a+w /var/www/html/openx/var/templates_compiled
sudo chmod -R a+w /var/www/html/openx/plugins
sudo chmod -R a+w /var/www/html/openx/www/admin/plugins
sudo chmod -R a+w /var/www/html/openx/www/images
For more help, please see the
OpenX documentation.


Ampliar en el php.ini

Upload_max _size 1000M

Memory_limits 256M

Post_max_upload

Variables mysql

http://forums.mysql.com/read.php?22,393899,393899

Asignar permisos sudoers

Asignar privilegios a usuarios o grupos con sudoers – I


Pero antes de nada, explicaremos en que consiste realmente el comando sudo:
El comando sudo otorga privilegios que permiten suplantar al administrador del sistema (root).
Los usuarios o grupos de usuarios que tienen derecho a hacerlo se encuentran en el fichero sudoers.
De modo que editando este fichero, podremos declarar quienes pueden.
Antes de editar el fichero sudoers, tomaremos la precaución de hacer una copia:
[$] sudo cp /etc/sudoers /etc/sudoers.copia
Para editar el fichero /etc/sudoers tenemos que usar el comando [$] visudo que nos permitirá modificar el fichero con el editor vi.
Puesto que a muchos usuarios no les gusta usarlo, a continuación explicaré que hay que hacer para usar nuestro editor preferido:
Si intentamos editar el fichero /ect/sudoers con cualquier editor, por ejemplo:
[$] sudo gedit /etc/sudoers
Podremos comprobar que el fichero no es modificable (solo-lectura), por lo que deberemos ejecutar antes: [$] sudo chmod u+w /etc/sudoers
En el apartado identificado como: “# User privilege specification” al final del fichero, es el lugar indicado para asignar permisos.
usuario-grupo MAQUINA=(Usuario_con_privilegios)=COMANDO
Las opciones de ejecución son diversas y nos permiten regular con un nivel de seguridad el comportamiento de ciertas aplicaciones a la hora de ser invocadas.
Pero nos quedaremos con el uso de NOPASSWD (evita que se nos solicite la contraseña).
En el fichero, podremos observar como existe una línea similar a la siguiente:
root ALL=(ALL) ALL
El usuario root cuenta con acceso total al sistema, previo reconocimiento de su contraseña.
Los usuarios se pueden escribir en distintas líneas o separados por comas.
Para conceder el control total a los usuarios albireo y lycoris, solicitando la contraseña deberemos escribir:
albireo, lycoris ALL=(ALL) ALL
No obstante, para que no se solicite la contraseña: ALL=(ALL) NOPASSWD: ALL
Y si deseamos conceder permisos a nivel de grupo, deberemos escribir % antes de su nombre:
%proyecto_lyc ALL=(ALL) ALL
Una vez hemos terminado de editar el fichero:
Si hemos usado visudo, escribimos :wq
Si hemos usado otro editor (por ejemplo: gedit), guardamos el fichero y ejecutamos la siguiente línea para devolver el fichero a su estado habitual:
[$] sudo chmod u-w /etc/sudoers

Instalacion y configuracion de apache

http://www.linuxparatodos.net/portal/staticpages/index.php?page=como-apache



http://www.linuxparatodos.net//web/comunidad/base-de-conocimiento/-/wiki/Base%20de%20Conocimiento/Servidor+Web+Apache+en+CentOS#section-Servidor+Web+Apache+en+CentOS-InstalandoElServidorWebApache-2

Instalacion phpmyadmin en centos

[HOWTO] Install phpMyAdmin in CentOS 5

September 25th, 2010 Permalink
I am using CentOS 5 in one of my Virtual Servers and I wanted it to have phpMyAdmin. I tried installing it by doing yum install phpmyadmin but it said No package phpmyadmin available. So I add to add a repo. I discovered that rpmforge repo had this package. To add it, I executed the [...]

I am using CentOS 5 in one of my Virtual Servers and I wanted it to have phpMyAdmin. I tried installing it by doing yum install phpmyadmin but it said No package phpmyadmin available. So I add to add a repo. I discovered that rpmforge repo had this package. To add it, I executed the following commands:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
rpm -Uhv rpmforge-release-0.5.1-1.el5.rf.i386.rpm
If you have 64-bit version installed, you should try this one out:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
rpm -Uhv rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
If you get a 404 Not Found, then you will need to figure out the latest updated version of repo url from rpmforge usage page.
After that, you may like to update your packages by doing this:
yum update
and then continue installing phpmyadmin
yum install phpmyadmin
It should ask you for confirmation and you can continue installing phpMyAdmin with dependencies.
When installation is done, you can edit /etc/httpd/conf.d/phpmyadmin.conf and allow it to be opened from anywhere and not just the same computer. You are going to need this if you have installed it in a remote virtual server.
To do so, open up /etc/httpd/conf.d/phpmyadmin.conf using:
nano /etc/httpd/conf.d/phpmyadmin.conf
You will see:
<Directory "/usr/share/phpmyadmin">
  Order Deny,Allow
  Deny from all
  Allow from 127.0.0.1
</Directory>
Just change the line “Allow from 127.0.0.1″ to “Allow from [yourip]“, where [yourip] is IP address of your computer if you have public static IP. Otherwise, you can also set it to “Allow from all”.
Press Ctrl+O followed by Enter to save and Ctrl+X to exit nano.
Now, you must restart apache. To do so, run
service httpd restart
Now, you can access phpMyAdmin by visiting http://vps_server_IP_or_domain/phpmyadmin. But you will get the following error:
Error
The configuration file now needs a secret passphrase (blowfish_secret).
To make it work, you will need to edit config.inc.php. To do so, type in:
nano /usr/share/phpmyadmin/config.inc.php
Find a line saying:
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS
FOR
COOKIE AUTH! */
Fill in any secret keyword there, eg mysecretpassphrase, so that it looks like:
$cfg['blowfish_secret'] = 'mysecretpassphrase'; /* YOU MUST FILL IN THIS
FOR
COOKIE AUTH! */
and then save it.
If you don’t have mysql server installed, you will get the following error:
Error
#2002 – The server is not responding (or the local MySQL server’s socket is not correctly configured)
To install mysql-server, just run:
 yum install mysql-server
and then start it:
 service mysqld start
Then change the root password:
mysqladmin -u root password PASSWORD_HERE
Now, you will have to remove phpmyadmin:
yum remove phpmyadmin
and reinstall it again:
yum install phpmyadmin
Then you will need to edit the config.inc.php again to enter blowfish secret (see above). Then, you can login.
If however, you want phpMyAdmin to connect to a remote server, you can change the line by replacing localhost with your server IP:
$cfg['Servers'][$i]['host'] = 'localhost';
Hope this helps.

Actualizar version php centos


WARNING: php version 5.2.6, as described later in this document is obsolete and prone to security issues. Please consider either upgrading to php53 as included in CentOS 5.6 or use the IUS Community Repo

Summary

This guide describes how to upgrade the standard PHP 5.1.x packages in CentOS 5.x 32-bit to the current development versions 5.2.x. These instructions were created using CentOS 5.3 32-bit and with the following PHP packages installed:
# rpm -qa |grep php

 php-common-5.1.6-15.el5.i386
 php-cli-5.1.6-15.el5.i386
 php-5.1.6-15.el5.i386
 php-pdo-5.1.6-15.el5.i386
 php-bcmath-5.1.6-15.el5.i386
 php-ldap-5.1.6-15.el5.i386
 php-devel-5.1.6-15.el5.i386
 php-gd-5.1.6-15.el5.i386
 php-xml-5.1.6-15.el5.i386
 php-mbstring-5.1.6-15.el5.i386
 php-mysql-5.1.6-15.el5.i386
 php-dba-5.1.6-15.el5.i386
As long as you're using the standard PHP packages on your CentOS server you won't need to do anything extra. If you're using extra PHP packages that aren't part of the standard CentOS repositories (like php-mcrypt) you'll have to remove them or find updated versions of them.

Add the development repositories

First thing we need to do is add the development repositories to yum. When we add the development repository we're going to configure it so it only pulls PHP packages. To start we'll need create a new yum repository configuration file (use your favorite editor):
 # /etc/yum.repos.d/CentOS-Testing.repo
Copy/paste the following into this file:
  # CentOS-Testing:
  # !!!! CAUTION !!!!
  # This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.
  # They may or may not replace core CentOS packages, and are not guaranteed to function properly.
  # These packages build and install, but are waiting for feedback from testers as to
  # functionality and stability. Packages in this repository will come and go during the
  # development period, so it should not be left enabled or used on production systems without due
  # consideration.
  [c5-testing]
  name=CentOS-5 Testing
  baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
  enabled=1
  gpgcheck=1
  gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
  includepkgs=php*
Make sure to remove any spaces at the start of each line, then save and close the file and you're done.

Update PHP packages

Before updating your PHP packages you'll want to get a list of what you currently have installed. To get a list of current PHP packages run the following:
 # rpm -qa |grep php
Now you can use yum to update the PHP packages on your system:
 # yum update
You should be shown a list of packages that are going to be updated. Compare it to the list of PHP packages on your system. Note any packages that are not in the list. You'll need to remove these packages or find updates for them because they won't work after you update to PHP 5.2.x. If that is acceptable type "y" to continue and let yum update the packages.
Once yum has completed restart Apache:
 # service httpd restart
To verify the update is working create a simple testing.php in your www directory with the following source code:
<?php
  phpinfo();
?>
and open it in a web browser. The new PHP version should be reflected at the top of the page.

Conclusion

You should now have PHP 5.2.6 running on CentOS 5.3 32-bit.
 # rpm -qa |grep php

  php-cli-5.2.6-2.el5s2
  php-mbstring-5.2.6-2.el5s2
  php-devel-5.2.6-2.el5s2
  php-pdo-5.2.6-2.el5s2
  php-gd-5.2.6-2.el5s2
  php-dba-5.2.6-2.el5s2
  php-common-5.2.6-2.el5s2
  php-bcmath-5.2.6-2.el5s2
  php-xml-5.2.6-2.el5s2
  php-pear-1.5.1-2.el5s2
  php-ldap-5.2.6-2.el5s2
  php-5.2.6-2.el5s2
  php-mysql-5.2.6-2.el5s2


 # php -v

  PHP 5.2.6 (cli) (built: Sep 15 2008 20:42:05)
  Copyright (c) 1997-2008 The PHP Group
  Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
Note: If your "php -v" output returns errors about PDO or JSON click here

Extras

Updating/Installing mcrypt

If you have php-mcrypt for PHP 5.1.x installed you'll want to remove it:
Note: Your version number maybe different. Alter below command accordingly.
 rpm -e php-mcrypt-5.1.6-15.el5.centos.1
Download php-mcrypt for PHP 5.2.x and install it. You can find a 32-bit php-mcrypt package here FedoraJunkies.
Note: You'll notice the "--nodeps" flag in the example. When you try to install php-mcrypt without it you get an error that php-common-5.2.6-2.el5s2 is missing even though it is installed.
 wget -c http://sourcemirrors.org/scotth/centos/5/php/php-mcrypt-5.2.6-2.i386.rpm
 rpm -i --nodeps php-mcrypt-5.2.6-2.i386.rpm
Restart Apache and you should now see mcrypt information on your testing.php page.

JSON and PDO being loaded twice

When you run the command "php -v" you might see the following errors:
 # php -v

  PHP Warning:  Module 'json' already loaded in Unknown on line 0
  PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
  PHP 5.2.6 (cli) (built: Sep 15 2008 20:42:05)
  Copyright (c) 1997-2008 The PHP Group
  Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
This is caused by the following two lines in the /etc/php.ini file:
; Extension JSON
extension=json.so

; Extension PDO
extension=pdo.so
Comment out these lines by adding a ";" in front of "extension=". These two modules are already loaded via these two files:
/etc/php.d/json.ini
/etc/php.d/pdo.ini

Instalar mysql centos

http://www.alcancelibre.org/staticpages/index.php/como-mysql-quickstart

Simulador de licencias

http://www.microsoft.com/spain/technet/licencias/default.aspx?page=disque

Certificados Wildcard

http://www.guillesql.es/Articulos/Certificados_Wildcard_Certificates_IIS6_CA.aspx

http://www.igalvit.es/2010/05/crear-un-certificado-wildcard-para-un.html

Ampliar vhd para hyperv en server core

Desde la maquina con vhsresize instalada ampliarlo y luego hay que dar permisos a todos para que se modifique el disco y tenga permisos ya que el articulo de microsoft no funciona

Para resolver este problema, agregue el SID de la máquina virtual al archivo de disco duro virtual (.vhd) o en el archivo de instantánea (.avhd).

Para agregar el SID de la máquina virtual a un archivo .vhd o .avhd, siga estos pasos:
  1. Tenga en cuenta el ID de máquina virtual que se enumeran en la "‘ acceso general denegado error ’ (0 x 80070005)" mensaje de error.

    Por ejemplo, considere el siguiente mensaje de error:

    ‘ VMName ’: IDE/ATAPI cuenta no tiene privilegios suficientes para abrir el archivo adjunto
    ‘ E:\VMs\VMName\Disk0.vhd. Error: ‘ acceso general denegado error ’ (0 x 80070005). (Virtual
    ID de máquina 5FC5C385-BD98-451F-B3F3-1E50E06EE663)

    En este ejemplo, el ID de máquina virtual es 5FC5C385 - BD98 - 451F - B3F3 - 1E50E06EE663.
  2. Abra un símbolo del sistema con privilegios elevados.
  3. Para conceder el acceso de identificador de la máquina virtual (SID) para el archivo .vhd o .avhd, escriba el comando siguiente y, a continuación, presione ENTRAR:
    icacls< Ruta de acceso del archivo .vhd o .avhd >/GRANT "NT VIRTUAL MACHINE\< ID de Máquina Virtual en el paso 1 >": F

    Por ejemplo, para utilizar el ID de máquina virtual que se anotó en el paso 1, escriba el comando siguiente y, a continuación, presione ENTRAR:
    icacls "E:\VMs\VMName\Disk0.vhd"grant"NT VIRTUAL MACHINE\5FC5C385-BD98-451F-B3F3-1E50E06EE663": F
Utilizacion vhdresize
http://www.windows7hacker.com/index.php/2010/01/how-to-resize-vhd-to-get-more-space-for-your-virtual-machine/

Actualizar a Exchange 2010

http://www.networkworld.com/community/node/47778
http://www.commodore.ca/windows/exchange/how_to_upgrade_exchange_2007_to_exchange_2010_in_2hours.htm
http://technet.microsoft.com/en-us/library/bb691354.aspx

error de version de esquema
http://social.technet.microsoft.com/wiki/contents/articles/2772.exchange-schema-versions-common-questions-answers.aspx

Administracion buzones Exchange

http://technet.microsoft.com/es-es/library/dd297937.aspx

Configuracion acs adfs

Requisitos:
-certificado wildcard
-permisos del usuario del pool.
-encabezados
-abrir 443
-http://vimeo.com/25082772

Configuracion autenticacion chrome para azure

Integrated Windows Authentication (IWA). IWA is configured in IIS to use Extended Protection for Authentication (EPA). If you turn it off Chrome should work.

•Start > Administrative Tools > IIS Manager
•Expand: <server-name>, Sites, Default Web Site, and adfs
•Select the ls application and double-click Authentication
•Select Windows Authentication and select Advanced Settings....
•Set Extended Protection to Off and click OK