Showing posts with label network tricks. Show all posts
Showing posts with label network tricks. Show all posts

Friday, August 28, 2009

creating a customised user account

Many people create user accounts using useraccounts option present in controlpanel.............right
but do u know that we can create user accounts using command prompt? many noobs dont know this trick
so am making this tutorial for them.
To create an account using dos
follow these steps
1. goto run dialogue box or use this shortcut "windows key+r"
2.Type cmd and press enter
3.Now type c:\net user to see the list of accounts present in ur system.
4.Now create a user account that doesnt exist using
c:\net user batman xxx /add and press enter
command actually creates an account named batman with password xxx and /add
adds the user batman to the current users
5. Now u can confirm that whether this account has been added or not by issuing
c:\net user command again .which in turn displays list of user accounts present in ur system

Now comes the interesting part
.............................................

let us consider a scenario in which u wanna create an account or user who can access the account
only in da specified days in a week and in da specified time then wat would u do ..................
confused ok let me tell u how u can do that easily
for example take da batman account that we hav created.I want to make restrictions on batman account such that he can access my system from "monday to sunday" and in between the timings
"10am to 1pm " because after 1pm i want another user to login this computer to learn his lessons.
to accomplish the above task

c:\net user batman /time: M-SU,10am-1pm

congrats you hav successfully created a customised user account
Read rest of entry

Monday, August 24, 2009

flushdns demystified

Before telling about flushdns let me first tell you about IP address,Dns....
Any computer connected to internet has a unique address called as IP address.It is a 32 bit address in the form xx.xx.xx.xx where xx takes the values from 0-255.
IP address is similar to our house address .As our house address helps people to xactly pinpoint our location on this earth which helps them to send letters,couriers and to come and meet us directly.In the same way IP address helps to determine the location of a computer so that data is sent exactly to the recipients address.But we humans cannot remember many IP addresses it wud b nice to remember them if the address is denoted in the form of letters and words.
here comes the usage of DNS .
Dns(Domain Naming system):- Dns maps ip addressess to human understandable address for example ip address of google.com is 66.249.89.104.It is easy to remember google.com than remembering this lengthy ip address.Also at times IP referring to a domain may change but domainname remains constant.In such cases domain names are very useful.On the other hand Computers cannot find a computer/host using domain name hence their first step is to convert Domainname into IPaddress .
To do the above step it has to connect to a Dns server known as Primary Dns server requesting what is the ip addresses of this domain name.
Dns server inturn looksup into its table and returns IP address of that paricular domain.If the primary dns server fails to return ip address our computer connects a secondary Dns server which will fiannly give its Ip addresses.
After recieving this IP addrs our system stores these addresses in dnscache for frequent usage .But sometimes due to cache poisoning or some other reason Dns cache doesnot map IP address-domain names correctly so we cannot browse the net.
now wat we hav to do is just "flushdns" thru the command c:\ipconfig /flushdns.
Some times our system responds saying that couldnot flush the dns resolver cache .
This implies that Dns client sevice is not running on our computer .
Now goto "run" type services.msc .Look for a service called DNS client.
Now right click and select properties.Now select startup type as manual or automatic and click on the start button to start the Dns client service.Now our command
c:\ipconfig /flushdns works fine


Read rest of entry
 

Computers made easy 4all Copyright © 2009 Gadget Blog is Designed by Ipietoon Sponsored by Online Business Journal