Powered By Blogger

Wednesday, 21 November 2012

Quick OS Installation


Now, this tip will be very helpful for those who frequently install windows xp operating system. Normally OS installation takes around 40 minutes to complete, but through this trick you can now save 10-15 minutes. This simple tricks goes this way.
1. Boot through Windows XP CD.
2. After all the files are completely loaded, you get the option to select the partition. Select “c”.
3. Now Format the partition, whether it is normal or quick with NTFS or FAT
4. Once the formatting is completed, All the setup files required for installation are copied. Restart your system by pressing Enter.
Now, here begins the Simple trick to save 10-15 minutes.
5. After rebooting, you get a screen where it takes 40 minutes to complete or finalize the OS installation.
6. Now, Press SHIFT + F10 Key ->  This opens command prompt.
7. Enter “Taskmgr” at the command prompt window. This will open Task Manager.
8. Click the Process Tab, here we find a process called Setup.exe -> Right Click on Setup.exe -> Set Priority -> Select High or Above Normal. Initially it will be Normal.
Thats it, no more work to do. Relax your self and see how fast the installation process completes

Wednesday, 19 September 2012


Creation and deletion of folder name con:


Folders with name: CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5,
COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, & LPT9
cant be created using Windows Explorer or Command Prompt directly! ( Try this
out.. right click on your desktop and try creating folder named "con"it changes
back to "new Folder" )

This is prevented as XP terms these folders as SYSTEM Folder Names reserved only
for the Operating System.. But there is a backdoor..(this trick is to create
system folders on XP through command prompt )

CREATION

Syntax:md \\.\\$path
Example:prompt>md \\.\\C:\con
Explanation: This would create a folder named "con" on your "C Drive"

DELETION
Syntax:rd/s \\.\\$path
Example:prompt>rd/s \\.\\C:\con
Explanation: This would remove the folder named "con"!

Note: rd(Remove Directory) command is used with "/s" switch as otherwise it
would give error that "folder is not empty"!

Wednesday, 11 July 2012


To Check whether anti-virus is working or not

Procedure:

1. Open your notepad or word pad or any other text 
editor what you have.
2. Copy the following text

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
3. Now 
save the text editor file and give it a .exe extension. (Suppose virus.exe)
4. If your antivirus detect it as a virus then it is properly working.
5. If no then it is not properly working or corrupted or the validity of the antivirus has expired. So better to change the anti virus to keep your system secure from malware or virus.

Saturday, 11 February 2012

How to improve on shutdown time ? Close apps automatically & quickly at shutdown tip:

Open Registry by going to START-RUN and typing REGEDIT. Navigate to HKEY_CURRENT_USER\CONTROL PANEL\DESKTOP and look for AutoEndTasks. On my computer default value is 0. Change it to 1. Thats all. Further more you can reduce the time it takes for Windows to issue kill directive to all active/hung applications. 
In doing this only constraint that you should make sure exists is that HungAppTimeout is greater than WaitToKillAppTimeout. Change the values of WaitToKillAppTimeout to say 3500 (since default value for HungAppTimeout 5000 and for WaitToKillAppTimeout is 20000)

Use a Shortcut to Local Area Network Connection Information Tip:


Here's something new in Windows XP, instead of using the command line program and typing ipconfig to get local area network information, you can try using the following shortcut:
* Click on Start, point to Connect to, and then click Show All Connections.
* Right–click the connection you want information about, and then click Status.
* In the connection Properties dialog box, click the Support tab.
* For more information, click on the Advanced tab. 


To automatically enable the status monitor each time the connection is active, in the connection Properties dialog box, select the Show icon in taskbar notification area when connected check box.

Speedup boot up sequence by defragmenting all key boot files tip:



Open Registry by going to START-RUN and typing REGEDIT. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction. In right hand panel look for Enable. Right click on it and set it 'Y' for enable. This is the way I have it set on my computer. This will help speedup boot time.

Tuesday, 7 February 2012

Java program for opening notepad


Coding
class demo {
public static void main(String a[]) {
Runtime r=Runtime.getRuntime();
Process p=null;
try {
p=r.exec("notepad");
}
catch (Exception e) {
System.out.println("Error executing notepad");
}
}
}

Monday, 6 February 2012

Open a command prompt inside a command prompt


Type "start"(without quotes) and hit Enter.
Now you will see an another command prompt opened.



Thursday, 2 February 2012

Windows Server Hacks: Remotely Enable Remote Desktop

Remote Desktop is a cool feature of Windows Server 2003 that lets you remotely log on to and work at a machine as if you were seated at the local console (in Windows 2000 Advanced Server, this feature was called Terminal Services in Remote Administration Mode). Remote Desktop can be a lifesaver for fixing problems on servers at remote sites, but what if you forgot to enable the feature before you shipped the server out to Kalamazoo? Enabling Remote Desktop is easy if the server is in front of you: just log on as an administrator, open System in Control Panel, select the Remote tab, and under Remote Desktop select the checkbox labeled "Allow users to connect remotely to this computer." Unfortunately, you can't use the System utility to enable Remote Desktop on a remote machine, though you can access some properties pages of System using Computer Management by first connecting the console to a remote computer, then right-clicking on the root node and selecting Properties. Unfortunately, as you can see in Figure 1 below, the Remote tab is not available when you access System properties this way on a remote machine (here named SRV220).
Figure 1
Figure 1. System properties for a remote machine does not have Remote tab.
Fortunately, there's a workaround. Sit down at your desk and log on to your Windows XP workstation using your administrator credentials and start Registry Editor by Start --> Run --> regedit --> OK. Then select the Connect Network Registry option under the File menu (Figure 2).
Figure 2
Figure 2. Connecting to the Registry on a remote machine.
This opens the Select Computer search box. Either browse Active Directory to locate the remote server, or type its name in the textbox (Figure 3).
Figure 3
Figure 3. Connecting to the Registry on a remote server named SRV220.
Click OK and a node will be displayed in Registry Editor for the remote machine (Figure 4).
Figure 4
Figure 4. HKLM and HKU hives on SRV220.
Now browse HKLM on SRV to find the following Registry key (Figure 5).
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server
Figure 5
Figure 5. Registry key for Terminal Server on remote machine.
Under the Terminal Server key, you'll find a REG_DWORD value named fDenyTSConnection. Double-click on that value to open the Edit DWORD Value box and change the value data from 1 (Remote Desktop disabled) to 0 (Remote Desktop enabled), as in Figure 6 below.
Figure 6
Figure 6. Set fDenyTSConnections to 0 to enable Remote Desktop on SRV220.
The remote machine needs to be rebooted for the change to take effect, so open a command prompt and type the following command:
shutdown -m \\srv220 -r
After the remote machine reboots, Remote Desktop should be enabled on it. To test this from your workstation, open Start --> All Programs --> Accessories --> Communications --> Remote Desktop Connection, enter the name of the remote server in the Remote Desktop Connection logon box, supply your administrator password when prompted, and you're in.

Difference between computer science and information technology

  1. (a)"Computer Science" is a mixture and application of "Applied Mathematics", "Electrical  Engineering",  "Complexity Theoy/Algorithm" to understand and/or model information.
    (b)"Information Technology" is a mixture and application of "Programming", "Hardware Administration", Software Administration", "Network Security", and "Technical Support".
2. (a)Computer Science is the "field of computation".
    (b)Information Technology is the "management of computers".