Archive for the 'Windows Server 2003' Category

DHCP Scope Migration

So, I was thinking that I would write a script to transfer some DHCP scopes from one machine to another.  Well, wouldn’t you know…  there is already a tool to do that, and I didn’t even have to install software, just read a little article…


http://www.geekadmin.com/?p=13


I have Windows Server 2003.  So here is the pertinant part for me:


Use this command to export all scopes from the source machine:


netsh dhcp server export C:\dhcp.txt all


Install the dhcp server on the new machine and run this import command:


netsh dhcp server import C:\dhcp.txt all


After that authorize the dhcp server and that´s it!


Quick and easy.

Skip the “www”

I wasn’t familiar with how to get a website to repsond without the “www” in front, and when I went to do searches on it, I wasn’t too happy with the results.  So, I am creating this entry just to remind me how to do this simple little task.


To get a website to respond to the “domain.com” and the “www.domain.com”, using Windows 2003 Server for DNS and for IIS, the following are the steps to take:


1.  add a host header for “domain.com” and “www.domain.com” in IIS.


2.  add an “A” record for “domain.com” and “www.domain.com” in DNS.  (Note:  You can use an Alias(CNAME) for the “www” entry instead of a Host(A) record, but you have to enter an A record for “domian.com”.)


 


 

DHCP Console doesn’t open?

If you have a number of DHCP reservations or scopes, 87 specifically, you might have a problem opening the MMC snap-in.  It is ok if you have 86 or 88.  Apparently there is an “error 87” and if you have 87 reservations or 87 scopes the snap-in gets confused.  To fix it, you can call Microsoft for the Hotfix, wait for SP2 for Server 2003, or just use the command line to add a nother reservation or scope.  For more information, see the KB article below:


http://support.microsoft.com/Default.aspx?kbid=902954


 

winlogon.exe – Application Error

PROBLEM: Users unable to logon to W2k3 TS. There are 4 TS in a Citrix farm and once the problem happens the particular users can never logon. This issue is random and happens to only some users.


Error: Winlogon.exe – Instruction “0×75998902” Referenced memory at “0x0151036c”.  The memory could not be “read“.


 


The issue was fixed by Resetting the browser settings by right-clicking on “User Configuration/Windows Settings/Internet explorer maintenance” in Group Policy.

UPHClean

Can’t delete a user profile in Windows?  Try running this utility.  It runs as a service that removes hooks in the registry that fail to close automatically when a user logs off.

License Logging Service

Do you really need that license logging service?  Doesn’t look that way…


License Logging Service (LLS) is a tool that was originally designed to help customers manage licenses for Microsoft server products that are licensed in the Server Client Access License (CAL) model. LLS was introduced with Windows NT Server 3.51. By default, LLS is disabled in Windows Server 2003. Because of original design constraints and evolving license terms and conditions, LLS cannot provide an accurate view of the total number of CALs that are purchased as compared to the total number of CALs that are used on a single server or across the enterprise. The CALs that are reported by LLS may conflict with the interpretation of the End User License Agreement (EULA) and with Product Usage Rights (PUR). LLS will not be included in future versions of the Windows operating system.