Archive for December, 2011

How to Rename Administrator Account on Windows 2000

Thursday, December 15th, 2011
  1. Start the Active Directory Users and Computers snap-in.
  2. In the console tree, right click your domain or the organizational unit that contains the group policy that you and and then click Properties.
  3. Click the Group Policy tab, select the group policy object that you want (Default Domain Policy) and the click Edit.
  4. Expand Computer Configuration, expand Windows Settings, expand Security Setting, expand Local Policies and the click Security Options.
  5. In the right pane of the Group Policy snap-in double click Rename administrator account.
  6. Click to select the Define this policy setting check box and then type the name to which you want to rename the Administrator account.
  7. Click OK.

Issues with IE8

Tuesday, December 6th, 2011

I have found that <DIV overflow-y: scroll> in IE 8 with Compatibility View enabled does not work properly.  The content that overflows the DIV continues to be rendered outside of the bounds of the DIV.  The solution to the problem is the disable Compatibility View.  To do that click the Tools menu in IE and uncheck Compatibility Views.

Providing an Automated Response to NET USE prompts

Tuesday, December 6th, 2011

If you have ever had to the use Windows NET USE command in a batch file, like I have, you will have noticed that occasionally it will notify you of some potential problem and then hang waiting for a response from the user.  This is aggravating but OK if you are running the batch file while you are sitting at the console, but it is a disaster if you are running the batch file in the background (as a scheduled task for instance).  In the latter case, the batch file just sits there forever waiting for a response that will never come.

It turns out that there are two undocumented options for the NET USE command that will automatically answer those annoying messages with a fixed response.  The two options are /Y and /N.  These options will respond to all prompts with Y or N respectively, allowing the batch file to continue.