Friday, October 24, 2008

Right Click Tweak

Lets say you have a bout 4-5 very useful applications which you use always. By placing them all on the first level menu will eventually crowd your start menu. Now why not utilize the right-click option instead? The right-click option gives you the ability to Open, Explore and Find. If you can add a shortcut to your application to that menu, it would be great.

To do this, crank up your registry editor and go to HKEY_CLASSES_ROOT\Directory\Shell. Right-click on Shell and create a new key. Type in an appropriate name for the key. On the right pane, double-click on the Default value, and add a title with a & character in front of the letter as an accelerator key. Right-click on the key you just created and create another key under it called command . For the Default value of command, enter the full path and program you want to execute in the Value data box.

For example, if you wanted Notepad, you would add that as the first key, the default in the right panel would be &Notepad so when you right click on the Start Button, the N would be underlined and you could just press that key. The command would be something like C:\Windows\notepad.exe. Now when you right click on the Start Button, your new program will show up.

Remove Password From Returning From Hibernate / Suspend

Removing password from returning from hibernate / suspend

Go to Control Panel and open the Power Options Properties dialog box. Open the Advanced tab and clear the "Prompt for password when computer resumes from standby" check box.


Now you don't have to worry about putting your password everytime you want to save
power and money :-) However, you will be less secure!

Stop Jerky Graphics

I have for a long time had problems with "jerky" graphics in some 3d games and 3dmark, and have had relativly high cpu loads in idle condition.
The cpu load would pulse from 1-2% up to 10-12%-load with about three-five seconds intervals...(in idle)
The jerking has not been due to low perfomance hardware or old drivers and I have had the problems on two seperate systems.
If you are connected to a LAN and have similar problems, this might be the solution:

1.RightClick "MyComputer"
2.Select "Manage"
3.Click on "Device Manager"
4.DoubleClick on your NIC under "Network Adapters"
5.In the new window, select the "Advanced" tab
6.Select "Connection Type" and manuelly set the value of your NIC. (Not "Auto Sense" which is default.)
7.You should reboot...
On my systems the "jerking" in 3D games was completly gone, and so was the high idle cpu load.

This tip also applies to Win2K.

Watch Movies With "Above Normal" Priority

This tweak will launch WindowsMediaPlayer with the 'AboveNormal' priority setting when opening a mediafile.

Having trouble watching a movie when you also have a lot of background processes going on?

Here's what to do:

1. Create a new textfile in the root of c:\, but instead of giving it the .txt extension you name it wmp_AboveNormal.bat

2. Right-click this file and choose 'Edit', you'll see it'll open notepad. Put this line in:
start /AboveNormal C:\"Program Files"\"Windows Media Player"\wmplayer.exe %1 %*

3. Save (make sure you save it as .bat, not as .txt) and close.

Now all you have to do is register your mediafiles to this batchfile. Here's how to do that:

4. In Windows Explorer choose Tools>Folder Options >File Types

5. Scroll down(press A) to the AVI filetype

6. Click 'Change' and point to c:\wmp_AboveNormal.bat . Click OK and Close.

Now everytime you dubbleclick an .avi WMP will open with the 'AboveNormal' -priority setting ! (Repeat steps 4-6 to register all mediatypes you want to be opened this way.)

These are all the settings: Realtime, High, AboveNormal, Normal, BelowNormal, Low.


*Realtime is not recommended unless you have a dual-CPU system!

Turn Off Indexing Service to Speed Up XP

Windows XP keeps a record of all files on the hard disk so when you do a search on the hard drive it is faster. There is a downside to this and because the computer has to index all files, it will slow down normal file commands like open, close, etc. If you do not do a whole lot of searches on your hard drive then I suggest turnning this feature off:

1. Control Panel

2. Administrative Tools

3. Services

4. Disable Indexing Services

Faster Dual Boot Time Out

If you dual boot your PC using Windows XP's dual boot process, you can reduce the timeout period your PC uses before booting to the default OS. This tweak is useful if you boot to the default OS most of the time and only boot to the other OS's on a limited basis.

1)Locate and Open the hidden file "boot.ini" in notepad or your favorite text editor. This file will likely be in the root directory on the boot partition of your "master" HD. For example, mine is located in "C:\boot.ini" even though I have Win98 loaded on this partition and the boot.ini file was generated when I loaded WinXP on "D:/"

2) Locate the line - timeout=30 (default is 30 seconds). Change this value to any time desired. I chose 10. Be careful not to choose too low of a setting or you may not have time to select your other OS's. Also, be careful not to change other lines as this may prevent your PC from booting at all.

3)Save the file. The next time you boot your PC, the changes will take effect.

Note: You can also adjust this in Control Panel > System > Advanced > Startup and Recovery > Settings > Time to display list of operating systems

Delete Prefetch Automatically

Here's an easy way to delete your prefetch -- Automatically!!

1. Go into My Computer and go into your hard drive.

2. Right-click anywhere that a file is not and select the 'New' submenu and click 'Text Document'

3. Name it "deleteprefetch"

4. Double-click on the text file you just created.

5. Type "del C:\Windows\Prefetch\*.* /Q" (without the quotes).

6. Go to File > Save As... and choose "All Files" from the "Save as Type" box and save it as "deleteprefetch.bat"

7. You just created a batch file that will automatically delete all the files in your Prefetch folder. Congrats.

How to use Recovery Console To Repair XP

The Windows Recovery console is designed to help you recover when your Windows-Based computer does not start properly or does not start at all. If Safe mode and other startup options do not work, you can consider using the Recovery Console. This method is recommended only if you are an advanced user who can use basic commands to identify and locate problem drivers and files. In addition, you must be an administrator to use the Recovery Console.

Installing the Recovery Console

You can install the Recovery Console on your computer to make it available in case you are unable to restart Windows. You can then select the Recovery Console option from the list of available operating systems on startup. It is wise to install the Recovery Console on important servers, and on the workstations of IT personnel. This article describes how you can install the Recovery Console to your Windows XP computer. To install the Recovery Console, you must have administrative rights on the computer.

Although you can run the Recovery console by booting directly from the Windows XP CD, it's much more convenient to set it up as a startup option on your boot menu. To run directly by booting from the CD see the "Using the Recovery Console" section later in this article.

To install the Recovery Console, perform the following steps:
  1. Insert the Windows XP CD into the CD-ROM drive.
  2. Click Start, and then click Run.
  3. In the Open box, type d:\i386\winnt32.exe /cmdcons where d is the drive letter for the CD-ROM drive.
  4. A Windows Setup Dialog Box appears, which describes the Recovery Console option. The system prompts you to confirm installation. Click Yes to start the installation procedure.
  5. Restart the computer. The next time you start your computer, you will see a "Microsoft Windows Recovery Console" entry on the boot menu.
NOTE: Alternatively, you can use a UNC to install the Recovery Console from a network share point.

Using the Recovery Console

You can enable and disable services, format drives, read and write data on a local drive (including drives that are formatted to use the NT File System (NTFS), and perform many other administrative tasks. The Recovery Console is particularly useful if you need to repair your computer by copying a file from a disk or CD-ROM to your hard disk, or if you need to reconfigure a service that is preventing your computer from starting properly.

If you cannot start your computer, you can run the Recovery Console from the Microsoft Windows XP startup disks or the Windows XP CD-ROM. This article describes how to perform this task.

After Windows XP is installed on your computer, to start the computer and use the Recovery Console you need the Windows XP startup disks or the Windows XP CD-ROM.

For additional information about how to create Startup disks for Windows XP (they are not included with Windows XP), click the article number below to view the article in the Microsoft Knowledge Base:

310994 Obtaining Windows XP Setup Boot Disks

NOTE: To start the computer from the Windows XP CD-ROM, you need to configure the basic input/output system (BIOS) of the computer to boot from your CD-ROM drive.

To run the Recovery Console from the Windows XP startup disks or the Windows XP CD-ROM, use the following steps:
  1. Insert the Windows XP startup disk into the floppy disk drive, or insert the Windows XP CD-ROM into the CD-ROM drive, and then restart the computer.

    Click to select any options that are required to start the computer from the CD-ROM drive if you are prompted to do so.
  2. When the "Welcome to Setup" screen appears, press R to start the Recovery Console.
  3. If you have a dual-boot or multiple-boot computer, choose the installation that you need to access from the Recovery Console.
  4. When you are prompted to do so, type the Administrator password. If the administrator password is blank, just press ENTER.
  5. At the command prompt, type the appropriate commands to diagnose and repair your Windows XP installation.

    For a list of commands that are available in Recovery Console, type recovery console commands or help at the command prompt, and then press ENTER.

    For information about a specific command, type help commandname at the command prompt, and then press ENTER.
  6. To exit the Recovery Console and restart the computer, type exit at the command prompt, and then press ENTER.

Using the Recovery Console Command Prompt

When you use the Recovery Console, you are working at a special command prompt rather than the usual Windows command prompt. The Recovery Console has its own command interpreter. To enter this command interpreter, you are prompted by Recovery Console to type the Administrator password (the local Administrator, not a domain Administrator).

When the Recovery Console starts, you have the opportunity to press F6 to install a third-party SCSI or RAID driver, in case you need such a driver to access the hard disk. This prompt works the same as it does during installation of the operating system.

The Recovery Console takes a few seconds to start. When the Recovery Console menu is displayed, a numbered list of the Windows installations on the computer is displayed (usually only one entry-c:\Windows-exists). Press a number before you press ENTER, even when only one entry appears. If you press ENTER without choosing a number, the computer restarts and begins the process again.

When you see the prompt for %SystemRoot% (usually C:\Windows), you can begin using the available commands for the Recovery Console.

Command Actions

The following list describes the available commands for the Recovery Console:
  • Attrib changes attributes on one file or subdirectory.
  • Batch executes commands that you specify in the text file, Inputfile; Outputfile holds the output of the commands. If you omit the Outputfile parameter, output is displayed on the screen.
  • Bootcfg is used to manipulate the Boot.ini for boot configuration and recovery.
  • CD (Chdir) operates only within the system directories of the current Windows installation, removable media, the root directory of any hard disk partition, or the local installation sources.
  • Chkdsk The /p switch runs Chkdsk even if the drive is not flagged as dirty. The /r switch locates bad sectors and recovers readable information; this switch implies /p. Chkdsk requires Autochk. Chkdsk automatically looks for Autochk.exe in the startup (or boot) folder. If Chkdsk cannot find the file in the startup folder, it looks for the Windows 2000 Setup CD-ROM. If Chkdsk cannot find the installation CD-ROM, it prompts the user for the location of Autochk.exe.
  • Cls clears the screen.
  • Copy copies one file to a target location. By default, the target cannot be removable media and you cannot use wildcards. Copying a compressed file from the Windows 2000 Setup CD-ROM automatically decompresses the file.
  • Del (Delete) deletes one file. Operates within the system directories of the current Windows installation, removable media, the root directory of any hard disk partition, or the local installation sources. You cannot use wildcards by default.
  • Dir displays a list of all files, including hidden and system files.
  • Disable disables a Windows system service or driver. The variable service_or_driver is the name of the service or driver that you want to disable. When you use this command to disable a service, it displays the service's original startup type before changing the type to SERVICE_DISABLED. You should note the original startup type so that you can use the enable command to restart the service.
  • Diskpart manages partitions on hard disk volumes. The /add option creates a new partition; the /delete option deletes an existing partition. The variable device is the device name for a new partition (such as \device\harddisk0). The variable drive is the drive letter for a partition that you are deleting (for example, D); partition is the partition-based name for a partition that you are deleting, (for example: \device\harddisk0\partition1) and can be used in place of the drive variable. The variable size is the size, in megabytes, of a new partition.
  • Enable enables a Windows system service or driver. The variable service_or_driver is the name of the service or driver that you want to enable, and start_type is the startup type for an enabled service. The startup type uses one of the following formats:

    SERVICE_BOOT_START
    SERVICE_SYSTEM_START
    SERVICE_AUTO_START
    SERVICE_DEMAND_START

  • Exit quits the Recovery Console, and then restarts the computer.
  • Expand expands a compressed file. The variable source is the file that you want to expand; you cannot use wildcard characters by default. The variable destination is the directory for the new file; by default, the destination cannot be removable media and cannot be read-only; you can use the attrib command to remove the read-only attribute from the destination directory. The option /f:filespec is required if the source contains more than one file; this option permits wildcards. The /y switch disables the overwrite confirmation prompt. The /d switch specifies that the files should not be expanded and displays a directory of the files in the source.
  • Fixboot writes a new boot sector on the system partition.
  • Fixmbr repairs the boot partition's master boot code. The variable device is an optional name that specifies the device that needs a new MBR; omit this variable when the target is the boot device.
  • Format formats a disk. The /q switch performs a quick format; the /fs switch specifies the file system.
  • Help If you do not use the command variable to specify a command, help lists all the commands that the Recovery Console supports.
  • Listsvc displays all available services and drivers on the computer.
  • Logon displays detected installations of Windows and requests the local Administrator password for those installations. Use this command to move to another installation or subdirectory.
  • Map displays currently active device mappings. Include the arc option to specify the use of Advanced RISC Computing (ARC) paths (the format for Boot.ini) instead of Windows device paths.
  • MD (Mkdir) operates only within the system directories of the current Windows installation, removable media, the root directory of any hard disk partition, or the local installation sources.
  • More/Type displays the specified text file (such as, filename) on screen.
  • Net Use connects to a remote share for the Windows XP Recovery Console. The following text describes the syntax for this command:
    NET USE [devicename | *] [\\computername\sharename[\volume] [password | *]]
    [/USER:[domainname\]username]
    [/USER:[dotted domain name\]username]
    [/USER:[username@dotted domain name]
    [/SMARTCARD]
    [/SAVECRED]
    [[/DELETE] | [/PERSISTENT:{YES | NO}]]

    NET USE {devicename | *} [password | *] /HOME

    NET USE [/PERSISTENT:{YES | NO}]
  • Rd (Rmdir) operates only within the system directories of the current Windows installation, removable media, the root directory of any hard disk partition, or the local installation sources.
  • Ren (Rename) operates only within the system directories of the current Windows installation, removable media, the root directory of any hard disk partition, or the local installation sources. You cannot specify a new drive or path as the target.
  • Set displays and sets the Recovery Console environment variables.
  • Systemroot sets the current directory to %SystemRoot%.

Recovery Console Rules

Several environment rules are in effect while you are working in the Recovery Console. Type set to see the current environment. By default, these are the rules:
  • AllowAllPaths = FALSE, which prevents access to directories and subdirectories outside the system installation that you selected when you entered the Recovery Console.
  • AllowRemovableMedia = FALSE, which prevents access to removable media as a target for copied files.
  • AllowWildCards = FALSE, which prevents wildcard support for commands such as copy and del.
  • NoCopyPrompt = FALSE, which means that you are prompted by the Recovery Console for confirmation when overwriting an existing file.

Deleting the Recovery Console

To delete the Recovery Console:
  1. Restart your computer, click Start, click My Computer, and then double-click the hard disk on which you installed the Recovery Console.
  2. On the Tools menu, click Folder Options, and then click the View tab.
  3. Click Show hidden files and folders, click to clear the Hide protected operating system files check box, and then click OK.
  4. At the root folder, delete the Cmdcons folder and the Cmldr file.
  5. At the root folder, right-click the Boot.ini file, and then click Properties.
  6. Click to clear the Read-only check box, and then click OK.
  7. WARNING: Modifying the Boot.ini file incorrectly may prevent your computer from restarting. Be sure to delete only the entry for the Recovery Console. Also, it is recommended that you change the attribute for the Boot.ini file back to a read-only state after you complete this procedure. Open the Boot.ini file in Microsoft Windows Notepad, and remove the entry for the Recovery Console. It looks similar to this:

    C:\cmdcons\bootsect.dat="Microsoft Windows Recovery Console" /cmdcons

  8. Save the file and close it.

Saturday, October 18, 2008

How To Change Password Using Command Prompt

Ever thought of becoming an actual “hacker”? This article shows how to change a computer password and do other things using a command prompt. A command prompt is a command using the special built-in program that comes with every computer which allows you to do almost anything on a computer.

1. Open Command Prompt. If you don’t know how, open the Start menu, go to Programs (or on Windows 2000 and up, all programs), go to Accessories, then you’ll see Command Prompt, click it.

2. You’ll see a black screen pop up.

3. Type in: “Net User”

4. It will then show you a detailed little chart of all the User Accounts on the computer.

5. Choose which account you want to hack.

6. Say it says the user accounts are: Owner, Administrator, John, Alice, Christopher, and Guest.

7. You choose Alice (Say you wanted to annoy your wife or girlfriend, I told you this would be a useful guide ;) ).

8. Now type: “Net User Alice”, it’ll give you A LOT of information about the account. This step isn’t necessary, but it gives you information on other things you can do to the account, such as set it as inactive and delete it.

9. Type in: “Net User Alice *” It’ll tell you to enter a password, then again to confirm it. This will both change the password or make a new one.

10. Good Job! You’ve actually hacked an account! Now if Alice says anything, good luck with that, that’s in the article “How to Ignore an Annoying Wife or Girlfriend”… if it exists.

How To Extend Time Limits on Trial Softwares

All you have to do is set your clock to some date in the distant future using adjust/date/time in Windows, download your free trial software, run the program once and rollback your time setting to the current date. After you’ve run the program for the first time, the Windows registry will be loaded with a Free Trial Key reflecting an expiration date that you’ve predetermined, and your good to go.

Another roundabout way to do this after a trial has already expired would be to bring up the Registry Editor in Windows, find the trial key and delete it. Then download the program again and start the free trial period over. This is pretty easy to do, but if you’re using alot of free trials you may find it to be a hassle editing registers and downloading programs over again everytime one expires. Its much easier to simply adjust your date/time to 2009 or something, download your free trials, rollback to the current date and enjoy them for the next 3 years or so hassle free. By the way I’ve found that when doing this I’m still able to get the notifications when updated versions come along, and download them with no problem.

19 Things You don't Know about Windows Xp

1. It boasts how long it can stay up. Whereas previous versions of Windows were coy about how long they went between boots, XP is positively proud of its stamina. Go to the Command Prompt in the Accessories menu from the All Programs start button option, and then type 'systeminfo'. The computer will produce a lot of useful info, including the uptime. If you want to keep these, type 'systeminfo > info.txt'. This creates a file called info.txt you can look at later with Notepad. (Professional Edition only).

2. You can delete files immediately, without having them move to the Recycle Bin first. Go to the Start menu, select Run... and type 'gpedit.msc'; then select User Configuration, Administrative Templates, Windows Components, Windows Explorer and find the Do not move deleted files to the Recycle Bin setting. Set it. Poking around in gpedit will reveal a great many interface and system options, but take care -- some may stop your computer behaving as you wish. (Professional Edition only).

3. You can lock your XP workstation with two clicks of the mouse. Create a new shortcut on your desktop using a right mouse click, and enter 'rundll32.exe user32.dll,LockWorkStation' in the location field. Give the shortcut a name you like. That's it -- just double click on it and your computer will be locked. And if that's not easy enough, Windows key + L will do the same.

4. XP hides some system software you might want to remove, such as Windows Messenger, but you can tickle it and make it disgorge everything. Using Notepad or Edit, edit the text file /windows/inf/sysoc.inf, search for the word 'hide' and remove it. You can then go to the Add or Remove Programs in the Control Panel, select Add/Remove Windows Components and there will be your prey, exposed and vulnerable.

5. For those skilled in the art of DOS batch files, XP has a number of interesting new commands. These include 'eventcreate' and 'eventtriggers' for creating and watching system events, 'typeperf' for monitoring performance of various subsystems, and 'schtasks' for handling scheduled tasks. As usual, typing the command name followed by /? will give a list of options -- they're all far too baroque to go into here.

6. XP has IP version 6 support -- the next generation of IP. Unfortunately this is more than your ISP has, so you can only experiment with this on your LAN. Type 'ipv6 install' into Run... (it's OK, it won't ruin your existing network setup) and then 'ipv6 /?' at the command line to find out more. If you don't know what IPv6 is, don't worry and don't bother.

7. You can at last get rid of tasks on the computer from the command line by using 'taskkill /pid' and the task number, or just 'tskill' and the process number. Find that out by typing 'tasklist', which will also tell you a lot about what's going on in your system.

8. XP will treat Zip files like folders, which is nice if you've got a fast machine. On slower machines, you can make XP leave zip files well alone by typing 'regsvr32 /u zipfldr.dll' at the command line. If you change your mind later, you can put things back as they were by typing 'regsvr32 zipfldr.dll'.

9. XP has ClearType -- Microsoft's anti-aliasing font display technology -- but doesn't have it enabled by default. It's well worth trying, especially if you were there for DOS and all those years of staring at a screen have given you the eyes of an astigmatic bat. To enable ClearType, right click on the desktop, select Properties, Appearance, Effects, select ClearType from the second drop-down menu and enable the selection. Expect best results on laptop displays. If you want to use ClearType on the Welcome login screen as well, set the registry entry HKEY_USERS/.DEFAULT/Control Panel/Desktop/FontSmoothingType to 2.

10. You can use Remote Assistance to help a friend who's using network address translation (NAT) on a home network, but not automatically. Get your pal to email you a Remote Assistance invitation and edit the file. Under the RCTICKET attribute will be a NAT IP address, like 192.168.1.10. Replace this with your chum's real IP address -- they can find this out by going to www.whatismyip.com -- and get them to make sure that they've got port 3389 open on their firewall and forwarded to the errant computer.

11. You can run a program as a different user without logging out and back in again. Right click the icon, select Run As... and enter the user name and password you want to use. This only applies for that run. The trick is particularly useful if you need to have administrative permissions to install a program, which many require. Note that you can have some fun by running programs multiple times on the same system as different users, but this can have unforeseen effects.

12. Windows XP can be very insistent about you checking for auto updates, registering a Passport, using Windows Messenger and so on. After a while, the nagging goes away, but if you feel you might slip the bonds of sanity before that point, run Regedit, go to HKEY_CURRENT_USER/Software/Microsoft/Windows/Current Version/Explorer/Advanced and create a DWORD value called EnableBalloonTips with a value of 0.

13. You can start up without needing to enter a user name or password. Select Run... from the start menu and type 'control userpasswords2', which will open the user accounts application. On the Users tab, clear the box for Users Must Enter A User Name And Password To Use This Computer, and click on OK. An Automatically Log On dialog box will appear; enter the user name and password for the account you want to use.

14. Internet Explorer 6 will automatically delete temporary files, but only if you tell it to. Start the browser, select Tools / Internet Options... and Advanced, go down to the Security area and check the box to Empty Temporary Internet Files folder when browser is closed.

15. XP comes with a free Network Activity Light, just in case you can't see the LEDs twinkle on your network card. Right click on My Network Places on the desktop, then select Properties. Right click on the description for your LAN or dial-up connection, select Properties, then check the Show icon in notification area when connected box. You'll now see a tiny network icon on the right of your task bar that glimmers nicely during network traffic.

16. The Start Menu can be leisurely when it decides to appear, but you can speed things along by changing the registry entry HKEY_CURRENT_USER/Control Panel/Desktop/MenuShowDelay from the default 400 to something a little snappier. Like 0.

17. You can rename loads of files at once in Windows Explorer. Highlight a set of files in a window, then right click on one and rename it. All the other files will be renamed to that name, with individual numbers in brackets to distinguish them. Also, in a folder you can arrange icons in alphabetised groups by View, Arrange Icon By... Show In Groups.

18. Windows Media Player will display the cover art for albums as it plays the tracks -- if it found the picture on the Internet when you copied the tracks from the CD. If it didn't, or if you have lots of pre-WMP music files, you can put your own copy of the cover art in the same directory as the tracks. Just call it folder.jpg and Windows Media Player will pick it up and display it.

19. Windows key + Break brings up the System Properties dialogue box; Windows key + D brings up the desktop; Windows key + Tab moves through the taskbar buttons.


How To Shutdown a PC with TIMER!!!

Here is a trick to shutdown at a specific time,

for example you wish to shutdown at 11:35am. Type this in

start=>Run

Type Code: "at 11:35 shutdown -s"

TO ABORT:

Code: "shutdown -a"

P.S (Type these codes without the quotes)

Branding Windows with your name

Open notepad and dump the following lines into it and save it with the name OEMINFO.INI in

c:\windows\system32 directory:

[General]
Manufacturer=Your Name Here
Model=Your Model Here
[Support Information]
Line1=Your Name Here
Line2=Your Address Here
Line3=Your Email Address Here

Save the file, then make a right click on my computer select properties, in the general tab a button will be highlighted (support information) make a click on it, you will be able to see the changes.