Hyper-V Networking and Configuration Part III

A configuration of  Hyper-V networking across two or more Hyper-V Hosts is  the most complex type. It  needs to be configured according to the business rules and communication between Virtual Machines and the Hyper-V Parent Partition is best configured with VMBUS and VSP/VSC components. Nirmal explains how best to do it

The article goes live here:

http://www.simple-talk.com/sysadmin/virtualization/microsoft-hyper-v-networking-and-configuration—part-iii/

Enojy reading!

Tip – DNS Client Behavior in Windows Vista and Server 2008

Microsoft developers have changed the functionality of many of Windows’ components. DNS is one of them. A DNS client component running on a Vista computer behaves differently than it did in previous versions of Windows.

This tip explains the behavior of the DNS client component in Windows Vista for DNS queries and registrations.

Read more here…

http://www.serverwatch.com/tutorials/article.php/3781556

My community solutions at Microsoft support site.

556070 How To Create A Second Home Folder On A Remote Server

556069 Backup EXEC Issue with ISA Server 2006.

556068 How Does Network Load Balancing Algorithm Works Internally

556067 Network Load Balancing – Concept and Notes.

556066 McAFee File System Filter Drivers May Cause STOP Error on Windows Server 2003

556034 How to check Directory Service Log using a CMD Script

556028 Windows can not load user profile for newly created users

556027 How to refresh the Group Policy Settings on remote computers

556025 How to manually create Default Domain GPO

556024 How to check System Boot partition and Boot.ini option using a script

556023 How to retrieve a list of shared folders shared using a script

556022 How to check and set Task Scheduler Log options and path using a script

556021 How to check the Processor Vendor and MHZ speed on Remote Computer

556020 How to verify the Page File location using a script

556019 How to check the Internet Explorer version on Remote Computer

556018 How to check and set Default Home Page URL using a script

556017 How to check System BIOS Date and System BIOS Version on Remote computer

556016 How to make sure AutoCheck is enabled on Remote Computer

556014 How to Create A Service Dependable on Another Service.

556013 How to find the DNS Name of a domain

556012 How To Check What All Programs Will Run When User Logged On To Computer.

556011 How To Check If All The Computers Running On Network Are Using Default Windows Shell.

556010 How To Check Crash Control Settings On Remote Computer

556009 How To Check If Computer Is Running A 32 Bit or 64 Bit Operating System.

556008 How To View The Available Servers On A NetWare Network Using Command Line

556007 What Is The Difference Between Login Scripts, Computer and User Logon Scripts / Programs

556006 SRV Records Of Domain Controller In DNS Domain Zone

556005 A Message Can Not Be Sent Using Net Send Command

556004 Net Config Server command.

556003 Net Commands On Windows Operating Systems

556002 How To Reregister SRV records of a Domain Controller In DNS Zone

556001 How To Delete All The Active Connections From Local Computer.

556000 DNS or other Services works on both TCP and UDP

555999 How To See the Print Jobs On A Remote Computer Using Command Line

555998 Client Machines Are Taking Too Long To Log On To The Domain

555997 How to find the Actual Logon Domain Name of a Client Computer

555996 Windows Does Not Boot In Normal Mode – Driver Issue

555995 A GPO Will Have In Effect For Client Computers Not Connected To Network.

555994 A short explanation on Garbage Collection Process of Active Directory

555993 Microsoft DNS Server in Production Environment – Benefits.

555992 Changing Static IP Address of Client Computers to DHCP and Vice-Versa.

555991 Group Policy Object (GPO) Rules.

555989 Windows Update Not Working.

555988 Checking Operating System Version and Copying Customized MSGINA.dll file.

555986 How to Delegate Basic Server Administration To Junior Administrators.

555985 Configuring Time Service – A short explanation.

555984 Disaster recovery plan for Roaming Profiles (Without clustering in effect).

555983 GPO to close off all the applications before taking backup.

555982 Group Policy Troubleshooting – Basic and Advanced Check

555981 Script to Find DNS Server settings – PART II – please check article at MS web for PART I

555980 Script to Find DNS Server settings – PART I – please check article at MS web for PART II

555979 Citrix Presentation Server 4.0 issue with Windows 2003.

555852 Installing previous versions of Windows on top of Windows Vista

555845 Domain Controller’s Log on Locally rights removed or set to “Not Configured”.

555844 Two SYSVOL share or SYSVOL error

555650 Problem with manually configured MSI files.

555649 Specify Domain Controller for Editing Group Policy – Active Directory

555648 Windows Log on and Log off immediately.

555647 How to manually create Default Domain GPO

555642 Deploying Application-specific configuration using Group Policy

555638 Active Directory Attributes in Windows 2000 and Windows 2003

555637 LDIFDE – Export / Import data from Active Directory – LDIFDE commands 2 (AN: 555636)

555636 LDIFDE – Export / Import data from Active Directory – LDIFDE commands

555634 LDIFDE – Export / Import data from Active Directory

How to check and set Default Home Page URL using a script

The following knowledgebase will explain the methods you can use to check the Default Home Page URL on local and remote computer.

To check on a local computer:

You can use the following methods:

  1. Connecting to Remote Registry Service
  2. Using a script

The first method is easy but includes a lot of efforts. You can navigate to the following location in registry after connecting to remote registry:

HKLM\Software\Microsoft\Internet Explorer\Main

The above registry includes the following values in right pane:

Default_Page_URL REG_SZ http://portal.csc.com/\

To check on a Remote Computer:

You can use the below script to check the Default Home Page URL on a remote computer:

@echo off

Srvlist=C:\Temp\Srvlist.txt

Echo Computer Name, Default Home Page >> Result.csv

SET Default_URL=

For /F “Tokens=*” %%a In (%srvlist%) Do (

Set Comp_name=%%a

Set RegQry=”\\%%a\HKLM\Software\Microsoft\Internet Explorer\Main” /v Default_Page_URL

REG.exe Query %RegQry% > CheckCC.txt

Find /i “Default_Page_URL” < CheckCC.txt > StringCheck.txt

FOR /f “Tokens=3” %%b in (CheckCC.txt) DO SET Default_URL=%%b

Echo %Comp_name, %Default_URL% >> Result.csv

)

The above script will check remote computer for one registry entry for checking Default Home Page URL and the results will be saved in a CSV format file.

Net Commands

Net Commands

The following Net Commands can be used to perform operations on Groups, users, account policies, shares etc.

NET    ACCOUNTS

COMPUTER CONFIG CONTINUE FILE GROUP HELP HELPMSG LOCALGROUP NAME PAUSE PRINT SEND SESSION SHARE START STATISTICS STOP TIME USE USER VIEW

The “Net Accounts” command is used to set the policy settings on local computer such as Account policies and password policies. This command can not be used on domain controller. This command is only used on local computer.

When you type Net Accounts you will see the default settings in local computer for the Account Lockout policy and Password Policy as shown below:

clip_image002

The above settings displayed as per the role of the computer. If computer is joined to a domain, the domain settings will take effect and only the settings coming from domain will be displayed. The rest settings will be the local settings if its not coming from the Domain GPO.

You can change the following use the following options in Net Accounts option:

NET ACCOUNTS

[/FORCELOGOFF:{minutes | NO}]

[/MINPWLEN:length]

[/MAXPWAGE:{days | UNLIMITED}]

[/MINPWAGE:days]

[/UNIQUEPW:number] [/DOMAIN]

Two conditions are required in order for options used with

NET ACCOUNTS to take effect:

/FORCELOGOFF:{minutes | NO} Sets the number of minutes a user has before being forced to log off when the account expires or valid logon hours expire. NO, the default, prevents forced logoff.

/MINPWLEN:length Sets the minimum number of characters for a password. The range is 0-14 characters; the default is 6 characters.

/MAXPWAGE:{days | UNLIMITED} Sets the maximum number of days that a

password is valid. No limit is specified by using UNLIMITED. /MAXPWAGE can’t be less than /MINPWAGE. The range is 1-999; the default is 90 days.

/MINPWAGE:days Sets the minimum number of days that must pass before a user can change a password. A value of 0 sets no minimum time. The range is 0-999; the default is 0 days. /MINPWAGE can’t be more than /MAXPWAGE.\

/UNIQUEPW:number Requires that a user’s passwords be unique through the specified number of password changes. The maximum value is 24.

/DOMAIN Performs the operation on a domain controller of the current domain. Otherwise, the operation is performed on the local computer.

How To Reregister SRV records of a Domain Controller In DNS Zone

The following knowledgebase article explains how you can use the tools described below to re-register SRV records of a domain controller in the DNS domain Zone.

You can use the following tools or methods:

  1. Restart the Netlogon service on Domain Controller.
  1. Use DcDiag /Fix or NetDiag /fix
  1. Manually enter the SRV records from Netlogon.dns file in \Windows or \Winnt\System32\Config directory.

How To Delete All The Active Connections From Local Computer.

The following knowledgebase explains how you can delete all the active connections on a local computer using Net Use command:

You can use the following command to delete Active Connections on a local computer:

Net Use * /delete.

The above command deletes all the active connections in local computer.

Please note this command can also be used on remote computer. Please see the Net help use for more options.