Scrolling Text

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks

Welcome to My Blog !

By : Nirdosh Dhakal
I'm, here at this regular post Free Software, Computer Problem Solving, Tips, Tricks & Tutorial. Various stuff to change Windows look & feel. In this article, I'm going to list some of my best and most exclusive articles for you. So take your time and make sure you haven't missed any of them?

04 February 2015

Command Line User Administration Tutorial for Windows User ?

People working on linux machine when shift to windows machine for sometimes or accidently, then they also like to work on command line even on windows machines.This article is all about how to manage user through command line in windows machine This tutorial is helpful not only for computer geeks,working employee but also for students who love to work in command mode even in Windows PC .In this article like unix/linux we will learn how to manage users in CLI mode on windows machine.We learn how to create,delete,list,see users and manage them.
 

See list of users present in your windows machine.If you are working on a windows machine and you want to know how many users are in this machine you can use "net users" command to see the list.Even few more intresting commands are available there to show you the users in brief and in detail.








C:\Users\slashroot>net users
User accounts for \\SLASHROOT-PC
 -------------------------------------------------------------------------------
Administrator            Guest                    linux
root                     slashroot
The command completed successfully.

Even you can use wmic command to see brief and full information of list of users available in your windows machine.





C:\Users\slashroot>wmic useraccount list brief
C:\Users\slashroot>wmic useraccount list full
C:\Windows\system32>wmic useraccount get name
See the list of users groups present in your local machine.

C:\Windows\system32>net localgroup
Know the username of loged in user.
If you want to know what the exactly name of the user you are loged in you can use below command .

C:\Users\slashroot>echo %username%

Know who loging now.
This command is same as it is in unix based machine and helps you to know user from which you logged in, in both wondowa and unix/linux.
C:\Users\slashroot>whoami

Adding a new user.
If you want to add a new user to youe windows machine you can use any of two command given below.





C:\Users\slashroot>net user satish satish123 /add
or
C:\Users\slashroot>net user  /add slashroot slashroot123
Note:In above command satish and slashroot are the name of the users and satish123 and slashroot123 are their passwords.

See the detail information of a particular user.

If you want to know detail information about any existing users like their expiry date,full name etc  you can use this command.This command will give you complete details about an user.Here in example the command launched is used to see the detail information of user satish.

C:\Users\slashroot>net user satish
Deleting user in windows machine.
If you want to delete any of your existing user in your windows machine you can go with below command.

C:\Users\slashroot>net user  slashroot /del
Enable or Disable a Windows User.
When you purchase your Laptop or PC  with windows7/vista installed in it,Bydefault administrator user is disabled.So if you want to enable your administrator user you can use the below command with option "/active:yes ".In similar fashion if you want to disable your user you can use the same coomand with option "/active:no".




C:\Users\slashroot>net user  administrator /active:yes
C:\Users\slashroot>net user  administrator /active:no
Force windows machine to generate random password for Your windows user.
If you want to use a strong password you can use this command and force windows machine to produce a random and strong password for your user.Here we use below command to add a user named satish and then generate a random password for him.

C:\Users\slashroot>net user  satish /random /add
Change password of any user.
Below command is used when you want to change the password of any user.Here we are going to change the password of user satish.




C:\Windows\system32>net user satish *
Type a password for the user:Retype the password to confirm:
The command completed successfully.
Stop users from changing their own password.
Bydefault users can change their password,but if you want user cannot change their own password you can use below command.


C:\Windows\system32>net user satish satish123  /passwordchg:no
But again if you change your mind and want to allow users to change their password you can simply use below command.

C:\Windows\system32>net user satish satish123  /passwordchg:yes
Set Expiry dates for users.
Bydefault account expires set to never.So if you want to set accout expiry date for user satish to Never you don't need to run any command because already account expires set to Never.

C:\Windows\system32>net user satish satish123  /expires:never
But if you want to set user account expiry date according to your requirement you can follow the below command.

C:\Windows\system32>net user satish satish123  /expires:mm/dd/yy
Now see the example:Here i am going to set account expiry date for user satish to 26th january2014.

C:\Windows\system32>net user satish satish123  /expires:01/26/2014
Disable password for a account.
We can disable or enable password for any windows user using below command.In your windows machine bydefault it is set to Yes which means there must have a password for that user.But if you want to disable user password you just use the option NO at last in below command.




C:\Windows\system32>net user satish satish123  /passwordreq:yes
C:\Windows\system32>net user satish satish123  /passwordreq:no
Set time for user logon.
If you want your users to be always logged on you can use below command.This command is even more intresting so you can take help from windows command promt using  "?". It will show you many more options so that you can use it according to your needs.

C\Windows\system32>net user satish satish123  /times:ALL
Know Last Login Time of a User.
So how to know the last logged in time of a user in your windows machnie using command promt.


C:\Windows\system32>net user administrator | findstr /B /C:"Last logon"
Locking and Unlocking a User Account
So now learn how to lock and unlock a user account in windows machine using command promt.You can see below command to know how to lock or unlock windows users through CLI.



C:\Windows\system32>wmic useraccount where name='satish' set disabled=false
C:\Windows\system32>wmic useraccount where name='satish' set disabled=true
How to add a user to group.
net localgroup groupname username /add

eg:we want to add user satish to a group named LINUX.
C:\>net localgroup LINUX satish /add

How to see the users of a specific group.
c:\>net localgroup groupname

eg:Below command will show us about the users of LINUX group.
C:\>net localgroup LINUX

How to delete a user from group.
Below syntax is for deleting any user from any group.
net localgroup groupname username /delete

eg:Suppose if you want to delete user satish from group LINUX then use below command.

net localgroup LINUX satish /delete

How to see the setting of current user.
Below command is used to see the all important settings of of current user.

net accounts
 
How to change the minimum password length:
Using this command one can change the minimum password length.It means no one can assign password below set minimum password length.

net accounts /MINPWLEN:5

How to set password expiry period
Now if you want to set expiry date for password you can use this command.In below example we are going to set password age to 120 days.

net accounts /MAXPWAGE:120

How to set the Password such that it never expire.

net accounts /MAXPWAGE:UNLIMITED
Above command will set password expiry date to never.

How to prevent users from reusing any previous passwords used in past.


net accounts /UNIQUEPW:4

Note:You have to run these commands as Administrator or got cmd promt and run as administrator if you are loggedin from any other user.

06 April 2014

How To Break Password Behind The Stars !!

Ever wanted to know what is behind those ******** passwords. For example if you want to know password from facebook account that somebody else have typed and left it. Here is post which will help you..

1)How to break hidden passwords ******** in firefox

This is simple. Just copy and paste the following javascript code when in your address bar whenever you are on a site with a login form and it will display the password behind ****** right away.



2)How to break hidden passwords ******** in Internet Explorer

Download Asterisk Key and run it. When you are on a site with a login form click Show Internet Explorer Passwords
Download: Asterisk Key

2)How to break hidden passwords ******** in some applications

To do it, you should use free password reader utility called SC-PassUnleash. But, it only works on certain FTP clients and email clients.
Download: SC-PassUnleash  

101 Very useful websites to make life easier !!

The sites mentioned below will solve at least one problem of yours. This Little known websites would be of great help.
01. screenr.com – record movies of your desktop and send them straight to YouTube.
02. bounceapp.com – for capturing full length screenshots of web pages.
03. goo.gl – shorten long URLs and convert URLs into QR codes.
04. untiny.me – find the original URLs that’s hiding behind a short URLs.
05. localti.me – know more than just the local time of a city
06. copypastecharacter.com – copy special characters that aren’t on your keyboard.
07. topsy.com – a better search engine for twitter.
08. fb.me/AppStore – search iOS app without launching iTunes.
09. iconfinder.com – the best place to find icons of all sizes.
10. office.com – download templates, clipart and images for your Office documents.
11. woorank.com – everything you wanted to know about a website.
12. virustotal.com – scan any suspicious file or email attachment for viruses.
13. wolframalpha.com – gets answers directly without searching  – see morewolfram tips.
14. printwhatyoulike.com – print web pages without the clutter.
15. joliprint.com – reformats news articles and blog content as a newspaper.
16. isnsfw.com – when you wish to share a NSFW page but with a warning.
17. e.ggtimer.com – a simple online timer for your daily needs.
18. coralcdn.org – if a site is down due to heavy traffic, try accessing it through coral CDN.
19. random.org – pick random numbers, flip coins, and more.
20. mywot.com – check the trust level of any website – example.
21. viewer.zoho.com – Preview PDFs and Presentations directly in the browser.
22. tubemogul.com – simultaneously upload videos to YouTube and other video sites.
23. truveo.com – the best place for searching web videos.
24. scr.im – share you email address online without worrying about spam.
25. spypig.com – now get read receipts for your email.
26. sizeasy.com – visualize and compare the size of any product.
27. whatfontis.com – quickly determine the font name from an image.
28. fontsquirrel.com – a good collection of fonts – free for personal and commercial use.
29. regex.info – find data hidden in your photographs – see more EXIF tools.
30. tineye.com – this is like an online version of Google Googles.
31. iwantmyname.com – helps you search domains across all TLDs.
32. tabbloid.com – your favorite blogs delivered as PDFs.
33. join.me – share you screen with anyone over the web.
34. onlineocr.net – recognize text from scanned PDFs and images – see otherOCR tools.
35. flightstats.com – Track flight status at airports worldwide.
36. wetransfer.com – for sharing really big files online.
37. pastebin.com – a temporary online clipboard for your text and code snippets.
38. polishmywriting.com – check your writing for spelling or grammatical errors.
39. awesomehighlighter.com – easily highlight the important parts of a web page.
40. typewith.me – work on the same document with multiple people.
41. whichdateworks.com – planning an event? find a date that works for all.
42. everytimezone.com – a less confusing view of the world time zones.
43. warrick.cs.odu.edu – you’ll need this when your bookmarked web pages are deleted.
44. gtmetrix.com – the perfect tool for measuring your site performance online.
45. imo.im – chat with your buddies on Skype, Facebook, Google Talk, etc. from one place.
46. translate.google.com – translate web pages, PDFs and Office documents.
47. youtube.com/leanback – enjoy a never ending stream of YouTube videos in full-screen.
48. similarsites.com – discover new sites that are similar to what you like already.
49. wordle.net – quick summarize long pieces of text with tag clouds.
50. bubbl.us – create mind-maps, brainstorm ideas in the browser.
51. kuler.adobe.com – get color ideas, also extract colors from photographs.
52. followupthen.com – setup quick reminders via email itself.
53. lmgtfy.com – when your friends are too lazy to use Google on their own.
54. tempalias.com – generate temporary email aliases, better thandisposable email.
55. pdfescape.com – lets you can quickly edit PDFs in the browser itself.
56. faxzero.com – send an online fax for free – see more fax services.
57. feedmyinbox.com – get RSS feeds as an email newsletter.
58. isendr.com – transfer files without uploading to a server.
59. tinychat.com – setup a private chat room in micro-seconds.
60. privnote.com – create text notes that will self-destruct after being read.
61. flightaware.com – live flight tracking service for airports worldwide.
62. boxoh.com – track the status of any shipment on Google Maps –alternative.
63. chipin.com – when you need to raise funds online for an event or a cause.
64. downforeveryoneorjustme.com – find if your favorite website is offline or not?
65. example.com – this website can be used as an example in documentation.
66. whoishostingthis.com – find the web host of any website.
67. google.com/history – found something on Google but can’t remember it now?
68. errorlevelanalysis.com – find whether a photo is real or a photoshopped one.
69. google.com/dictionary – get word meanings, pronunciations and usage examples.
70. urbandictionary.com – find definitions of slangs and informal words.
71. seatguru.com – consult this site before choosing a seat for your next flight.
72. sxc.hu – download stock images absolutely free.
73. zoom.it – view very high-resolution images in your browser without scrolling.
74. wobzip.org – unzip your compressed files online.
75. vocaroo.com – record your voice with a click.
76. scribblemaps.com – create custom Google Maps easily.
77. buzzfeed.com – never miss another Internet meme or viral video.
78. alertful.com – quickly setup email reminders for important events.
79. encrypted.google.com – prevent your ISP and boss from reading your search queries.
80. formspring.me – you can ask or answer personal questions here.
81. snopes.com – find if that email offer you received is real or just another scam.
82. typingweb.com – master touch-typing with these practice sessions.
83. mailvu.com – send video emails to anyone using your web cam.
84. ge.tt – quickly send a file to someone, they can even preview it before downloading.
85. timerime.com – create timelines with audio, video and images.
86. stupeflix.com – make a movie out of your images, audio and video clips.
87. aviary.com/myna – an online audio editor that lets record, and remix audio clips online.
88. noteflight.com – print music sheets, write your own music online (review).
89. disposablewebpage.com – create a temporary web page that self-destruct.
90. namemytune.com – when you need to find the name of a song.
91. homestyler.com – design from scratch or re-model your home in 3d.
92. snapask.com – use email on your phone to find sports scores, read Wikipedia, etc.
93. teuxdeux.com – a beautiful to-do app that looks like your paper dairy.
94. livestream.com – broadcast events live over the web, including your desktop screen.
95. bing.com/images – automatically find perfectly-sized wallpapers for mobiles.
96. historio.us – preserve complete web pages with all the formatting.
97. dabbleboard.com – your virtual whiteboard.
98. whisperbot.com – send an email without using your own account.
99. sumopaint.com – an excellent layer-based online image editor.
100. lovelycharts.com – create flowcharts, network diagrams, sitemaps, etc.
101. nutshellmail.com – Get your Facebook and Twitter streams in your inbox.

Running Multiple Google Talk !




-: Running Multiple Instances of Google Talk :-


Top 10 Important command prompt's commands !

1. ipconfig :
                  This is the top most command for seeing the ip address,subnet mask and default gateway also includes display and flush DNS cache, re-register the system name in DNS..  This will most useful tool for viewing and troubleshooting TCP/IP problem.




  • To view ip ,subnet mask address : ipconfig
  • To view all TCP/IP information, use: ipconfig /all
  • To view the local DNS cache, use: ipconfig /displaydns
  • To delete the contents in the local DNS cache, use: ipconfig /flushdns 
  •  
2.systeminfo

Have a need to display operating system configuration information for a local or remote machine, including service pack levels? Then systeminfo is the tool to use. When I need to connect to a system that I am not familiar with, this is the first tool I run. The output of this command gives me all the info I need including: host name, OS type, version, product ID, install date, boot time and hardware info (processor and memory). Also knowing what hot fixes are installed can be a big help when troubleshooting problems. This tool can be used to connect to a machine remotely using the following syntax: SYSTEMINFO /S system /U user



 
3. tasklist and taskkill 

If you work with Task Manager (ctrl+alt+del) ,you can easily understand this.  Task list is list of task which are running on windows currently.  If you open any application,it will be added to task.

To List the Tasks type in cmd as :


          tasklist
 This will show the list of task which are running as shown in the picture



To stop the Process or task ,there is two methods :
Using Image Name:
   We can kill the task using its Image Name as follows:

                       tasklist /im notepad.exe



Using Process Id:
  we can stop the process using its process id as follows :

                tasklist /pid 1852



4. type
 type is used to read the text document in command prompt .  You can read multiple text in continuously


type filename.txt



5.netstat
Need to know who (or what) is making a connection to your computer? Then netstat is the tool you want to run. The output provides valuable information of all connections and listening ports, including the executable used in the connections. In additon to the above info, you can view Ethernet statistics, and resolve connecting host IP Addresses to a fully qualified domain name. I usually run the netstat command using the -a (displays all connection info), -n (sorts in numerical form) and -b (displays executable name) switches.




6.net command
Although this tool is more known as a command, the net command is really like a power drill with different bits and is used to update, fix, or view the network or network settings.
It is mostly used for viewing (only services that are started), stopping and starting services:
    • net stop server
    • net start server
    • net start (display running services)
and for connecting (mapping) and disconnecting with shared network drives:
    • net use m: \\myserver\sharename
    • net use m: \\myserver\sharename /delete
Other commands used with net command are, accounts (manage user accounts), net print (manage print jobs), and net share (manage shares).
Below are all the options that can be used with the net command.

[ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |HELPMSG | LOCALGROUP | PAUSE | PRINT | SESSION | SHARE | START |STATISTICS | STOP | TIME | USE | USER | VIEW ]
7 - nslookup - With the Internet, DNS (Domain Name Service) is the key for allowing us to use friendly names when surfing the web instead of needing to remember IP Addresses. But when there are problems, nslookup can be a valuable tool for testing and troubleshooting DNS servers.
Nslookup can be run in two modes: interactive and noninteractive. Noninteractive mode is useful when only a single piece of data needs to be returned. For example, to resolve google.com:


To use the interactive mode, just type nslookup at the prompt. To see all available options, type helpwhile in interactive mode.



Don't let the help results intimidate you. Nslookup is easy to use. Some of the options I use when troubleshooting are:
set ds (displays detailed debugging information of behind the scenes communication when resolving an host or IP Address).
set domain (sets the default domain to use when resolving, so you don't need to type the fully qualified name each time).
set type (sets the query record type that will be returned, such as A, MX, NS)
server NAME (allows you to point nslookup to use other DNS servers than what is configured on your computer)
To exit out of interactive mode, type exit .

8 - ping and tracert - These tools can be helpful with connectivity to other systems. Ping will test whether a particular host is reachable across an IP network, while tracert (traceroute) is used to determine the route taken by packets across an IP network.
To ping a system just type at the prompt: ping www.google.com. By default, ping will send three ICMP request to the host and listen for ICMP “echo response” replies. Ping also includes switches to control the number of echo requests to send (-n ), and to resolve IP addresses to hostname (-a ).
To use tracert, type at the prompt: tracert www.google.comYou can force tracert to not resolve address to hostnames by using the -d switch, or set the desired timeout (milliseconds) for each reply using -w switch.
9 - gpresult - Used mostly in environments that implement group poicies, gpresults (Group Policy Results) verifies all policy settings in effect for a specific user or computer. The command is simple to use, just enter gpresults at the prompt. It can also be used to connect to computers remotely using the /S and /U switches.
10 - netsh - Without a doubt the most powerful command line tool available in Windows. Netsh is like the swiss army knife for configuring and monitoring Windows computers from the command prompt. It capabilities include:
  • Configure interfaces
  • Configure routing protocols
  • Configure filters
  • Configure routes
  • Configure remote access behavior for Windows-based remote access routers that are running the Routing and Remote Access Server (RRAS) Service
  • Display the configuration of a currently running router on any computer
Some examples of what you can do with netsh:
  • Enable or disable Windows firewall:

netsh firewall set opmode disable
netsh firewall set opmode disable
  • Enable or disable ICMP Echo Request (for pinging) in Windows firewall:

netsh firewall set icmpsetting 8 enable
netsh firewall set icmpsetting 8 disable
  • Configure your NIC to automatically obtain an IP address from a DHCP server:

netsh interface ip set address "Local Area Connection" dhcp
(For the above command, if your NIC is named something else, use netsh interface ip show config and replace the name at Local Area Connection).
As you can see netsh can do alot. Instead of re-inventing the wheel, check out the following Microsoftarticle for more info on netsh.