Sunday 28 March 2010

How to remove new folder exe or regsvr exe or autorun inf virus

I want to tell you a story, two days back i got affected by this virus very badly as it eat up all my empty hard disk space of around 700 MB :( .
I was surprised that my most reliable friend Avast, for the first time failed me in this war against viruses but then again avg and bitdiffender also failed against it. This virus is know popularly as regsvr.exe virus, or as new folder.exe virus and most people identify this one by seeing autorun.inf file on their pen drives, But trend micro identified it as WORM_DELF.FKZ. It is spreading mostly using pen drives as the medium.
New
 folder.exe virus
Well, so here is the story of how i was able to kill the monster and reclaim my hard disk space.
Manual Process of removal

I prefer manual process simply because it gives me option to learn new things in the process.
So let’s start the process off reclaiming the turf that virus took over from us.
  1. Cut The Supply Line
    1. Search for autorun.inf file. It is a read only file so you will have to change it to normal by right clicking the file , selecting the properties and un-check the read only option
    2. Open the file in notepad and delete everything and save the file.
    3. Now change the file status back to read only mode so that the virus could not get access again.
    4. Autorun
    5. Click start->run and type msconfig and click ok
    6. Go to startup tab look for regsvr and uncheck the option click OK.
    7. Click on Exit without Restart, cause there are still few things we need to do before we can restart the PC.
    8. Now go to control panel -> scheduled tasks, and delete the At1 task listed their.
  2. Open The Gates Of Castle
    1. Click on start -> run and type gpedit.msc and click Ok.
    2. If you are Windows XP Home Edition user you might not have gpedit.msc in that case download and install it from Windows XP Home Edition: gpedit.msc and then follow these steps.
    3. Go to users configuration->Administrative templates->system
    4. Find “prevent access to registry editing tools” and change the option to disable.
    5. Opening the gate of castle: Group Edit Policies
    6. Once you do this you have registry access back.
  3. Launch The Attack At Heart Of Castle
    1. Click on start->run and type regedit and click ok
    2. Go to edit->find and start the search for regsvr.exe,
    3. Launch the attack in the heart of castle: registry search
    4. Delete all the occurrence of regsvr.exe; remember to take a backup before deleting. KEEP IN MIND regsvr32.exe is not to be deleted. Delete regsvr.exe occurrences only.
    5. At one ore two places you will find it after explorer.exe in theses cases only delete the regsvr.exe part and not the whole part. E.g. Shell = “Explorer.exe regsvr.exe” the just delete the regsvr.exe and leave the explorer.exe
  4. Seek And Destroy the enemy soldiers, no one should be left behind
    1. Click on start->search->for files and folders.
    2. Their click all files and folders
    3. Type “*.exe” as filename to search for
    4. Click on ‘when was it modified ‘ option and select the specify date option
    5. Type from date as 1/31/2008 and also type To date as 1/31/2008
    6. Seek and destory enemy soldiers: the search option
    7. Now hit search and wait for all the exe’s to show up.
    8. Once search is over select all the exe files and shift+delete the files, caution must be taken so that you don’t delete the legitimate exe file that you have installed on 31st January.
    9. Also selecting lot of files together might make your computer unresponsive so delete them in small bunches.
    10. Also find and delete regsvr.exe, svchost .exe( notice an extra space between the svchost and .exe)
  5. Time For Celebrations
    1. Now do a cold reboot (ie press the reboot button instead) and you are done.
I hope this information helps you win your own battle against this virus. Soon all antivirus programs will be able to automatically detect and clean this virus. Also i hope Avast finds a way to solve this issues.
As a side note i have found a little back dog( winpatrol ) that used to work perfectly on my old system. It was not their in my new PC, I have installed it again , as I want to stay ahead by forever closing the supply line of these virus. You can download it form Winpatrol website.
UPDATE : Avast Boot Time Scheduling
Avast Boot Time Scan
Check out How to stop regedit, task manager and msconfig  from closing automatically if your regedit or msconfig closes automatically.

Friday 26 March 2010

Exchange Server 2003 Step-by-Step Installation Instructions

Exchange Server Setup Instructions – Single Server Topology (*DRAFT*)

Pre-Installation
Make sure the server is a member of the domain the Exchange server is supposed to operate within.

Ensure that the Operating System is completely up to date and all updates / patches have been applied.

Ensure that the SMTP, NNTP & ASP.net Windows Server components are installed.

Ensure that the Windows Server Support Tools have been installed – these are on the Windows 2003 CD – \Support\Tools\suptools.msi.

Exchange Server Installation – Preparing the Forest & Domain
Log into the server using a domain administrator account that has Enterprise & Schema admin rights.

Place the Exchange CD in the drive. Autorun will launch with a splash screen for Resources & Deployment Tools. Select Deployment Tools.

Click on Deploy the First Exchange 2003 Server.

Click on New Exchange 2003 Installation.

Ensure that the server is operating properly and meets all of the Exchange requirements:
The first three requirements should be met – check these off.

Run dcdiag to ensure properly connectivity to the domain controller. The syntax to run this via a command prompt is dcdiag /s:DCNAME /f:dcdiag.txt – once run, review the dcdiag.txt file and ensure all tested were passed. If tests did not pass, correct the problem and re-run dcdiag before moving on. If everything looks good, check off this box and move on.

Run netdiag. The syntax is netdiag /l – this will print the results to netdiag.log – review this log for any errors. If errors appear, correct them and then re-run the test. If everything looks good, check off this box and move on.
Your Active Directory Forest must now be prepared so that it can support Exchange. Note that Forestprep should be run only once per AD Forest! Click on the Run Forestprep link.
If a compatibility warning message appears, click Continue.

Click Next.

Make sure you read the entire licensing agreement and memorize it – you will be tested on this later. If you agree to the agreement, click I Agree and then Next.

If prompted, enter your 25-digit CD key and then click Next.

The Component Installation screen should appear and it should say Forestprep under Action next to Microsoft Exchange.

Choose a different file location if you need to (use Browse).

Then click Next.

You will then be asked to provide an account to manage Exchange & delegate permissions with. It is recommended to leave the default administrator account here, click Next, and allow forestprep to run. Note that this will take some time and you should just leave the server alone. You do not want to interrupt this!

Click Finish when your forest preparation has completed. You can then check off this box in the pre-installation list.
You now have to run Domainprep in any domain that will host Exchange servers or Exchange users. Click the Run Forestprep Link.

If a compatibility warning message appears, click Continue.

Click Next. You may at this point or soon after be prompted with a message about the ‘Pre-Windows 2000 Compatible Access Security Group’ – basically, Exchange is warning you that you should make sure no users or groups are members of this group. So you can either check out this group now and remove any users or do it later – it will not stop you from installing Exchange.

The licensing agreement is presented again – click I Agree and then Next.

If prompted, enter your 25-digit CD key and then click Next.

The Component Installation screen should appear and it should say Domainprep under Action next to Microsoft Exchange.

Choose a different file location if you need to (use Browse).

Then click Next.

Domainprep will then run – it’s pretty quick, and once it has completed, click Finish to continue.

Congratulations! Your forest, domain & server are prepared for Exchange server to now be installed. You can then check off this box in the pre-installation check list, leaving you with only the last step unchecked.

Exchange Server Installation

In the pre-installation checklist, click the Run Setup Now link.
Click Next.

The licensing agreement is presented again – click I Agree and then Next.

If prompted, enter your 25-digit CD key and then click Next.

You will then be presented with the Component Installation Screen. Make sure the following appears:
Action: Typical for Component: Microsoft Exchange Server.

Action: Install for Component: Microsoft Exchange Messaging and Collaboration Services.

Action: Install for Component: Microsoft Exchange System Management Tools.
You can then change the installation path if needed. Note that once Exchange is up and running, you can move and separate your data & log files from one another on to different drives. Once everything is setup properly, click Next.

Select Create a New Exchange Organization and click Next.

Now type the name of the Exchange Organization that you chose. Make sure you choose the appropriate organization name – even in Exchange 2003 native mode, you can’t just rename the organization like any other object! Once you type the name, click Next.

Once again, you need to click I Agree to the licensing agreement and click Next.

You will then be presented with an installation summary. If everything looks good, click Next. The installation of the server will then run.

Once the installation has completed, click Finish. Guess what – you’ve now got your very own Exchange Server setup and running!

Thursday 25 March 2010

Share a Printer on Your Home Network

You're working on a document on the laptop in the living room and you want to print—except the printer's in the home office. Sharing a printer connected to a PC on your home network and printing to it from any other computer, even over a wireless connection, is a breeze. Whether you want to print from a Mac or another PC, here's how to share a single printer for use by any computer on your home network.



Step 1. Enable sharing on your printer

Step 2. (Optional) Enable file and printer sharing

Step 3. Name your shared printer

Step 4. Launch the Add Printer Wizard (Windows client)

Step 5. Connect to shared printer (Windows client)

Step 6. Browse to the Windows printer (Mac client)

Step 7. Set Printer Model (Mac client)





--------------------------------------------------------------------------------



Got any remote printing tips or tricks for shared printers at home? Tell us about 'em in the comments.

How to Share Printer in Windows XP

Follow this step-by-step instructions to share printer in Windows XP.


1) Go to Start and click Control Panel. Control Panel Window will appear, then double click Printers and faxes.



2) Printers and Faxes window will appear. Right click the printer you want to share, then click Sharing…







Note: Make sure you've enabled File and Printer Sharing for Microsoft Networks on network card's properties.







3) Select Sharing tab and tick Share this printer to share the printer. You can type in a new name in the Share name text box to change your printer name on the network, however this will not change the printer name on your computer. Click Apply.







Note: If the other users using different version of Windows to access your printer, they will need to install printer driver themselves. You can help by installing additional printer drivers on your Windows XP, so that the printer driver will be installed when other users access the shared printer with different version of Windows. Click Additional Drivers, tick additional driver you would like to install. You will be prompted to install those additional drivers after clicking OK.







4) Once you have shared the printer, you will see there is a hand supporting your printer.

Creating a Bridge with Two Internal Adapters on a Windows XP Internet Connection Sharing Host Does Not Work

To Manually Create the Network Bridge and Enable ICS


Disable ICS and Internet Connection Firewall (ICF) on the public interface. After you do this, ICS and ICF should not be enabled on any network connection on the computer. To disable ICS and ICF:

Click Start, click Control Panel, click Network and Internet Connections, and then click Network Connections.

Right-click the Internet connection, and then click Properties.

Click the Advanced tab.

Clear the Protect my computer and network by limiting or preventing access to this computer from the Internet check box if it is selected.

Clear the Allow other network users to connect check box if it is selected.

Click OK in each dialog box until you return to the Network Connections folder.

In the Network Connections folder, select the two adapters that you want to use to create the bridge. Make sure that neither of the adapters is the connection to the Internet. To select two network adapters, first click one network connection. Then, hold down the CTRL key while you click the second network connection.

Right-click either connection, and then click Bridge Connection. Windows XP creates a network bridge by using the two network connections you specified. After this process is finished, continue with the next step.

In the Network Connections folder, right-click the Internet connection, and then click Properties. Remember that the Internet connection cannot be one of the connections that you used to create the bridge if your intent is to run ICS or ICF on the Internet connection.

On the Advanced tab, select the Allow other network users to connect check box to enable ICS. Remember that because you have bridged two network connections together, both network adapters that are used in the bridge are on the internal side of ICS, and clients from either network can access the Internet.



NOTE: If you have more than two potential internal networks, ICS requires that you specify which network should be the private network that is used by ICS. For example, you may have one network connection to the Internet, two additional network connections that are part of a bridge, and a fourth network connection (for example, a wireless connection). In this example, either the wireless connection or the bridged connection could be configured as the private ICS network. If your intent is to have both the current bridged connections and the wireless connection be configured as the private ICS network, you must add the wireless connection to the bridge. If you do not, you must choose which network is the private ICS network, and which network is allowed to access the Internet through the Windows XP-based ICS host.



To add an additional adapter to the network bridge:

Right-click the network bridge in the Network Connections folder, and then click Properties.

On the General tab, make sure that each adapter that should be configured as part of the bridge has a check mark next to it in the Adapters list.

Click OK to have the bridge bind any new adapters.

It is a good idea to completely configure the bridge before you enable ICS or ICF on the Internet connection.





Select the Protect my computer and network by limiting or preventing access to this computer from the Internet check box if your intent is to protect this computer and other computers on the private network from the Internet.

Click OK in each dialog box until you return to the Network Connections folder. Close the Network Connections folder.

Enable ICS again if it has been disabled. Note that you cannot create a bridge by using the shared (public) ICS connection and the private ICS connection because of the design of ICS and network address translation (NAT) in general. Attempting to do so results in the following error message:

To create a Network Bridge, you must select at least two network connections that are not being used by Internet Connection Sharing or the Internet Connection Firewall

Cisco DSL Router Configuration and Troubleshooting Guide - Step-by-Step Configuration of PPPoE with a Static IP Address

Introduction


Your Internet Service Provider (ISP) has assigned a static public IP address to your Cisco Digital Subscriber Line (DSL) Router.



Prerequisites

Requirements

There are no specific requirements for this document.



Components Used

This document is not restricted to specific software and hardware versions.



Conventions

Refer to Cisco Technical Tips Conventions for more information on document conventions.



Configuration Procedures

Important: Before you begin, close all programs on the PC that might be monitoring your COM port. Devices such as PDAs and digital cameras often place programs in the system tray that render your COM port unusable for the configuration of your Cisco DSL Router.



Connect the Cisco DSL Router and Your PC

A console connection is made with a rolled cable and connects the console port of the Cisco DSL Router to a COM port on a PC. The console cable that is included with the Cisco DSL Router is a flat light blue cable. For more information on the pinouts of a rolled cable, or the pinouts of an RJ-45 to DB9 converter, refer to Cabling Guide for Console and AUX Ports.



Connect the RJ-45 connector on one end of a Cisco console cable to the console port of the Cisco DSL Router.



Connect the RJ-45 connector at the other end of the console cable to an RJ-45 to DB9 converter.



Connect the DB9 connector to an open COM port on your PC.



Start and Set Up HyperTerminal

Complete these steps:



Start the HyperTerminal program on the PC.



Set up your HyperTerminal session.



Assign a name to your session and click OK.



In the Connect To window, click Cancel.



Choose File > Properties.



From the Properties window, go to the Connect Using list and select the COM port where you connect the DB9 end of the console cable.



From the Properties window click Configure and fill in these values:



Bits per second: 9600



Data bits: 8



Parity: None



Stop bits: 1



Flow Control: None



Click OK.



From the Call menu, click Disconnect.



From the Call menu, click Call.



Press Enter until you see a router prompt on your HyperTerminal window.



Clear Existing Configurations on the Cisco DSL Router

Complete these steps:



Type enable at the router prompt in order to enter privileged mode.



Router>enable

Router#



!--- The # symbol indicates that you are in privileged mode.



Clear existing configurations on the router.



Router#write erase

Reload the router so that it boots with a blank startup configuration.



Router#reload

System configuration has been modified. Save? [yes/no]:no

Proceed with reload? [confirm]yes



!--- The router reload can take a few minutes.



After the router has reloaded, enter enable mode again.



Router>enable

Router#Configure the Cisco DSL Router

Complete these steps:



Configure service timestamp to properly log and display debug output in the troubleshooting section.



Router#configure terminal

Router(config)#service timestamps debug datetime msec

Router(config)#service timestamps log datetime msec

Router(config)#end

Disable the logging console on your Cisco DSL Router in order to suppress console messages that might be triggered while you configure the router.



Router#configure terminal

Router(config)#no logging console

Router(config)#end

Configure ip routing, ip subnet-zero, and ip classless in order to provide flexibility in routing configuration options.



Router#configure terminal

Router(config)#ip routing

Router(config)#ip subnet-zero

Router(config)#ip classless

Router(config)#end

Configure the global Point-to-Point Protocol over Ethernet (PPPoE) parameters.



Router#configure terminal

Router(config)#vpdn enable

Router(config)#no vpdn logging

Router(config)#vpdn-group pppoe

Router(config-vpdn)#request-dialin

Router(config-vpdn-req-in)#protocol pppoe

Router(config-vpdn-req-in)#end

Configure an IP address and subnet mask on the Cisco DSL Router Ethernet interface.



For Network Address Translation (NAT): Optional) Enable NAT inside on the Ethernet interface.



Router#configure terminal

Router(config)#interface ethernet 0

Router(config-if)#ip tcp adjust-mss 1452



!--- If the ip tcp adjust-mss 1452 command is not supported, try

!--- ip adjust-mss 1452. If this command is not supported,

!--- upgrade to the latest Cisco DSL Router software or follow the

!--- procedure in Possible Required Configuration Steps on the PC.



Router(config-if)#ip address



!--- For NAT:



Router(config-if)#ip nat inside

Router(config-if)#no shut

Router(config-if)#end

Configure the ATM interface of your Cisco DSL Router with an ATM permanent virtual circuit (PVC), encapsulation type, and dialer pool.



Router#configure terminal

Router(config)#interface atm 0

Router(config-if)#pvc

Router(config-if-atm-vc)#pppoe-client dial-pool-number 1

Router(config-if-atm-vc)#no shut

Router(config-if-atm-vc)#end

Configure the Dialer interface of your Cisco DSL Router for PPPoE with a static IP address.



For NAT: (Optional) Enable NAT outside on the Dialer interface.



Router#configure terminal

Router(config)#interface dialer 1

Router(config-if)#mtu 1492

Router(config-if)#ip

Router(config-if)#no ip directed-broadcast



!--- For NAT:



Router(config-if)#ip nat outside

Router(config-if)#encapsulation ppp

Router(config-if)#dialer pool 1

Router(config-if)#ppp chap hostname

Router(config-if)#ppp chap password

Router(config-if)#ppp pap sent-username password

Router(config-if)#end

Configure a default route using Dialer1 as the outbound interface.



Router#configure terminal

Router(config)#ip route 0.0.0.0 0.0.0.0 dialer1

Router(config)#end

For NAT: Configure global NAT commands on the Cisco DSL Router to allow sharing of the dynamic public IP address of the Dialer interface.



Router#configure terminal

Router(config)#ip nat inside source list 1 interface Dialer1 overload

Router(config)#access-list 1 permit



Router(config)#end

Optional Configurations



NAT Pool, if additional IP addresses have been provided by your ISP.



Router(config)#ip nat inside source list 1 interface dialer1 overload

Router(config)#ip nat pool

netmask

Router(config)#end

Static NAT, if Internet users require access to internal servers.



Router(config)#ip nat inside source static tcp

{80 or 25} {80 or 25} extendable

Router(config)#end

For Dynamic Host Configuration Protocol (DHCP): (Optional) Configure the Cisco DSL Router as a DHCP server with a pool of IP addresses to assign to hosts connected to the Ethernet interface of the Cisco DSL Router. The DHCP server dynamically assigns an IP address, Domain Name Server (DNS), and the default gateway IP address to your hosts.



Router#configure terminal

Router(config)#ip dhcp excluded-address

Router(config)#ip dhcp pool

Router(dhcp-config)#network

Router(dhcp-config)#default-router

Router(dhcp-config)#dns-server



Router(dhcp-config)#end

Enable logging console on the Cisco DSL Router, and then write all the changes to memory.



Router#configure terminal

Router(config)#logging console

Router(config)#end

*Jan 1 00:00:00.100: %SYS-5-CONFIG_I: Configured from console by console

Router#write memory

Building configuration... [OK]

Router#Configuration

This is the configuration that is built after you have completed the procedures in the Configuration Procedures section of this document.



Cisco DSL Router with a Static IP Address





!--- Comments contain explanations and additional information.





service timestamps debug datetime msec

service timestamps log datetime msec

vpdn enable

no vpdn logging

vpdn-group pppoe

request-dialin

protocol pppoe

!

!

ip subnet-zero

!



!--- For DHCP:



ip dhcp excluded-address

ip dhcp pool

network

default-router

dns-server

!

interface Ethernet0

no shut

ip address

ip tcp adjust-mss 1452



!--- If the ip tcp adjust-mss 1452 command is not supported, try this

!--- configuration statement: ip adjust-mss 1452. If this command is not

!--- supported in your current Cisco DSL Router software release, upgrade to the

!--- latest Cisco DSL Router software or follow the procedure in

!--- Possible Required Configuration Steps on the PC.





!--- For NAT:



ip nat inside

no ip directed-broadcast

!

interface atm0

no ip address

bundle-enable

dsl operating-mode auto

!

interface atm0.1 point-to-point

no ip address

no ip directed-broadcast

no atm ilmi-keepalive

pvc

pppoe-client dial-pool-number 1



!--- Common PVC values supported by ISPs are 0/35 or 8/35.

!--- Confirm your PVC values with your ISP.



!

!

interface dialer1

ip address

mtu 1492



!--- For NAT:



ip nat outside

encapsulation ppp

dialer pool 1

ppp chap hostname

ppp chap password

ppp pap sent-username password

!



!--- For NAT:



ip nat inside source list 1 interface dialer1 overload



!--- If you have a pool (a range) of public IP addresses provided

!--- by your ISP, you can use a NAT Pool. Replace

!--- ip nat inside source list 1 interface dialer1 overload









!--- with these two configuration statements:

!--- ip nat inside source list 1 pool overload

!--- ip nat pool

!--- netmask









!--- If Internet users require access to an internal server, you can

!--- add this static NAT configuration statement:

!--- ip nat inside source static tcp {80 or 25}

!--- {80 or 25} extendable

!--- Note: TCP port 80 (HTTP/web) and TCP port 25 (SMTP/mail) are used

!--- for this example. You can open other TCP or UDP ports, if needed.



!

ip classless

ip route 0.0.0.0 0.0.0.0 interface dialer1



!--- For NAT:



access-list 1 permit



!--- In this configuration, access-list 1 defines a standard access list

!--- that permits the addresses that NAT translates. For example, if

!--- your private IP network is 10.10.10.0, configure

!--- access-list 1 permit 10.10.10.0 0.0.0.255 in order to allow NAT to translate

!--- packets with source addresses between 10.10.10.0 and 10.10.10.255.



!

end





Verify

Your Cisco DSL Router is now operational for Asymmetric Digital Subscriber Line (ADSL) service. You can issue a show run command in order to see the configuration.



Router#show run

Building configuration...The Output Interpreter Tool ( registered customers only) (OIT) supports certain show commands. Use the OIT to view an analysis of show command output.



Troubleshoot

Refer to Troubleshooting PPPoE if your ADSL service does not work properly.



Cisco Support Community - Featured Conversations

Tuesday 23 March 2010

How To Secure Netgear Wireless Router..

To enable security please follow the steps :




1.Log in to router web interface using http:\\192.168.0.1 or http:\\192.168.1.1 (depending upon the ip address of the router)

2.username : admin ,Password : password (unless changed)

3.Click wireless settings under setup

4.Make security as WEP

5.Security type : automatic

6.Encryption strength : 64 bit

7.Put a check mark on key 1 & typein any 10 digit key & apply the settings.

8.Then from your wireless computer try connecting to your wireless network which will prompt you to enter the wep key.Just enter the 10 digit key & confirm the same and click connect.

9.Now you have enabled wep for your wireless network and it's secure.

Friday 19 March 2010

How To Disable USB Port With The Help Of Registry

To set the Start value, follow these

steps:1. Click Start, and then click Run.
2. In the Open box, type regedit, and then click OK.
3. Locate, and then click the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor

4. In the right pane, double-click Start.
5. In the Value data box, type 4, click Hexadecimal (if it is not already
selected), and then click OK.
6. Quit Registry Editor.

Let me know How it worked for you.

Thursday 18 March 2010

How To Creat a Domain Controller in Windows 2008

Now type dcpromo > Click OK
The system will start checking if Active Directory Domain Services ( AD DS) binaries are installed, then will start installing them. The binaries could be installed if you had run the dcpromo command previously and then canceled the operation after the binaries were installed.


The Active Directory Domain Services Installation Wizard will start, either enable the checkbox beside Use Advanced mode installation and Click Next , or keep it unselected and click on Next

The Operating System Compatibility page will be displayed, take a moment to read it and click Next

Choose Create a new domain in a new forest, Click Next

Enter the Fully Qualified Domain Name of the forest root domain inside the textbox, click Next

If you selected Use advanced mode installation on the Welcome page, the Domain NetBIOS Name page appears. On this page, type the NetBIOS name of the domain if necessary or accept the default name and then click Next.

Select the Forest Functional Level, choose the level you desire and click on Next.

Make sure to read the description of each functional level to understand the difference between each one.
In the previous step, If you have selected any Forest Functional Level other than windows Server 2008 and clicked on Next , you would then get a page to select the domain Functional Level. Select it and then click on Next

In the Additional Domain Controller Options page, you can select to install the domain Name Service to your server. Note that the First domain controller in a forest must be a Global Catalog that’s why the checkbox beside Global Catalog is selected and it cannot be cleared. The checkbox is also selected by default when you install an additional domain controller in an existing domain, however you can clear this checkbox if you do not want the additional domain controller to be a global catalog server. The first domain controller in a new forest or in a new domain can not be a Read Only Domain Controller (RODC), you can later add a RODC but you must have at least one Windows Server 2008 Domain Controller.
I want to set my DC as a DNS Server as well, so I will keep the checkbox beside DNS server selected and click on Next

If you don’t have static ip assigned to your server you will see similar to the following screen now you need to assign static ip and start the above process.

If the wizard cannot create a delegation for the DNS server, it displays a message to indicate that you can create the delegation manually. To continue, click Yes

Now you will have the location where the domain controller database, log files and SYSVOL are stored on the server.
The database stores information about the users, computers and other objects on the network. the log files record activities that are related to AD DS, such information about an object being updated. SYSVOL stores Group Policy objects and scripts. By default, SYSVOL is part of the operating system files in the Windows directory either type or browse to the volume and folder where you want to store each, or accept the defaults and click on Next

In the Directory Services Restore Mode Administrator Password (DSRM) page, write a password and confirm it. This password is used when the domain controller is started in Directory Services Restore Mode, which might be because Active Directory Domain services is not running, or for tasks that must be performed offline.Make sure that you memorize this password when you need it.

Summary page will be displayed showing you all the setting that you have set . It gives you the option to export the setting you have setup into an answer file for use with other unattended operations, if you wish to have such file, click on the Export settings button and save the file.

DNS Installation will start

Followed by installing Group Policy Management Console, the system will check first if it is installed or not.


Configuring the local computer to host active directory Domain Services and other operations will take place setting up this server as a Domain Controller active Directory Domain Services installation will be completed, click Finish.

Click on Restart Now to restart your server for the changes to take effect.

Once the server is booted and you logon to it, click on Start > Administrative Tools
you will notice that following have been installed :
Active Directory Domains and Trusts
Active Directory Sites and Services
Active Directory Users and Computers
ADSI Edit
DNS
Group Policy Management

That’s it now your new win server 2008 domain controller with dns server setup was completed.

Sunday 14 March 2010

List of the keyboard shortcuts that are available in Windows XP

General keyboard shortcuts


  • CTRL+C (Copy)
  • CTRL+X (Cut)
  • CTRL+V (Paste)
  • CTRL+Z (Undo)
  • DELETE (Delete)
  • SHIFT+DELETE (Delete the selected item permanently without placing the item in the Recycle Bin)
  • CTRL while dragging an item (Copy the selected item)
  • CTRL+SHIFT while dragging an item (Create a shortcut to the selected item)
  • F2 key (Rename the selected item)
  • CTRL+RIGHT ARROW (Move the insertion point to the beginning of the next word)
  • CTRL+LEFT ARROW (Move the insertion point to the beginning of the previous word)
  • CTRL+DOWN ARROW (Move the insertion point to the beginning of the next paragraph)
  • CTRL+UP ARROW (Move the insertion point to the beginning of the previous paragraph)
  • CTRL+SHIFT with any of the arrow keys (Highlight a block of text)
  • SHIFT with any of the arrow keys (Select more than one item in a window or on the desktop, or select text in a document)
  • CTRL+A (Select all)
  • F3 key (Search for a file or a folder)
  • ALT+ENTER (View the properties for the selected item)
  • ALT+F4 (Close the active item, or quit the active program)
  • ALT+ENTER (Display the properties of the selected object)
  • ALT+SPACEBAR (Open the shortcut menu for the active window)
  • CTRL+F4 (Close the active document in programs that enable you to have multiple documents open simultaneously)
  • ALT+TAB (Switch between the open items)
  • ALT+ESC (Cycle through items in the order that they had been opened)
  • F6 key (Cycle through the screen elements in a window or on the desktop)
  • F4 key (Display the Address bar list in My Computer or Windows Explorer)
  • SHIFT+F10 (Display the shortcut menu for the selected item)
  • ALT+SPACEBAR (Display the System menu for the active window)
  • CTRL+ESC (Display the Start menu)
  • ALT+Underlined letter in a menu name (Display the corresponding menu)
  • Underlined letter in a command name on an open menu (Perform the corresponding command)
  • F10 key (Activate the menu bar in the active program)
  • RIGHT ARROW (Open the next menu to the right, or open a submenu)
  • LEFT ARROW (Open the next menu to the left, or close a submenu)
  • F5 key (Update the active window)
  • BACKSPACE (View the folder one level up in My Computer or Windows Explorer)
  • ESC (Cancel the current task)
  • SHIFT when you insert a CD-ROM into the CD-ROM drive (Prevent the CD-ROM from automatically playing)
  • CTRL+SHIFT+ESC (Open Task Manager)

Dialog box keyboard shortcuts

If you press SHIFT+F8 in extended selection list boxes, you enable extended selection mode. In this mode, you can use an arrow key to move a cursor without changing the selection. You can press CTRL+SPACEBAR or SHIFT+SPACEBAR to adjust the selection. To cancel extended selection mode, press SHIFT+F8 again. Extended selection mode cancels itself when you move the focus to another control.
  • CTRL+TAB (Move forward through the tabs)
  • CTRL+SHIFT+TAB (Move backward through the tabs)
  • TAB (Move forward through the options)
  • SHIFT+TAB (Move backward through the options)
  • ALT+Underlined letter (Perform the corresponding command or select the corresponding option)
  • ENTER (Perform the command for the active option or button)
  • SPACEBAR (Select or clear the check box if the active option is a check box)
  • Arrow keys (Select a button if the active option is a group of option buttons)
  • F1 key (Display Help)
  • F4 key (Display the items in the active list)
  • BACKSPACE (Open a folder one level up if a folder is selected in the Save As or Open dialog box)

Microsoft natural keyboard shortcuts


  • Windows Logo (Display or hide the Start menu)
  • Windows Logo+BREAK (Display the System Properties dialog box)
  • Windows Logo+D (Display the desktop)
  • Windows Logo+M (Minimize all of the windows)
  • Windows Logo+SHIFT+M (Restore the minimized windows)
  • Windows Logo+E (Open My Computer)
  • Windows Logo+F (Search for a file or a folder)
  • CTRL+Windows Logo+F (Search for computers)
  • Windows Logo+F1 (Display Windows Help)
  • Windows Logo+ L (Lock the keyboard)
  • Windows Logo+R (Open the Run dialog box)
  • Windows Logo+U (Open Utility Manager)

Accessibility keyboard shortcuts


  • Right SHIFT for eight seconds (Switch FilterKeys either on or off)
  • Left ALT+left SHIFT+PRINT SCREEN (Switch High Contrast either on or off)
  • Left ALT+left SHIFT+NUM LOCK (Switch the MouseKeys either on or off)
  • SHIFT five times (Switch the StickyKeys either on or off)
  • NUM LOCK for five seconds (Switch the ToggleKeys either on or off)
  • Windows Logo +U (Open Utility Manager)

Windows Explorer keyboard shortcuts


  • END (Display the bottom of the active window)
  • HOME (Display the top of the active window)
  • NUM LOCK+Asterisk sign (*) (Display all of the subfolders that are under the selected folder)
  • NUM LOCK+Plus sign (+) (Display the contents of the selected folder)
  • NUM LOCK+Minus sign (-) (Collapse the selected folder)
  • LEFT ARROW (Collapse the current selection if it is expanded, or select the parent folder)
  • RIGHT ARROW (Display the current selection if it is collapsed, or select the first subfolder)

Shortcut keys for Character Map

After you double-click a character on the grid of characters, you can move through the grid by using the keyboard shortcuts:
  • RIGHT ARROW (Move to the right or to the beginning of the next line)
  • LEFT ARROW (Move to the left or to the end of the previous line)
  • UP ARROW (Move up one row)
  • DOWN ARROW (Move down one row)
  • PAGE UP (Move up one screen at a time)
  • PAGE DOWN (Move down one screen at a time)
  • HOME (Move to the beginning of the line)
  • END (Move to the end of the line)
  • CTRL+HOME (Move to the first character)
  • CTRL+END (Move to the last character)
  • SPACEBAR (Switch between Enlarged and Normal mode when a character is selected)

Microsoft Management Console (MMC) main window keyboard shortcuts


  • CTRL+O (Open a saved console)
  • CTRL+N (Open a new console)
  • CTRL+S (Save the open console)
  • CTRL+M (Add or remove a console item)
  • CTRL+W (Open a new window)
  • F5 key (Update the content of all console windows)
  • ALT+SPACEBAR (Display the MMC window menu)
  • ALT+F4 (Close the console)
  • ALT+A (Display the Action menu)
  • ALT+V (Display the View menu)
  • ALT+F (Display the File menu)
  • ALT+O (Display the Favorites menu)

MMC console window keyboard shortcuts


  • CTRL+P (Print the current page or active pane)
  • ALT+Minus sign (-) (Display the window menu for the active console window)
  • SHIFT+F10 (Display the Action shortcut menu for the selected item)
  • F1 key (Open the Help topic, if any, for the selected item)
  • F5 key (Update the content of all console windows)
  • CTRL+F10 (Maximize the active console window)
  • CTRL+F5 (Restore the active console window)
  • ALT+ENTER (Display the Properties dialog box, if any, for the selected item)
  • F2 key (Rename the selected item)
  • CTRL+F4 (Close the active console window. When a console has only one console window, this shortcut closes the console)

Remote desktop connection navigation


  • CTRL+ALT+END (Open the Microsoft Windows NT Security dialog box)
  • ALT+PAGE UP (Switch between programs from left to right)
  • ALT+PAGE DOWN (Switch between programs from right to left)
  • ALT+INSERT (Cycle through the programs in most recently used order)
  • ALT+HOME (Display the Start menu)
  • CTRL+ALT+BREAK (Switch the client computer between a window and a full screen)
  • ALT+DELETE (Display the Windows menu)
  • CTRL+ALT+Minus sign (-) (Place a snapshot of the entire client window area on the Terminal server clipboard and provide the same functionality as pressing ALT+PRINT SCREEN on a local computer.)
  • CTRL+ALT+Plus sign (+) (Place a snapshot of the active window in the client on the Terminal server clipboard and provide the same functionality as pressing PRINT SCREEN on a local computer.

Microsoft Internet Explorer navigation


  • CTRL+B (Open the Organize Favorites dialog box)
  • CTRL+E (Open the Search bar)
  • CTRL+F (Start the Find utility)
  • CTRL+H (Open the History bar)
  • CTRL+I (Open the Favorites bar)
  • CTRL+L (Open the Open dialog box)
  • CTRL+N (Start another instance of the browser with the same Web address)
  • CTRL+O (Open the Open dialog box, the same as CTRL+L)
  • CTRL+P (Open the Print dialog box)
  • CTRL+R (Update the current Web page)
  • CTRL+W (Close the current window)

Run Mac OS X on a PC

Here are the steps you'll take to use PearPC to install Mac OS X:
  1. Download the PearPC PowerPC Architecture Emulator.
  2. Obtain hard disk images for use with PearPC.
  3. Obtain images of your client OS installation disk.
  4. Configure PearPC to use the hard disk image and the OS images.

Downloading PearPC

Download the PearPC PowerPC Architecture Emulator. Once it's downloaded, extract its content to a folder, say, [Desktop]:\PearPC. This is the folder that is going to contain all of the files you'll see in the next couple of sections.
Note: [Desktop] refers to the path of my Windows desktop; that is, C:\Documents and Settings\Wei-Meng Lee\Desktop\.

Hard disk images

To install Mac OS X on the emulator, you need a hard disk image. You can download preformatted hard disk images from http://pearpc.net/downloads.php. Two disk sizes are available: 3GB and 6GB. If you plan to install the full Mac OS X, then use the 6GB image. If you have limited disk space on your hard drive, use the smaller, 3GB image. Be aware that the default install of Mac OS X takes up a little more than 3GB, and so you need to unselect certain components during installation if you use the 3GB image.
The disk images come in two formats: BZ2 and RAR. I used the 6GB RAR disk images. You need to uncompress the disk image before you can use it. To uncompress the RAR image, I used WinRAR from http://www.rarlab.com/download.htm. Uncompress the image and save it in the [Desktop]:\PearPC folder.

Making images of your client OS

To install Mac OS X on your hard disk image, you need to make copies of your Mac OS X installation disk in ISO format. You can use Nero or any other disk utility to save CDs or DVDs in ISO format. In my case, I have saved the images in the C:\PearPC folder. I have named the first disk Panther1.iso.
Note: You need to purchase Mac OS X in order to run Mac OS X in PearPC.

Configuring PearPC

Once you've taken the previous steps, you're ready for the final step: configuring PearPC to use the all the relevant disk images. To do it, you need to create a configuration file. You can find the instructions on how to create one manually at http://pearpc.net/guides.php?guides_id=2. Or you can download a Windows application that does all the hard work for you. In my case, I used the PearPC Control Panel to help me manage my Mac OS X emulation.
Launch PearPC Control Panel and click on the Create New Configuration File icon. You will see the first screen as shown in Figure 1. Click on Continue to proceed to the next step.
Figure 1
Figure 1. Using the Create Configuration File wizard
In the next screen, you have to supply a few pieces of information (see Figure 2). First, specify the location of the PearPC emulator. In my case, it is [Desktop]:\PearPC\ppc.exe.
Next, specify the location of the hard disk image; that is, [Desktop]:\PearPC\macosx_6gb.img.
Note: Be sure to replace [Desktop] with your own desktop path.
Also, set the amount of memory you want to set aside for Mac OS X. (I have allocated 255MB.) Click on Continue.
Figure 2
Figure 2. Creating a new configuration file
In the next screen, you have the option to specify the screen resolution and color depth to use. Click on Finish when done (see Figure 3).
Note: I tried to enable networking, but I never got it to work. Also, use G3 and not G4 CPU emulation.
Figure 3
Figure 3. Specifying additional options
Give a name to the configuration file and save the file in the location specified (see Figure 4). Name it Mac OS X Panther and save it in the location [Desktop]:\PearPC\macosxpanther.cfg. Click on Finish.
Figure 4
Figure 4. Completing the wizard
You should now see the icon for your Mac OS X Panther in the PearPC Control Panel (see Figure 5). You need to complete one final step before you start installing Mac OS X on your PC--check the "CD-ROM device is installed" option and specify the location of the Mac OS install disk image. In my case, it is [Desktop]:\Panther1.iso. This is the image that will be used to boot up the emulator.
Figure 5
Figure 5. The completed configuration file
Figure 6 shows the files in my [Desktop]:\PearPC folder. The important files are highlighted.
Figure 6
Figure 6. Files in the PearPC folder
That's it! Double-click on the Mac OS X Panther icon and you should see the PearPC 0.3.0 window pop up (see Figure 7). Your Mac OS X installation should start soon afterward.
Note: It took me quite a while to get my Mac OS X to install. I encountered a number of failed attempts--when I booted into Mac OS X, it prompted me to restart my machine. But after several attempts, it worked.
Figure 7
Figure 7. Installing Mac OS X
Once the OS is installed, you will be asked to restart the machine. For subsequent attempts to run Mac OS X on your emulator, you should uncheck the "CD-ROM device is installed" option so that it can boot directly from the hard disk image. If the installation is performed correctly, you should see something like Figure 8 when Mac OS X boots up.
Figure 8
Figure 8. Mac OS X booting up
Figure 9 shows I am having fun with my newly installed Mac on my PC.
Figure 9
Figure 9. Running Mac OS X on a PC!
And if you still doubt if I am really running Mac OS X on my PC, Figure 10 will prove it to you.
Figure 10
Figure 10. Running Mac OS X in my Windows XP PC

Summary

Before installing PearPC and using Mac OS X, you need to keep several things in mind:
  1. You need a license to run Mac OS X. That is, you need to buy a copy of Mac OS X.
  2. The installation process takes time. Don't install Mac OS X on a slow machine; I tried the steps outlined in this article on three different machines--933MHz, 1.7GHz, and 3.0GHz, all equipped with 512MB of RAM. The 3.0GHz machine installed significantly faster compared with the rest, but it still took me several hours to get all of the installation done. Also, make sure you have lots of free hard disk space. The hard disk image itself takes up 6GB, and the additional installation disk images are going to take up a few more gigabytes.
  3. Even though the installation process is painfully slow, once the system is installed it is actually quite responsive. While you won't be able to fully experience Mac OS X as if you were using a real Mac, the emulation provides a good way for you to try out Mac OS X before you head to the nearest Apple shop to get the latest iMac.
Have fun, and let me know if PearPC works for you

Thursday 11 March 2010

Windows 7 Keyboard Shortcuts

Let's kick off with keyboard shortcuts – the first thing every power user must memorize with working with a new operating system. In Windows 7, we’ve uncovered several new sets of essential time-saving shortcuts that will make your mouse jealous with neglect.

Alt + P

 
In Windows Explorer, activate an additional file preview pane to the right side of the window with this new shortcut. This panel is great for previewing images in your photos directory.

Windows + + (plus key)

Windows + - (minus key)

 
 
Pressing the Windows and plus or minus keys activates the Magnifier, which lets you zoom in on the entire desktop or open a rectangular magnifying lens to zoom in and out of parts of your screen. You can customize the Magnifier options to follow your mouse pointer or keyboard cursor. Keep in mind that so far, the Magnifier only works when Aero desktop is enabled.

Windows + Up

Windows + Down

 If a window is not maximized, pressing Windows + Up will fill it to your screen. Windows + Down will minimize that active window. Unfortunately, pressing Windows + Up again while a window is minimized won’t return it to its former state.

Windows + Shift + Up

 
Similar to the shortcut above, hitting these three keys while a window is active will stretch it vertically to the maximum desktop height. The width of the window will however stay the same. Pressing Windows + Down will restore it to its previous size.

Windows + Left

Windows + Right

 
 
One of the new features of Windows 7 is the ability to automatically make a window fill up half of your screen by dragging to the left or right. This pair of shortcuts performs the same function without your mouse. Once a window is fixed to one side of the screen, you can repeat the shortcut to flip it to the other side. This is useful if you’re extending a desktop across multiple monitors, which prevents you from executing this trick with a mouse.

Windows + Home

This shortcut performs a similar function to hovering over a window’s peek menu thumbnail in the Taskbar. The active window will stay on your desktop while every other open application is minimized. Pressing this shortcut again will restore all the other windows.

Windows + E

 
Automatically opens up a new Explorer window to show your Libraries folder.

Windows + P

 
Manage your multiple-monitor more efficiently with this handy shortcut. Windows + P opens up a small overlay that lets you configure a second display or projector. You can switch from a single monitor to dual-display in either mirror or extend desktop mode.

Windows + Shift + Left

Windows + Shift + Right

If you are using two or more displays (and who isn’t, these days?), memorize this shortcut to easily move a window from one screen to the other. The window retains its size and relative position on the new screen, which his useful when working with multiple documents. Utilize that real estate!

Windows + [Number]

Programs (and new instances) pinned to your Taskbar can be launched by hitting Windows and the number corresponding to its placement on the Taskbar. Windows + 1, for example, launches the first application, while Windows + 4 will launch the fourth. We realize that this is actually one key-press more than just clicking the icon with your mouse, but it saves your hand the trouble of leaving the comfort of the keyboard.

Windows + T

 
Like Alt + Tab (still our all time favorite Windows specific shortcut), Windows + T cycles through your open programs via the Taskbar’s peek menu.

Windows + Space

 
This combo performs the same function as moving your mouse to the bottom right of the Taskbar. It makes every active window transparent so you can view your desktop. The windows only remain transparent as long as you’re holding down the Windows key.

Ctrl + Shift + Click

Hold down Ctrl and Shift while launching an application from the Taskbar or start menu to launch it with full administrative rights.

Ctrl + Click

Hold down Ctrl while repeatedly clicking a program icon in the Taskbar will toggle between the instances of that application, like multiple Firefox windows (though not browser tabs).