Tuesday, May 08, 2007

Resetting local Administrator account passwords

I have come across a very useful site that contains an iso to create a boot disk that will allow you to reset a local administrator password.
Check out http://home.eunet.no/~pnordahl/ntpasswd
It uses a version of Linux to boot the pc, mount the NTFS disk and edit the section of the machines registry to reset the password to whatever you need

This is very useful in cases where the machine has fallen out of your active directory or the domain admin accounts password is not cached so you can log it on.

Easy Way to build a blade

If you business is anything like ours, you'll have racks full of blade server to look after. When it comes to setting them up in can sometimes be a pain. Recently we have been building our dell poweredge 1855's by re-creating the mirror from an existing server:

  1. First thing, make sure you change the local admin password on the source sever if you dont know it already.
  2. Pull the second disk out of the source server (normally 0:1), this will break the mirror.
  3. Pull both disks out of the server you want to build. Put one of the disks into the source server so it re-builds the mirror.
  4. Turn off the destination server. On the destination server, put the disk from the source server into the first slot (normally 0:0)
  5. Boot the server, go into the bios. and turn off the network cards so it wont conflict with the existing server
  6. Once the os has loaded, login, delete any network teams you might have setup, re-name the server to its new name and pull it out of the domain. Reboot.
  7. Before the server reboots, go into its bios again and re-enable its network
  8. When the os has loaded, login (you'll have to go in as the local admin, I hope you changed the password!), re-create any network team you might have and re-join the domain
Once you have done this you should have a copy of the source server, easy! The main problem with doing this was to re-create the mirror on the destination server. Normally you'd just put the disk back in and it would re-create the mirror.

Problem is you cant just put it back in and it re-mirrors because its already got a signature from the previous server.
Sometimes as the server comes up it will recognize the new disk and re-create the mirror, but sometimes you have to go into the controller card (ctrl+m on the dell) and set the new disk to be the secondary, it will warn you its going to blow the old disk away but just ok it and it should re-sync the disks.