Thursday, April 10, 2008

virus problem solution "The command prompt has been disabled by your administrator"

When you attempt to run CMD.exe or a batch file, you may receive the message "The command prompt has been disabled by your administrator". This is caused by restrictions placed in Registry. DisableCMD value is set to 1 or via Group Policy. To enable Task Manager, try any of these methods:

Method 1: Using the console registry tool
Click Start, Run and type this command exactly as given below: (better - Copy and paste)

REG add HKCU\Software\Policies\Microsoft\Windows\System /v DisableCMD /t REG_DWORD /d 0 /f
Method 2: Edit the registry directly
Open Registry Editor (Regedit.exe) and navigate to:

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System]

In the right-pane, double-click DisableCMD and set it's data to 0

Method 3: Using Group Policy Editor in Windows XP Professional.
Click Start, Run, type gpedit.msc and click OK.

Navigate to User Configuration \ Administrative Templates \ System

Double-click the Prevent access to the command prompt

You can then disable or set the policy to Not Configured. Disabling or setting this policy to Not Configured should solve the problem.

Tuesday, March 4, 2008

Clean Install Procedure with Illustrative Screen CapturesOperating System: Windows XP Professional - Upgrade VersionSystem: Personal Computer
Phase I - Text Phase
Floppy Drive
Unpartitioned and Unformatted Hard Drive
CD ROM Drive
Keyboard
Mouse
Network Interface Card
SVGA Monitor
If the system does not have a bootable CD ROM, see Obtaining Windows XP Setup Boot Disks for instructions.
Figure 01
The preferred method for initiating a clean install of Windows XP is by booting from the XP CD. If the CD drive is not set as the primary boot device it will be necessary to access and modify the BIOS settings. Once the CD drive is set to be polled before the hard drive, insert the XP CD into the drive and power on the system. If the screen shown in Figure 01 appears, all is well and the clean install of Windows XP Professional is underway.
Figure 02
Almost immediately after Windows setup begins the screen shown to the left will appear. Unless you have the very latest in hardware you probably won't need to press the F6 key to install and SCSI or RAID driver. However, when XP is first installed it tries to determine what type of BIOS is available on the computer. Newer systems have what is known as Advanced Configuration and Power Interface (ACPI) capability. Unfortunately, XP doesn't always recognize a computer BIOS is ACPI capable and doesn't install the support for ACPI. Pressing F5 at this point allows you to select the proper HAL. A full description of the process is here.
Figure 03
Once the initialization process completes, the screen in Figure 03 loads to guide the XP installation process. More than anything, this screen is a fork in the installation road. This guide deals with a clean install and to accomplish that goal select the first option by pressing Enter. If you wanted to use the Recovery Console with an already completed XP installation, pressing R would be the proper choice. F3 ends the current installation process. After pressing Enter, setup will search the drives for an existing XP installation.
Figure 04
Pretty much any way you go at an installation anymore you're going to run into the Windows XP Licensing Agreement, better known as the End-User License Agreement or EULA, shown in Figure 04. Press F8 if you agree to the terms or press Esc and start researching alternative operating systems if you don't agree. There's no middle of the road.
Figure 05
Since you agreed to the terms of the EULA in the previous step, and because this is a clean installation from an upgrade version of XP to an unpartitioned and unformatted hard disk, the screen in Figure 05 appears asking you to verify you qualify to use the upgrade product. Of all the XP installs I've done I could count on two hands the number of times they have been done from full version CD's rather than upgrade CD's, so it's pretty likely you'll see this screen. The qualifying products are listed on the screen. Replace the XP CD with the qualifying product CD and press Enter.
Figure 06
Once Microsoft is convinced you've agreed to the EULA and qualify to install the upgrade version, the screen in Figure 06 appears where you choose a drive and partition on which to install XP. For those familiar with prior Windows operating systems, this section of setup is equivalent to FDISK when a clean install is being performed. In this example, since there is only the one hard disk it will be used to create the install partition by pressing C.
Figure 07
Once the partition creation has been initiated, the screen in Figure 07 opens and prompts for the size of the partition that will be created. As long as you adhere to the minimum and maximum listed on the screen you have the freedom to set partition sizes as you wish. Keep in mind that there are minimum space requirements to install XP. Set the size of the desired partition and press Enter.
Figure 08
Once the partition has been created you are returned to the screen in Figure 08. If there is still unallocated space on the drive and you want to create another partition, highlight the unallocated space entry and press C again to repeat the partition creation process. If you want to change the partition that was just created, highlight it using the up and down arrow keys and press D. A confirmation message will be displayed. Once you're satisfied with the partition scheme, highlight the desired install partition and press Enter.
Figure 09
The final step after creating and selecting the install partition is specifying the file system to use for formatting the partition. The available choices will be shown on the screen that appears as in Figure 09. In most cases you'll want to use NTFS. It's far more secure than FAT32 and supports permissions, encryption, and compression. The only reason for considering FAT32 would be data sharing with W9x/Me installations and since this scenario deals with a clean install it's not even a consideration.
Figure 10
Remember a few steps ago when XP wanted you to insert a CD to prove you qualified to use the upgrade version of XP? What it didn't do was tell you to remove the qualifying version and reinsert the XP installation CD. That time has arrived. Why it doesn't do this immediately after the verification I have no idea, nor will I waste more time on this screen.
Figure 11
The XP CD is back in the drive and the partition is being formatted. This part of the process is totally non-interactive and a tad less interesting than watching paint dry - unless of course the paint is the same hideous yellow color as the progress bar.
Figure 12
You thought the part where the partition was formatted was boring? More of the same in this section of setup where the files needed for installation are being copied to the hard drive. You'd think at the least they could have changed the progress bar color.
Figure 13
Almost there; the configuration is being initialized. This screen has a blissfully short appearance.
Figure 14
Finally. A red progress bar that indicates the system will reboot in 15 seconds so the Graphical User Interface portion of setup can begin. If you're still awake, tap the Enter key to speed up that 15 seconds until restart. This is the end of the text portion of setup.
Figure 15
This is it - Prepare yourself for what is possibly the longest commercial for a piece of software that has ever been presented, also called the Graphical User Interface phase of XP setup. Click the Onward to Phase II link below.

Monday, March 3, 2008

Trick to Show ur name after time in taskbar......

Hi freinds !I m here to tell u a trick to add up ur name in place of AM and PM beside time and make urself to feel proud among ur group of frnds.Its simpleStart -> Control Pannel -> Regional and LAnguage option -> Customize (beside English US) -> Go to TIME tab -> Change AM symbol and PM symbol from AM and PM to ur name -> Apply -> Ok ...
IS it changed Might be not ...Now go to time in taskbar and Double Click it to open "Date and time property" ...Look place where time chnges in digital form i.e. 02:47:52 AM , click to arrow to cnage the AM or PM by selecting and press arrow. It will Show ur name or name that was entered by u, Apply -> OK and be HAPPY
So howz this..... ENJOY !!!!!!!!!!

xp tricks

shtcut to restarting xp..
You can restart a Windows XP Pro and Home machine easily by creating a shortcut with following path. (Assume you installed Windows XP on your C: Partition) "c:\windows\system32\shutdown.exe -r -f -t 00" -r is for restarting the computer. -f is to force close all programs without saving. -t 00 is used to restart in zero seconds. i.e. as soon as you D.Click on the shortcut. You can log off from a Windows XP Professional or Home edition by running "C:\windows\system32\shutdown.exe -l -f -t 00". Also you can shutdown a Windows XP Home or Professional edition by running "c:\windows\system32\shutdown.exe -s -f -t 00". You always have to turn from the CPU after running this command. (Same with AT and ATX powered machines.) If you want to turn down power of ATX machine automatically, run "c:\windows\system32\tsshutdn.exe 00 /POWERDOWN /DELAY:00" This is used to turn off a server. Even though your computer will be shutdown completely, this whole operation will take 30 seconds to finish. Even though you don't have networked computers attached to your computer, this works.

1) Disabling Display of Drives in My Computer :

This is yet another trick you can play on your geek friend. To disable the display of local or networked drives when you click My Computer go to : HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Now in the right pane create a new DWORD item and name it NoDrives. Now modify it's value and set it to 3FFFFFF (Hexadecimal) Now press F5 to refresh. When you click on My Computer, no drives will be shown. To enable display of drives in My Computer, simply delete this DWORD item. It's .reg file is as follows: REGEDIT4 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explore r] "NoDrives"=dword:03ffffff

2) Pop a banner each time Windows Boots :
To pop a banner which can contain any message you want to display just before a user is going to log on, go to the key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WinLogon Now create a new string Value in the right pane named LegalNoticeCaption and enter the value that you want to see in the Menu Bar. Now create yet another new string value and name it: LegalNoticeText. Modify it and insert the message you want to display each time Windows boots. This can be effectively used to display the company's private policy each time the user logs on to his NT box. It's .reg file would be: REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Winlogon] "LegalNoticeCaption"="Caption here."
3) Great trick Lock ur PC yourself
lock ur pc.. open notepad copy and paste the script below and save it .VBS extentionThis wil create a shortcut.. run(click) it
set WshShell = WScript.CreateObject("WScript.Shell")set oShellLink = WshShell.CreateShortcut(wshShell.SpecialFolders("Desktop") & "\LockWorkstation.lnk")oShellLink.TargetPath = "%windir%\system32\rundll32.exe"oShellLink.Arguments = "user32.dll,LockWorkStation"oShellLink.Save

4) Deleting System Options from the Start menu :
You can actually remove the Find and Run options from the start menu by performing a simple registry hack. Again like always Launch the registry editor and scroll down to the below key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Right-click on the right pane and select New, DWORD Value. Name it NoFind.(To remove the RUN option name it NoRun). Double-click the newly create DWORD to edit it's value and enter 1 as its value. This will disable the FIND option of the Start Menu and will also disable the default Shortcut key(F3 for Find.) To restore the Run or find command modify the value of the DWORD to 0 or simply Delete the DWORD value.
5) Cleaning Recent Docs Menu and the RUN MRU :
The Recent Docs menu can be easily disabled by editing the Registry. To do this go to the following Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Now in the right pane, create a new DWORD value by the name: NoRecentDocsMenu and set it's value to 1. Restart Explorer to save the changes. You can also clear the RUN MRU history. All the listings are stored in the key: HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMR U You can delete individual listings or the entire listing. To delete History of Find listings go to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Doc Find Spec MRU and delete

6) Can u Delete Recycle Bin?
1 thing is 4 sure, delete option can be added 2 recycle bin...the old registry thing will work out.....* launch d registry...* open HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder* to add a rename and delete option, change the Dword attribute to 70 01 00 20* refresh and reboot the system..... u r done.
PS: always backup ur data as well as registry b4 attempting 2 work on it if u r a newbie....

7) To change the icons used for specific drives in explorer
Open regedit by typing regedit into start->run
then navigate to
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer
now create a key(KEY not VALUE!!) called DriveIcons under Explorer...now within DriveIcons, create another key with the drive letter you want to change (e.g.,HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\K)...create another key within the drive letter key called DefaultIcon... now set the default String value equal to the icon you want to use. if you have a file that has more than one icon in it, such as a DLL file, use the standard C:\full_path\icon_file.dll,n <file:///C:/full_path/icon_file.dll,n>) where n is the number of the icon within the file icon_file.dll...
~ c h e e r s! ~
More

change drive icons.....
first of all copy a icon file to the root of the drive.example: c:\icon.ico
then create a file called: autorun.inf in c:\autorun.infthen open that file and type the following:
[autorun]icon=icon.ico
save and close the file.
now open my computer and resfresh.. and woh! icon changed....you can apply to other drives too.
be carefull:
"autorun.inf" and "ico.ico" must be in the root of the drive.example: c:\autorun.inf and c:\icon.ico.same on the root.
ENJOY, this works on 98 too!!!!!!!!!!!!!!!!!!

8) Hacking windows SEND TO MENU
I know this is a very simple thing but the problem, as like many other issues, is the ignorance about it.
How often do you copy songs from a CD? Or some photos from a CD?
What do you do? You select the required files and do a CTRL –C. Open the destination folder and do a CTRL-V. Here is something you can benefit time from. Customize your SEND TO MENU.
This sounds simple and you can do it in less than sixty seconds.You can create your own BASKET.
First you’ll need access to hidden files. So change your view settings to make all hidden files visible. Tools -> folder options -> view (tab) and select the show hidden files and folders. go to parent drive:/documents and settings/(user name)/send to
Open up my computer and locate your most used folders.
Create a shortcut of the most used folders in SEND TO FOLDER.You can do this in a number of ways.
Right click -> send to desktop(create shortcut) and move the shortcut from the desktop to the SEND TO FOLDER
Copy the most used folder and go to SEND TO FOLDER and right click -> paste shortcut.
Also remember to rename the shortcuts to send to videos or send to potos. We don’t need confusion when we use the same later.
5. DONE
~ c h e e r s! ~

9) How to remove the shortcut arrow from the desktop ?
Open Regedit and navigate to the following key:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell IconsBackup the key. More information. In the right-pane, create a new String value named "29"Double-click 29 and set its data to:
C:\Windows\System32\shell32.dll,50 (an empty icon) Close Registry Editor.
Now,
Right-click Desktop, choose Properties Click the Appearance Tab.
Click Advanced button.
Choose Icon from the drop-down list
Set it's size to 31 and press OK, OK.
The changes will be applied now. Repeat the above steps and then set the Icon size back to 32 (defaults). The above steps are required to force Windows to redraw the icons

10) The Complete list ! Can u Do it!
Try to create a folder in Windows with either of these names--"con" or "nul" or "Aux" or "Lpt1".Windows will not let u create ....
This s coz these refer 2 some well known ports....-con corresponds to the console-Lpt1 corresponds to printer and so on....
well dat was common but hw bt this ? Try these more
CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.

TURN NUMLOCK ON AT LOGON.!!
NumLock does not toggle on by default (system-wide), even if you have it set in your PC's BIOS, because of XP's multi-user functionality. Guess Microsoft doesn't know everyone actually turns it on, which should be reason enough for what acts as "default"...Anyway, you can hack the Windows Registry to change this behavior, or run a script at logon to turn NumLock on.1. To enable NumLock through the Registry:* Open Windows' Registry Editor (START > RUN, type "REGEDIT").*. Navigate to HKEY_USERS\.Default\Control Panel\Keyboard.*. Change the value for InitialKeyboardIndicators from 0 to 2.2. To enable NumLock using a script, see this MS Knowledgebase article for complete instructions:CODEhttp://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q262625Option 1 is the quicker method, but if you have more than one user on your system and one or more don't want NumLock on (stranger things have been known of), then option 2 is the way to go since it allows you to only attach the script to specific users.

REMOVING SERVICES DEPENDENCIES.!!
This will allow you to disable a service or uninstall it from your system without effecting another service that depends on it. Here's how you do it1. After you have set your services the way you want them and you have disabled/uninstalled something that another services depends on, run "regedit"2. Under HKEY_LOCAL_MACHINE\System\find the service that will not function, do to another service being disabled/uninstall (found in ControlSet001\Services, ControlSet002\Services, and CurrentControlSet\Services)3. Once you have found the service right-click on the string value, "DependOnService,"and modify4. You should now see a list of services that it is dependent on. Simply delete the service that you have disabled/uninstalled5. Restart your computer and your ready to go Disclaimer REMEMBER TO BACKUP YOU REGISTRY FIRST I'm not totaly sure if this will have any negative effects on your system. I used this method after uninstalling "Netbios over Tcpip" from my system completely, so that my Dhcp service would function and I have had NO negative effects on my system.

Adding / Removing Additional Programs

By default, WindowsXP does not display all the programs you can add or remove.To show this list:
Edit the \Windows\Inf\sysoc.inf file
In the Components section, simply remove the word hide.This will leave two commas together (like on the rest of the items).Then you can go to the Control Panel / Add or Remove Programs / Add/Remove Windows Components and the new items will be displayed.
[Components]NtComponents=ntoc.dll,NtOcSetupProc,,4WBEM=ocgen.dll,OcEntry,wbemoc.inf,hide,7Display=desk.cpl,DisplayOcSetupProc,,7Fax=fxsocm.dll,FaxOcmSetupProc,fxsocm.inf,,7NetOC=netoc.dll,NetOcSetupProc,netoc.inf,,7iis=iis.dll,OcEntry,iis.inf,,7com=comsetup.dll,OcEntry,comnt5.inf,hide,7dtc=msdtcstp.dll,OcEntry,dtcnt5.inf,hide,7IndexSrv_System = setupqry.dll,IndexSrv,setupqry.inf,,7TerminalServer=TsOc.dll, HydraOc, TsOc.inf,hide,2msmq=msmqocm.dll,MsmqOcm,msmqocm.inf,,6ims=imsinsnt.dll,OcEntry,ims.inf,,7fp_extensions=fp40ext.dll,FrontPage4Extensions,fp40ext.inf,,7AutoUpdate=ocgen.dll,OcEntry,au.inf,hide,7msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,hide,7msnexplr=ocmsn.dll,OcEntry,msnmsn.inf,,7smarttgs=ocgen.dll,OcEntry,msnsl.inf,,7RootAutoUpdate=ocgen.dll,OcEntry,rootau.inf,,7
Games=ocgen.dll,OcEntry,games.inf,,7AccessUtil=ocgen.dll,OcEntry,accessor.inf,,7CommApps=ocgen.dll,OcEntry,communic.inf,HIDE,7MultiM=ocgen.dll,OcEntry,multimed.inf,HIDE,7AccessOpt=ocgen.dll,OcEntry,optional.inf,HIDE,7Pinball=ocgen.dll,OcEntry,pinball.inf,HIDE,7MSWordPad=ocgen.dll,OcEntry,wordpad.inf,HIDE,7ZoneGames=zoneoc.dll,ZoneSetupProc,igames.inf,,7

Thursday, February 28, 2008

speed up your hard disk speed

To speed up your hard disk speed we need to configure a special buffer in the computer's memory in order to enable it to better deal with interrupts made from the disk.
This tip is only recommended if you have 256MB RAM or higher.Follow these steps:
Run SYSEDIT.EXE from the Run command.
Expand the system.ini file window.
Scroll down almost to the end of the file till you find a line called [386enh].
Press Enter to make one blank line, and in that line type
Irq14=4096
Note: This line IS CASE SENSITIVE!!!
Click on the File menu, then choose Save.
Close SYSEDIT and reboot your computer.
Done. Speed improvement will be noticed after the computer reboots.

Automatically Ending Non-Responsive Tasks

Automatically Ending Non-Responsive Tasks

1. Start Regedit 2. Go to HKEY_CURRENT_USER\Control Panel\Desktop\AutoEndTasks 3. Set the value to be 1 4. In the same section, change the WaitToKillAppTimeout to the number of milliseconds you want

Allowing Network Access with Blank Passwords

Allowing Network Access with Blank Passwords

Although you can log in locally without a password, by default, WindowsXP Pro does not allow network users to access the computer without a password. Typically you will receive an Unknown error 31 if this is the case.
To change this setting:
1. Run gpedit.msc 2. Go to Computer Configuration / Windows Settings / Security Settings / Local Policies / Security Options 3. Double click on Accounts: Limit local account use of blank passwords to console login only 4. Disable this option