Tuesday, January 29, 2013

Setting Server 2008r2 as authoritative time server


First, you need to locate the server with the PDC role. Open the command prompt and type:
netdom /query fsmo
   Look for the PDC line

Log in to your PDC server and open the command prompt.

Now Stop the W32Time service:
net stop w32time

Configure the external time sources, copy and paste:
w32tm /config /syncfromflags:manual /manualpeerlist:"0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org"

If it does not work the first time you paste you may need to replace the " marks.  So just hit the up arrow from the command line and delete the marks and put them back.

Now it's time to make the PDC a reliable time source for the clients:
w32tm /config /reliable:yes

Start the w32time service:
net start w32time

Check the external time server configuration by typing:
w32tm /query /configuration

DHCP migration - Fast and easy!

A friend show me a fast and easy way to migrate a DHCP server with all scope options and settings.  Thanks KB!

Go to your existing DHCP Server and open a command prompt.
Copy and paste the following command.
   netsh dhcp server dump > DHCPsetting.txt

This will dump all your settings into a text document.  You can now copy the document over to the new server.

Now go to your new DHCP server and add the DHCP server role to the server.  Open the text document and use the replace feature to replace the old ip address with the new one.  (don't forget about changing your ip helpers)  Once the find and replace is finished select all the text and copy it to the clipboard.

Finally open a command prompt and type netsh
Now all you need to do is paste all the text from the clipboard and voila your server is up and running.

Now is the time to confirm your new server is authorized and your old server deauthorized.

But wait, there are a bunch of devices out there with ip addresses.  Never fear captain reboot is here.  I prefer to bounce (reboot) the network switches.  So this is also a good time to make sure your ip helper addresses are correct in those switches.  Make sure the configuration is saved!!!  It shouldn't take very long and this is something you probably should be doing after hours anyhow.

.Net said .No so this says .Youbetterorelsebuddy

 I was having trouble with .net framework install on new computers.  I'm not sure why it didn't work repeatedly, but found that if y...