Thursday, April 26, 2012

Protecting a non-domain server with DPM

To protect a server outside the DPM's domain:

  • First install the agent manually on the server, copy the installer from C:\Program Files\Microsoft DPM\DPM\agents\RA
  • Add a host entry on both the DPM and the server to be protected to allow name resolution of each other
  • On the server to be protected, navigate to C:\Program Files\Microsoft Data Protection Manager\DPM\bin and run this command
    • SetDpmServer.exe -dpmServerName backup -isNonDomainServer -userName svcdpm

  • From the DPM console go to the management tab, click the Install action and choose to "Attach agents" to a "Computer in a workgroup or untrusted domain"
  • Specify the name of the server and the username you created with the SetDpmServer command
  • The server now should appear in the Agents list

Sunday, March 4, 2012

Reset Windows 2008 R2 administrator password

This is the old trick of overwriting any app accessible at login screen (e.g. screen saver) with a command shell to reset the password

Wednesday, February 29, 2012

Configuring a guest Windows 2008 R2 Cluster on virtual machines with virtual shared storage

This is a lab environment I created of a virtual windows cluster with iSCSI virtual shared disk.
The setup consists of 3 Windows 2008 R2 VMs
  1. Active Directory and Storage Server: DC 192.168.1.10
  2. Cluster First Node: Node1 192.168.1.11
  3. Cluster Second Node: Node2 192.168.1.12

Monday, February 27, 2012

ACL permissions for IIS7 application pools

In W2K8R2/IIS7 application pools run by default under the builtin identitiy ApplicationPoolIdentity.
To grant ACL permissions to web applications running under these pools resolve names like this:

IIS APPPOOL\[APP POOL NAME]



Sunday, February 19, 2012

Windows 2008 Sysprep, Newsid

To prepare a Windows 2008 template image for cloning:
  • Run c:\Windows\System32\sysprep\sysprep.exe
  • Configure the dialog box as in the screenshot below
  • Create your image after the machine is shut down. Windows will reconfigure itself on the next boot.

Thursday, February 9, 2012

Manually merge Hyper-V Differencing Disks with Parent (Delete Snapshots)

If you have avhd differncing disks and you want to merge all data into a single vhd file but you do not see snapshots to delete in the Hyper-V console, follow these steps:

Monday, February 6, 2012

Shrink a VHD disk using VhdResizer

I have a Hyper-V virtual machine with a disk of size 127GB that I'm going to shrink to 70GB