Tuesday, 30 August 2011

Configuring Windows 2008 R2 AD Multi Site with Routing and Route Access Configuration

If you are IT guys and labs are is like your best friend. You can play with your Best friend any time but not with production boxes. Most of the companies are getting global Day by Day and it is spread across multiple location. If you wanted to simulate and test any application like Exchange and AD across the site then you need build the lab for the same. Here I am trying to explain you How to configure a domains with two sites with Routing and Remote Access servers installed as router to route the traffic between two sites on a Single Windows 2008 R2 Hyper V Server
Preparing the Network Settings
1. Configure Hyper-V Virtual Network Manager to add new "Internal" Network.
2. Configure all the Servers built on Hyper V to use this network Adapter Internal
Servers Installed and Configuration Details
Server Name
Windows 2008 R2
Windows 2008 R2
Windows 2008 R2
Configuration of Window 2008 As Router
  1. Login Server name "Router" and make sure that 2 NIC is configured with IP address and, without any default gateway and DNS servers. Below figure 2 has the detail configuration on one of the NIC which is having IP address Asite. Similarly configure NIC on BSite with the IPaddress
Figure 2. IP Address Configuration on the Server "Router "
2. With this NIC configuration you should be able to ping both ADC and BDC from the Server "Router". From ADC You should be able to ping IP address on the Router which is ping to ASite ( but not the IPaddress of NIC point to BSite( ADC should be not able ping to BDC. This is because Router is acting as a median between Asite and Bsite and currently Router Server is not configured to route the packets from Asite to Bsite and Vice Versa.
3. Now lets configure Server Router for routing the packets. login to Server Router Launch Server Role and select Network Policy and Access Services (Figure. 3) and click next
Figure 3. Adding Network Policy and Access Services
4. Select Routing and Remote Access Services (Figure 4) and click next and finish to install the same
Figure 4. Enabling Routing and Remote Access Services
5. Once we have Routing and Remove access Services Role installed on the Router, we should be able to see the role added in the Server Manager. Right click on Role Network Policy and Access Services and click Configure and Enable Routing and Remote Access to enable the same
Figure 5. Network Policy Access Role added in the Server manager and its available for configuration
6. On the welcome screen to configure routing and remote access server wizard click on Next.
7. In the configuration step click on Secure Connection between two private networks (Figure 6)and click Next. This is setting which helps to enable routing and click on Next
Figure 6. Enabling Routing Settings
8. You will be prompted for enabling demand dial connection(Figure 7) which we don’t need. Click on Next
Figure 7. Option for Demand Dial
9. Finally Click on Finish and this is complete the initializing of the new role
Figure 8. Completing Routing and Remote Access Service Installation
10. Once we have initialized we should be able to see new Routing and Remove Access initialized with Green up arrow. Figure 9. Expand to until you reach IP v4 | General | Right Click and select New Routing Protocol
Figure 9. Server Manager after installing new Role Network Policy and Access Services
11. Select the protocol "RIP Version 2 for Internet Protocol" and click on ok to Install the same.
Figure 10. Installation of RIP V2 Internet Protocol
12. Once we have installed RIP Protocol we need to added the required Interface for protocol. Right Click on the RIP to install the Interface which is point to ASite and BSite
Figure 11. Configure Network Interface to the RIP Protocol
13. Keep all the default settings when you add the interface. Once we added both the interface we should be able to see the same on the console. Figure 12
Figure 12. Settings after adding both the Network Interface on the RIP protocol
14. Once we have this configuration in place then we should be able to send and remove packets between Asite and Bsite. This can be confirmed by pining All the IP address available on BSite from Asite (Figure 13) and Vice versa
Figure 13. Pining BSite servers from Asite Servers
15. Once we have this configuration on Place we have communication established between both the sites. Now Lets Install and configure Domain Controller and Configure AD Sites for the AD Replication
16. Login to ADC | Start | Run | DCPROMO | OK to Promote ADC as domain Controller
Figure 14. Starting DC Promotion
17. Click Next on the Welcome Screen
Figure 15. Installing
18. Create a new domain in the new Forest
Figure 16. Creating new Domain in a New Forest
19. Provide the Required name for the domain
Figure 17. Creating New Vigneshwara.com
20. Configure Forest Function Level and Domain Functional Level with required settings with Windows Server 2008 and click Next
Figure 18. Configure Domain Function level
21. Configure DNS Servers to install (Figure 19) and YES to continue
Figure 19. Installing DNS Server
22. Set the required path for the Active Directory Database , log and Sysvol. Recommended to keep it default and click on Next
Figure 20. Configuring AD Database, log and Sysvol location
23. Provide required AD restoration Password and click on Next to Install and Configure AD and DNS on the Server. Figure 21.
Figure 21. Installing Active Directory and DNS
24. Restart the Server once Installation is Finished
25. Now Lets configure AD Sites and Services
26. Login to ADC | START | RUN | dssite.msc | ok
Figure 22. Starting Active Directory Sites and Services
27. Expand AD sites and Services and Right click on Default-First-Site-Name to ASite
Figure 23. Reaming Default-First-Site-Name to ASite
28. Lets now Create a new Site With BSite. Right click on the Sites and click on New Site
Figure 24. Create New AD Sites – Bsite
29. Provide the New Site name Bsite and click on DefaultIPSiteLink and click on OK and Next to configure the same. Figure 25.
Figure 25. Creating new Site with DefaultIPsitelink Configuration
31. New we should be able to see the new Site created with the name Bsite
Figure 26. Console after New Site Creation with BSite
30. Once we have Sites in place lets configure subnets. To configure the same right click on Subnets and Select new Subnet Figure 27.
Figure 27. Creating new Subnets in Active directory users and computers
31. In our Current setup we have two subnets and Here we are trying to create a new subnet and associate Sites with the subnets
32. On the new Subnet enter the IP Subnet with Subnet mask and click on Asite and click ok
Figure 28. Configure Subnets with Asite
33. Configure the same for BSite with IP Subnet
Figure 29. Configure Subnets with BSite
34. Once we are done we should be able to see the new Subnets added in the Console
Figure 30. Active Directory Sites and Service configured with new Subnet
35. Now out Sites configures is configured. Lets go a head and install domain controller as additional domain controller on BSite and configure replication
37. Login to BDC server and configure the Network DNS to point to ADC (
Figure 31. Configuring BDC DNS with ADC
36. Login to BDC Server | START | RUN | DCPROMO | OK
37. Click on Next on the Welcome screen and Select the option to add this domain controller to the existing forest as a new domain controller in an existing domain. Below is the configuration snap Figure 32.
Figure 32. Configuring BDC as new domain controller and joining to the existing forest.
38. Provide the Domain name which was created and set the credentials and click on Next
Figure 33. Configuring Domain Name on BDC
39. Select the Domain Name Vigneshwara.com and click on Next
Figure 34. Selecting the domain for additional domain controller
40. Configure this domain controller to point to SiteB by selecting "Use this site that corresponds to the IP address of this computer" and select SiteB and click Next
Figure 35. Adding the domain controller to Bsite
41. Select the option DNS server and Global Catalog Server and click on Next
Figure 36. Enabling DNS and Global Catalog.
42. Keep the default path on the AD directory , Log files, Sysvol and Click on Next to provide the Directory Service Restore Mode Administrator Password
42. Finally click on Finish to install and configure Domain Controller, Global Catalog, DNS on server BDC under the Site BSite
Figure 40. Finishing Domain Controller Installation on BDC
43. Restart the Server once DC is promoted on BDC
44. Once we have BDC as domain controller in place we should be able to see new DC Server add on the AD Sites and Servers under Bsite
Figure 41. Ad Sites and Services after BDC installed
45. By Default Active Directory Sites are configured for replication, Any changes done on Asite will be replicated to Bsite. There will be delay in the replication. By default the replication time is configured for every 180 min. We can changed this to minimum replication for every 15 min.
46. Lets configure the replication settings between the sites to replicate every 15 min. Access Active directory sites and Sites
47. Expand until you reach Inter-Site Transports. Select IP and click on properties on the DefaultIPsitelink. Figure 42.
Figure 42. DefaultIPsitelink configuration
48. Change the Replicate Every to 15 min and click on apply and ok.
Figure 42. Changing Replication frequency between AD Sites Asite and Bsite

Make partition in pen drive

If u want to make partition in pen drive just follow the steps

1 open cmd

2 type Diskpart and hit enter

3 List Disk

4 select your by typing select disk  Disk1 or Disk2 whatever your disk is.

5 Clean

6 Create partition primary size=1024

7 Now format it.

NOTE : It will not work in XP it works on Vista,Windows 7 and 2008 Server   


Desktop deployment is typically performed via disk cloning applications. Sysprep can be used to prepare an operating system for disk cloning and restoration via a disk image.
Windows operating system installations include many unique elements per installation that need to be "generalized" before capturing and deploying a disk image to multiple computers. Some of these elements include:
  • Computer name
  • Security Identifier (SID)
  • Driver Cache
Sysprep seeks to solve these issues by allowing for the generation of new computer names, unique SIDs, and custom driver cache databases during the Sysprep process.
Administrators can use tools such as SetupMgr.exe (Windows XP) or the Windows Automated Installation Kit (Windows Vista/7/Server 2008) to generate answer files that Sysprep will process on new computer deployments.

Windows grants or denies access and privileges to resources based on access control lists (ACLs), which use SIDs to uniquely identify users and their group memberships. When a user logs into a computer, an access token is generated that contains user and group SIDs and user privilege level. When a user requests access to a resource, the access token is checked against the ACL to permit or deny particular action on a particular object.
SIDs are useful for troubleshooting issues with security audits, Windows server and domain migrations.
The format of an SID can be illustrated using the following example: "S-1-5-21-3623811015-3361044348-30300820-1013";
S 1 5 21-3623811015-3361044348-30300820 1013
The string is a SID. The revision level (the version of the SID specification). The identifier authority value. domain or local computer identifier a Relative ID (RID). Any group or user that is not created by default will have a Relative ID of 1000 or greater.
Possible identifier authority values are:
  • 0 - Null Authority
  • 1 - World Authority
  • 2 - Local Authority
  • 3 - Creator Authority
  • 4 - Non-unique Authority
  • 5 - NT Authority
  • 9 - Resource Manager Authority 


Sysprep deployment

  1. On a reference computer, install the operating system and any programs that you want installed on your destination computers.
  2. Click Start, click Run, type cmd, and then click OK.
  3. At the command prompt, change to the root folder of drive C, and then type md Sysprep.
  4. Insert the Windows XP operating system CD into the appropriate CD-ROM or DVD-ROM drive, and then open the Deploy.cab file in the \Support\Tools folder.
  5. Copy the Sysprep.exe file and the Setupcl.exe file to the Sysprep folder.
  6. Remove the Windows XP operating system CD.
  7. At the command prompt, type cd Sysprep to change to the Sysprep folder.
  8. To run the Sysprep tool, type the following command at the command prompt:
    Sysprep /optional parameter
    Note For a list of parameters, see the "Sysprep parameters" section.

    If you run the Sysprep.exe file from the %systemdrive%\Sysprep folder, the Sysprep.exe file removes the whole folder and the contents of the folder after it finishes.
  9. Microsoft recommends that after you run the Sysprep.exe file on a reference computer, isolate the reference computer from the local network where the image will be subsequently deployed to avoid any NetBIOS conflicts. This permits the Sysprep tool to complete the Setup program, join the domain that is specified, and use the new computer name that is specified in the Sysprep.inf answer file.

How To Create An Unattended Windows XP Disk

Launch nLite, select your language, and click Next. Click the browse button to navigate to your the location of your installation CD. You will then be prompted for a location on the hard disk to store the files for processing. Select where you want to store the files and wait for the files to be copied.
create unattended windows xp
Once the files have completed copying, nLite will detect what version of Windows XP is on the installation CD. If it says the installation has Service Pack 3, then you will not need to download the service pack. Otherwise you can download the service pack here. Proceed to the next step.
Since this is the first time you’ve run nLite, you will not have any presets. Just click Next to advance to the Task Selection page. On the task selection page, select Hotfixes, Add-ons, and Update Packs, Unattended, and Bootable ISO. If you had to download Service Pack 3 because you have an older version, select Service Pack as well.
unattended windows setup reference
If you are feeling adventurous, you can also include Drivers, select Components for removal, select Options, and Tweaks as well. These are more advanced options that will not be discussed in this particular How-To. Click the Next button to proceed.
If you need to integrate Service Pack 3, you will advance to the Service Pack page. Select the location of where you downloaded Service Pack 3. Once you’re done, click Next to advance to Hotfixes, Add-ons, and Update Packs.
Click the Insert button (in nLite, not on your keyboard) and navigate to the location of the update pack. Click Next to proceed to the Unattended settings. In order to avoid any interaction with the installation (other than selecting/formatting the hard drive in the blue screens), you will need to update the following:
  • General Tab: Set Unattended Mode to Hide Pages
  • General Tab: Enter your Product Key
  • Users Tab: Password for the Administrator login (or check Blank password)
  • User Tab: Add a new User and set the password (or check Blank password)
  • User Tab: Set the Autologon to the new user you just added
  • Owner and Network ID Tab: Computer Name
  • Owner and Network ID Tab: Workgroup
  • Owner and Network ID Tab: Full Name
  • Owner and Network ID Tab: Organization
  • Regional Tab: Timezone
Once you’ve updated those settings, and any others you would like to update, click Next. Continue when prompted if you would like to start the process. When the process is complete, click Next to proceed to the Bootable ISO section.
Under Mode, select whether you want to Create an Image or perform a Direct Burn to a CD. Direct Burn is probably the easier choice, because nLite will write it directly to disk. When you’ve made your selection click Make ISO. If you decide to burn to an image, use your favorite image burning software to write it to a disk.
nlite -unattended installation
That’s all there is to it! Just take the disk, pop it into the target machine, boot it up, select where you want to install/format, and then go take a little walk. Upon your return, your machine will have a fresh installation of Windows XP running on it!
Have you made unattended installation disks before? If so, what tools did you use and where did you obtain your update packs and addons?

Wednesday, 24 August 2011

Display legal notice on startup

Display legal notice on startup:
Wanna tell your friends about the do's and dont's in your computer when they login in your absence. Well you can do it pretty easily by displaying a legal notice at system start up.
"legalnoticecaption"="enter your notice caption"
"legalnoticetext"="enter your legal notice text"

windows 7 unattended installation

For the unattended installation of windows 7 u must have WAIK (Windows Automated Installation Kit)
it is approx 1.34 GB download it from Microsoft site it has a help file open it and follow the instruction.
it is not like xp unattended there is lots of scripting so it is totally different just open the step by step deployment and follow.  

when you are making unattended the windows 7 dvd must have only 1 OS like if it is only Ultimate
or only Enterprise do not use all edition disk. 


Monday, 22 August 2011

WTM Copy Protection CD, DVD, BD, USB Copy Protection

Create your own copy protection for your music, video, photo, image or data cds. This copy protection system is easy to use and have a strong copyright protection.


Friday, 19 August 2011

How to make bootable pen drive for ghost

first thing u need software Boot flash dos  and ghost.

1 Run Boot flash dos.
2 check on quick format &enable LBA (fat 16X).

3 and start.

4 now your pen drive is bootable  copy the ghost.exe on pen drive.

Thursday, 18 August 2011

BSNL Brodband All Type Modam configuration

 All type of  BSNL broadband modem configuration is available on that
link don't need to search anywhere just go to the link

            BSNL Broadband Modam configuration

How To: Install Windows 7 windows vista Or Windows 2008 server From USB Drive

*USB Flash Drive (Minimum 4GB)
*Windows 7 or Vista installation files.
Follow the below steps to create bootable Windows 7/Vista USB drive using which you can install Windows 7/Vista easily.
1. Plug-in your USB flash drive to USB port and move all the contents from USB drive to a safe location on your system.
2. Open Command Prompt with admin rights. Use any of the below methods to open Command Prompt with admin rights.
*Type cmd in Start menu search box and hit Ctrl+ Shift+ Enter.
*Go to Start menu > All programs > Accessories, right click on Command Prompt and select Run as administrator.
3. You need to know about the USB drive a little bit. Type in the following commands in the command prompt:
First type DISKPART and hit enter to see the below message.
Bootable USB Drive
Next type LIST DISK command and note down the Disk number (ex: Disk 1) of your USB flash drive. In the below screenshot my Flash Drive Disk no is Disk 1.
4. Next type all the below commands one by one. Here I assume that your disk drive no is “Disk 1”.If you have Disk 2 as your USB flash drive then use Disk 2.Refer the above step to confirm it.
So below are the commands you need to type and execute one by one:
(Format process may take few seconds)
Don’t close the command prompt as we need to execute one more command at the next step. Just minimize it.
Bootable USB Drive
5. Next insert your Windows7/Vista DVD into the optical drive and check the drive letter of the DVD drive. In this guide I will assume that your DVD drive letter is “D” and USB drive letter is “H” (open my computer to know about it).
6. Maximize the minimized Command Prompt in the 4th step.Type  the following command now:
D: CD BOOT and hit enter.Where “D” is your DVD drive letter.
CD BOOT and hit enter to see the below message.
7. Type another command given below to update the USB drive with BOOTMGR compatible code.
Where “H” is your USB drive letter. Once you enter the above command you will see the below message.
8. Copy your Windows 7/Vista DVD contents to the USB flash drive.
9. Your USB drive is ready to boot and install Windows 7/Vista. Only thing you need to change the boot priority at the BIOS to USB from the HDD or CD ROM drive. I won’t explain it as it’s just the matter the changing the boot priority or enabling the USB boot option in the BIOS.
Note: If you are not able to boot after following this guide means you haven’t set the BIOS priority to USB. If you got any problem in following this guide feel free to ask questions by leaving comment.