Showing posts from January, 2011

Launching any application just a key away

Using keyboards with lots of keyboards short know makes life more easier in day to day life. Also if you have shortcut keys to launch an application it helps a lot. Today I am going to tell you a simple technique that many people might be knowing but might not be using fully.
You can launch any application from anywhere just by pressing some key combinations. To do this you have to do following things:

Create a shortcut of any application on the desktop. You can do this by Right Click on application icon, under “Send To” select Desktop( create shortcut).Now come back to your desktop.Select the shortcut icon created in step 1.Right Click -> Select Properties.On properties dialog you will find Shortcut Tab.On Shortcut Tab, click in front of Shortcut Key textbox.Now Press any key you want to be your shortcut for this application.By default it will show you Ctrl + Alt .Now Ctrl + Alt + < pressed key> becomes your shortcut key for launching your application.

Using this technique you …

Creating new commands on your windows machine

Many a times we execute some commands repeatedly, which leads in waste of some time. Also some times you many want to create some commands and execute those directly instead of traversing to that directory and executing.

In such situation you can create a simple batch file which will contain your commands or path of executable which you want to execute in bunch. After that your work will be just to execute that batch file.

To create your own commands follow these steps:

Create a batch file containing your path of executable or commands you want to execute.Place all these file at  directory. Now go to Run prompt and just type name of your batch file.If you don't want to risk your Windows directory, then you can do do following things, but please do these steps carefully: Create a batch file containing your path of executable or commands you want to execute.Place all these file at singledirectory on any drive.Right click to My Computer, Click on Properties. On System Properties dialog, …

How to execute application or batch file at startup

You have multiple options for doing this:

Option 1:

Create a shortcut of you application or batch file. Copy that shortcut to "C:\Documents and Settings\\Start Menu\Programs\Startup" folder. (Note : replace this with actual user name that you login with).Now on the next log-on your application or batch file will execute. Option 2:

You can create a registry key under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run with the name of the application you want to execute, of type REG_SZ.Set the path of executable as a value of the key created. Append " /STARTUP" at the end of value and you are done.

The process cannot access the file because it is being used by another process

Sometimes during install of some product you may face the error “The process cannot access the file because it is being used by another process” and your installation fails. In such situation you can do following things to eliminate the error: 1.Check the log created by the product installer. Usually they are located in the temp directory. Log file may tell you which file is used by other process. Using Process Explorer(Tool from Sysinternals) you can check that the file is used by which process. Then close that process and start your installation. 2.If you are installing using shared folder from remote machine as media, then check if_ISDel.exe is running. If it’s running then kill that process using task manager. Sometimes this helps.

You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5 SP1.

If you are installing a product which requires .Net Framework  3.5 or .Net Framework 3.5 SP1, on Windows 2008 operating system, you may get the error : "You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5 SP1."

Actual cause of this error is: Your application requires .Net Framework 3.5. It tries to install the .Net Framework but Windows 2008 has already pre-installed .Net Framework. So the Operating system doesn't allow product to install the .Net Framework. It says Use Role Management Tool to enable the .Net Framework which is already installed as a feature. So once you enable the .Net Framework feature using Role Management Tool you will not require to install .Net Framework 3.5.

Follow these steps to enable .Net Framework feature using Role Management Tool:
1. Launch Start Menu. Go to All Programs -> Administrative Tools -> Server Manager. (Alternatively you can launch the server Manager by typing ServerManager.msc at Run prom…

Some useful windows Commands

Following are some useful commands that you can execute through the Run prompt on your windows machine.   Open Control Panel : controlOpen Add Remove programs panel from control panel : appwiz.cplOpen Power option properties : powercfg.cplOpen system configuration utility: msconfigOpen Computer Management console : compmgmt.mscOpen Local Security Settings console: secpol.mscOpen Group Policy editor: gpedit.mscOpen Windows Firewall Settings dialog: firewall.cplOpen Registry editor: regedit or  regedit32.exeOpen System Properties dialog: sysdm.cpl  (Keyboard Shortcut: Start(windows) + Pause Break) you can also the command  "Control.exe system"Open About Windows dialog box/ To view windows version: winverOpen Network Connections window : ncpa.cplOpen Windows Task Manager : taskmgr.exe (Keyboard Shortcut: Ctrl + Shift + Esc)For Eject Drive or Safely Remove Hardware : RunDll32.exe shell32.dll,Control_RunDLL hotplug.dllTo Open Sound and Audio Device properties dialog: mmsys.cpOpen…

Registry Trick for Adding Custom Context Menu for File Right Click

Many times you need to execute particular exe or command for a specific file. For an example if you are browsing the directory and you need to execute particular command on that file on the command prompt. In such situations you will need to open a command prompt then you need to go to that directory, then select the file and execute the command, this requires some time.  And if you are going to repeat this multiple times then you are going to waste much of your time.

Imagine on the right click of any file if you get option of opening command prompt which will take you directly to that directory, instead of you browsing to that directory.

Yes, you can do that by a simple registry trick. Before going ahead please ensure that you are fully aware of windows registry editor and consequences of modifying the registry incorrectly.  To have a backup of the registry follow steps mentioned in the link Backup & Restore Windows Registry.

Steps for registry trick:

Open Start menu, click on Run…