Just to make sure, I hope you are not using the POS 24online client or the Sify dialler on either of ur machine..If yes, this method won't work
OK here we go:
1- A= PC1 that is ur desktop, B=PC2 that is ur laptop
2- A-> GO to Contol Panel>Network Connections>LANn > Properties
3- Click on TCP/IP, assign a Private IP range static IP..I suggest 192.168.0.1 (there is a reason for this , we'll come to that later)
4- Set Subnet Mask 255.255.255.0, Leave gateway field blank, Leave the DNS server field blank
5- Go to the Firewall Tab. Diasable the Firewall completely for this NIC (We can tweak this etting later) for now, just disable)
6- Go to PC B
7- B-> GO to Contol Panel>Network Connections>LANn > Properties
8- Click on TCP/IP,
a) assign a Private IP range static IP 192.168.0.2
Else b) Select Obtain IP address automatically
I strongly suggest option (a) as you are not planning to set up multiple PCs on the network
9 - Set Subnet Mask 255.255.255.0, Set gateway as 192.168.0.1, DNS server field as 192.168.0.1
10- Disable firewall completely
11- I'd also suggest Enabling file sharing (permission- All) between the two machines so that any user ID related conflicyts do not arise
11- Make physical connections and try ping both ways....
12- Explanation for 3...If you later want to share an Internet connection b/w ur PC and Laptop, XPs built-in ICS is hard-coded to use 192.168.0.1 as the default gateway IP for the 2nd PC...so might as well set that as the IP for this connection so there are no probs in the future....