Wednesday, June 15, 2011

How to use windows command line


Command Line is a very powerful tool, but most of us are scared to use it because we are unware of the commands. But dont worry. Here is an A to Z Index of the Windows command line
ADDUSERS Add or list users to/from a CSV file
ARP Address Resolution Protocol
ASSOC Change file extension associations•
ASSOCIAT One step file association
ATTRIB Change file attributes
b
BOOTCFG Edit Windows boot settings
BROWSTAT Get domain, browser and PDC info
c
CACLS Change file permissions
CALL Call one batch program from another•
CD Change Directory - move to a specific Folder•
CHANGE Change Terminal Server Session properties
CHKDSK Check Disk - check and repair disk problems
CHKNTFS Check the NTFS file system
CHOICE Accept keyboard input to a batch file
CIPHER Encrypt or Decrypt files/folders
CleanMgr Automated cleanup of Temp files, recycle bin
CLEARMEM Clear memory leaks
CLIP Copy STDIN to the Windows clipboard.
CLS Clear the screen•
CLUSTER Windows Clustering
CMD Start a new CMD shell
COLOR Change colors of the CMD window•
COMP Compare the contents of two files or sets of files
COMPACT Compress files or folders on an NTFS partition
COMPRESS Compress individual files on an NTFS partition
CON2PRT Connect or disconnect a Printer
CONVERT Convert a FAT drive to NTFS.
COPY Copy one or more files to another location•
CSCcmd Client-side caching (Offline Files)
CSVDE Import or Export Active Directory data
d
DATE Display or set the date•
DEFRAG Defragment hard drive
DEL Delete one or more files•
DELPROF Delete NT user profiles
DELTREE Delete a folder and all subfolders
DevCon Device Manager Command Line Utility
DIR Display a list of files and folders•
DIRUSE Display disk usage
DISKCOMP Compare the contents of two floppy disks
DISKCOPY Copy the contents of one floppy disk to another
DISKPART Disk Administration
DNSSTAT DNS Statistics
DOSKEY Edit command line, recall commands, and create macros
DSACLs Active Directory ACLs
DSAdd Add items to active directory (user group computer)
DSGet View items in active directory (user group computer)
DSQuery Search for items in active directory (user group computer)
DSMod Modify items in active directory (user group computer)
DSMove Move an Active directory Object
DSRM Remove items from Active Directory
e
ECHO Display message on screen•
ENDLOCAL End localisation of environment changes in a batch file•
ERASE Delete one or more files•
EVENTCREATE Add a message to the Windows event log
EXIT Quit the current script/routine and set an errorlevel•
EXPAND Uncompress files
EXTRACT Uncompress CAB files
f
FC Compare two files
FIND Search for a text string in a file
FINDSTR Search for strings in files
FOR /F Loop command: against a set of files•
FOR /F Loop command: against the results of another command•
FOR Loop command: all options Files, Directory, List•
FORFILES Batch process multiple files
FORMAT Format a disk
FREEDISK Check free disk space (in bytes)
FSUTIL File and Volume utilities
FTP File Transfer Protocol
FTYPE Display or modify file types used in file extension associations•
g
GLOBAL Display membership of global groups
GOTO Direct a batch program to jump to a labelled line•
GPUPDATE Update Group Policy settings
h
HELP Online Help
i
iCACLS Change file and folder permissions
IF Conditionally perform a command•
IFMEMBER Is the current user in an NT Workgroup
IPCONFIG Configure IP
k
KILL Remove a program from memory
l
LABEL Edit a disk label
LOCAL Display membership of local groups
LOGEVENT Write text to the NT event viewer
LOGOFF Log a user off
LOGTIME Log the date and time in a file
m
MAPISEND Send email from the command line
MBSAcli Baseline Security Analyzer.
MEM Display memory usage
MD Create new folders•
MKLINK Create a symbolic link (linkd)
MODE Configure a system device
MORE Display output, one screen at a time
MOUNTVOL Manage a volume mount point
MOVE Move files from one folder to another•
MOVEUSER Move a user from one domain to another
MSG Send a message
MSIEXEC Microsoft Windows Installer
MSINFO Windows NT diagnostics
MSTSC Terminal Server Connection (Remote Desktop Protocol)
MUNGE Find and Replace text within file(s)
MV Copy in-use files
n
NET Manage network resources
NETDOM Domain Manager
NETSH Configure Network Interfaces, Windows Firewall & Remote access
NETSVC Command-line Service Controller
NBTSTAT Display networking statistics (NetBIOS over TCP/IP)
NETSTAT Display networking statistics (TCP/IP)
NOW Display the current Date and Time
NSLOOKUP Name server lookup
NTBACKUP Backup folders to tape
NTRIGHTS Edit user account rights
o
OPENFILES Query or display open files
p
PATH Display or set a search path for executable files•
PATHPING Trace route plus network latency and packet loss
PAUSE Suspend processing of a batch file and display a message•
PERMS Show permissions for a user
PERFMON Performance Monitor
PING Test a network connection
POPD Restore the previous value of the current directory saved by PUSHD•
PORTQRY Display the status of ports and services
POWERCFG Configure power settings
PRINT Print a text file
PRNCNFG Display, configure or rename a printer
PRNMNGR Add, delete, list printers set the default printer
PROMPT Change the command prompt•
PsExec Execute process remotely
PsFile Show files opened remotely
PsGetSid Display the SID of a computer or a user
PsInfo List information about a system
PsKill Kill processes by name or process ID
PsList List detailed information about processes
PsLoggedOn Who's logged on (locally or via resource sharing)
PsLogList Event log records
PsPasswd Change account password
PsService View and control services
PsShutdown Shutdown or reboot a computer
PsSuspend Suspend processes
PUSHD Save and then change the current directory•
q
QGREP Search file(s) for lines that match a given pattern.
r
RASDIAL Manage RAS connections
RASPHONE Manage RAS connections
RECOVER Recover a damaged file from a defective disk.
REG Registry: Read, Set, Export, Delete keys and values
REGEDIT Import or export registry settings
REGSVR32 Register or unregister a DLL
REGINI Change Registry Permissions
REM Record comments (remarks) in a batch file•
REN Rename a file or files•
REPLACE Replace or update one file with another
RD Delete folder(s)•
RMTSHARE Share a folder or a printer
ROBOCOPY Robust File and Folder Copy
ROUTE Manipulate network routing tables
RUNAS Execute a program under a different user account
RUNDLL32 Run a DLL command (add/remove print connections)
s
SC Service Control
SCHTASKS Schedule a command to run at a specific time
SCLIST Display NT Services
SET Display, set, or remove environment variables•
SETLOCAL Control the visibility of environment variables•
SETX Set environment variables permanently
SFC System File Checker
SHARE List or edit a file share or print share
SHIFT Shift the position of replaceable parameters in a batch file•
SHORTCUT Create a windows shortcut (.LNK file)
SHOWGRPS List the NT Workgroups a user has joined
SHOWMBRS List the Users who are members of a Workgroup
SHUTDOWN Shutdown the computer
SLEEP Wait for x seconds
SLMGR Software Licensing Management (Vista/2008)
SOON Schedule a command to run in the near future
SORT Sort input
START Start a program or command in a separate window•
SU Switch User
SUBINACL Edit file and folder Permissions, Ownership and Domain
SUBST Associate a path with a drive letter
SYSTEMINFO List system configuration
t
TASKLIST List running applications and services
TASKKILL Remove a running process from memory
TIME Display or set the system time•
TIMEOUT Delay processing of a batch file
TITLE Set the window title for a CMD.EXE session•
TLIST Task list with full path
TOUCH Change file timestamps
TRACERT Trace route to a remote host
TREE Graphical display of folder structure
TYPE Display the contents of a text file•
u
USRSTAT List domain usernames and last login
v
VER Display version information•
VERIFY Verify that files have been saved•
VOL Display a disk label•
w
WHERE Locate and display files in a directory tree
WHOAMI Output the current UserName and domain
WINDIFF Compare the contents of two files or sets of files
WINMSD Windows system diagnostics
WINMSDP Windows system diagnostics II
WMIC WMI Commands
x
XCACLS Change file and folder permissions
XCOPY Copy files and folders

Some useful shortcuts in Microsoft Words



Ctrl+Shift+Up Arrow : Select to the Beginning of the paragraph
Ctrl+Shift+END : Select to the End of the Document
Ctrl+Shift+HOME : Select to the Beginning of the Document
Ctrl+Shift+> : Increase Font Size
Ctrl+Shift+D : Double Underline the selected document
Alt+Shift+D : Insert Date Field at current insertion location
Ctrl+G : Go to option
Ctrl+F : Find
Ctrl+J : Justified Align
Alt+F10 : To Maximize Window
Ctrl+F2 : Print Preview
Shift+F3 : Change Case
Shift+F7 : Thesaurus
Ctrl+Shift+F12 : To Print
Ctrl+P : To Print
F3 : Autotext insertion
F4 : Repetition of Last Action (Repeat Last Command)
F8 : To Extend Selection

Windows 7 Theme Manager


Windows 7 Theme Manager

Windows Theme Manager is a -One Click- Windows 7 Themes manager designed to help you install and manage Windows 7 themes. Windows Theme Manager manages all your windows 7 themes in -One Click- and comes with 100's of free High quality windows seven themes. It is better than the inbuilt theme manager in Windows. The Theme Manager comes with its own database that lets you connect in real-time to our themes database containing hundreds of professionally designed themes for Windows 7. 

You get instant access to hundreds of themes that you can install in just -One Click.- No more browsing across multiple themes site in search for your favorite themes. Managing themes on your Windows 7 computer has never been easier.
The inbuilt theme catalogue is instantly updated via the Internet any time the program starts. This guarantees you access to the latest themes. This program is bound to breathe new life into your desktop. 

Theme Management
You can switch between themes at your liking in just a single click. On the -Install theme- tab you get easy access to all themes installed on your system, sorted by categories. You can select one or more themes for deletion. This way you can keep your themes directory uncluttered. 
The theme manager provides you with these benefits:

- Save time with our one click themes install. Any theme can be install with just one click.
- Easy access to hundreds of professional quality themes
- Easy management of themes via our intuitive GUI
- Change your theme in just one click. No more clicking several buttons to get new theme. We do all the hard work for you by collecting and updating all the themes for you.
- Delete one or more themes from your computer in just two easy clicks




Tuesday, June 14, 2011

Multi Desktop on Windows 7

One of the cool feature of a Linux desktop is the option of having more than one desktop. Generally all linux distros come bundled with this application where you can switch between 4 virtual desktop. you can even increase the numbers. Now this is a cool feature because when you are opening so many windows, sometime you are minimizing and maximizing continuously. You can change the desktop instead and can open many more windows without minimizing anything.

WindowsPager is not a new tool, but the latest update brings seamless integration to Windows 7. It is an opensource portable pager utility for Windows that creates four virtual desktops(also called virtual workspaces).
It integrates perfectly in the Windows 7 taskbar(also called superbar) with complete preview of apps running in virtual desktops. Clicking each icon will take you to it’s respective virtual desktop.
Apart from switching the desktops by clicking the icons in the taskbar, you can also switch by right-clicking any Windows title bar and selecting the virtual desktops.

ou will be surprised to know that the preview of virtual desktops in the taskbar is live, which means that you will see which windows are open in each desktop and where they are positioned. To test this feature hold any window and move it around the desktop, watching the preview in the taskbar.
It works on Windows XP, Windows Vista, and Windows 7. You will find executables for both 32-bit and 64-bit OS inside the zip archive. It is a portable tool which weights around 500Kb only and can run straight from the USB drive. 

Saturday, May 21, 2011

How to Back up Windows 7 activation file—activate automatically when reinstall

Windows activation process is a bother for people who keep formatting their drives because they love experimenting with their systems. But online activation doesnot work after few times and then you have to talk to a machine or man to get it activated on phone.

Now what if I tell you that it is possible to backup your activation files and after fresh install just copy these files back and your windowes 7 will be activated. Nothing is impossible in this world. so here is the trick:


make two batch files, then you can handle it easily.
(1) Execution about two “batch files”:
1. Back up activation file “batch”
---------------------------------------------------------------------------
  @echo off
  copy %windir%System32spptokenspkeyconfigpkeyconfig .xrm-ms
  copy %windir%
ServiceProfilesNetworkServiceAppDataRoamingMi crosoftSoftwareProtectionPlatformtokens.dat
  pause
  exit
  ---------------------------------------------------------------------------
Copy the contents above and paste to notepad, save as the file “activation backup.bat”.

2. Resume activation file “batch”
 @echo off
  net stop sppsvc /y
takeown /f "%WinDir%System32spptokenspkeyconfigpkeyconfig.xrm-ms&q
ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatformtokens.dat" /e /g everyone:f
  cacls "%WinDir%System32spptokenspkeyconfigpkeyconfig.xrm-ms" /e /g everyone:f
  ren "%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatformtokens.dat" "tokens.bak"
  ren "%WinDir%System32spptokenspkeyconfigpkeyconfig.xrm-ms" "pkeyconfig.bak"
  copy tokens.dat "%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatform"
  copy pkeyconfig.xrm-ms "%WinDir%System32spptokenspkeyconfig"
  del "%WinDir%ServiceProfilesNetworkServiceAppDataRoamingMicrosoftSoftwareProtectionPlatformtokens.bak"
  del "%WinDir%System32spptokenspkeyconfigpkeyconfig.bak"
  net start sppsvc
  cscript %windir%system32slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
  cscript %windir%system32slmgr.vbs –ato
replace the “XXXXX-XXXXX-XXXXX-XXXXX-XXXXX” inside with the key to activate the system. And save as the file “resume activation.bat”.
(2) Usage about the two “batch” files
First, put these two batch files above to a same folder anywhere on the drive. Run the file “activation backup.bat” in administrator’s identity and then you can get the backup of the two activation files.
Second, after reinstalling system, when offline, run the file “resume activation.bat” in administrator’s identity, then system would auto activate.
  pause
  exit
  ---------------------------------------------------------------------------
Copy the contents above and paste to notepad,

Wednesday, May 11, 2011

How to reinstates Hide Recent Activity option in Facebook

In one of the recent updates to the Facebook site, the company removed the ability to customize what Recent Activity appears on your Wall. These are little stories of actions you have taken elsewhere on the site, and they are republished on your Wall for your friends to see.
It’s worth noting that your friends can only view your Recent Activity that they can view elsewhere: for example, a wall post you made on a mutual friend’s wall or a comment you posted on a photo that both you and your friend can see. In other words, if they cannot the action you made elsewhere on Facebook, they will not see at story of it on your Wall. Of course, you can see everything since you made the actions.
Previously, you could disable this functionality and clean up your Wall with only activity you make on it (status updates) and posts your friends make on your Wall. This functionality was recently removed and users were stuck with whatever they had customized their Walls to prior to the site update. You had to manually remove anything you didn’t want on your Wall. Now, the company has brought back the option to automatically hide all current and future stories of a given Recent Activity type. This change can also be reverted if need be.
clip_image001
For example, I have always wanted to remove “Wall posts you make” from my wall. These are snippets of wall posts I make on my friends’ walls and I don’t want them littering my own wall. Again my friends will still be able to the actual posts I made, and they will still show up as stories in their News feed; they just won’t be present not on my Wall.
To remove them, I can now click on the x beside one such story (under Recent Activity on my wall) and choose “Hide all Wall post activity…” from the drop down menu (the other option removes just that post). From there, I am prompted with “Wall posts you make will no longer appear in the recent activity section of your Wall. Edit Options” and can choose Hide all.
Scrolling down, I noticed that I wanted to do the same for comment activity (such as posts on friends’ photos) because it was also littering my wall. Other stories you can also hide include Friending activity, Things you like, Platform activity, Questions activity, Changes to your profile, and so on.
The Edit Options link is worth taking a closer look at. If you don’t click it when you are making changes to your profile story settings, don’t worry as you can still find the link at the bottom of your profile. On the left there is a link to show Older Posts and on the right there should be a link for Edit Options. Clicking the right link opens up a “Edit your profile story settings” window where you can undo the changes you have made.
clip_image002
Notice that it does not list all options in Recent Activity that you can disable, but merely the ones you have disabled. In this way, Facebook is forcing you to only be able to remove types of stories that are currently on your Wall: you can’t simply disable everything from ever appearing (I would certainly choose that if I could).
Being able to hide this Recent Activity allows users to engage with more content on Facebook and not have to clean up their own Wall afterwards by removing content they don’t want there. It should be particularly useful to Facebook users who are always using the site as well as those who are more sensitive about their actions on the social network being shown on their own Wall.

Tuesday, May 3, 2011

How To Import your contacts from Google Gmail to Outlook


1.     Log on to your Google Gmail account.
2.     In the left column, click Contacts.
3.     On the right side of your screen, above the message count, click Export.
4.     Click Outlook CSV (for import into Outlook clients).
5.     Click Export Contacts.
6.     When prompted to download the export file, click Save.
7.     Choose a location on your computer to temporarily save the file. The default file name is gmail-to-outlook.csv.
 NOTE   You can delete this file after your contacts are imported into Outlook.
8.     Click Save.
9.     In Outlook, on the File menu, click Import and Export.
10.   Click Import from another program or file, and then click Next.
11.   Click Comma Separated Values (DOS), and then click Next.
12.   In the Import a File box, browse to find the file you downloaded in step 8, and then double-click the file.
13.   Click one of the following:
·         Replace duplicates with items imported
·         Allow duplicates to be created
·         Do not import duplicate items
14.   Click Next.
15.   In the folder list, click the Contacts folder where you want the imported contact information to go, and then click Next.
16.   To add or remove fields to determine the way the contact information is saved in the new imported file, click Map Custom Fields.
 NOTE   The Map Custom Fields button in the Import a File dialog box might not be available when you try to import data from another program or file. In the The following actions will be performed box, select the Import check box, and then theMap Custom Fields button is available.

17.   Click Finish.