Tuesday, April 21, 2009

Task Manager, Regedit, Folder option has been disabled by your administrator

Restore Task manager, Regedit  and Folder option in (3) three easy steps:

Start > Run > Gpedit.msc

REGEDIT:
in Gpedit.msc
     User Configuration > Administrative Templates > System > open "Prevent access to registry editing tools" choose enabled > apply > ok      and    open again choose disabled > apply > OK


TASKMANAGER:
in Gpedit.msc
     User Configuration > Administrative Templates > System > Ctrl+Alt+Del Options > "Remove Task manager" choose enabled > apply > ok      and    open again choose disabled > apply > OK


Folder Option:
in Gpedit.msc
     User Configuration > Administrative Templates > Windows Components > Windows Explorer> " Remove the Folder Option menu item from the Tools menu" choose enabled > apply > ok      and    open again choose disabled > apply > OK


Now you will access all the options without any popup. 

Monday, January 19, 2009

How to Use Windows XP: Setting Up a Network Printer

Preparation

In order to install a network printer, you must know your printer's Manufacturer, Model Name, and IP Address.

  • The Manufacturer and Model Name can be found on the printer case, an example is HP LaserJet 4000N .
  • The IP Address can be found on a label attached to the printer. An example of the IP Address is 192.168.0.121

Setting Up a Network Printer

1. Click on the Start button, then click Control Panel, then click Printers and Faxes, then click Add Printer.



Click Start, Control Panel, Printers and Faxes, then click Add Printer

2. A new Add Printer Wizard window opens. Click Next to start.

Click Next

3. Select Local printer attached to this computer. Make sure Automatically detect and install my Plug and Play printer is NOT checked.

4. Then click Next to continue.

Select Local Printer, un-check Automatically Detect, then click Next

5. We will create a new port for your network printer. Select Create a new port.

6. Beside Type of Port, click on the down arrow, then click on Standard TCP/IP Port.

7. Click Next to continue.

Select Create a New Port, then use the drop-down arrow to select Standard TCP/IP Port. Click Next.

8. A new Add Printer Port Wizard will open. Click Next to continue.

Click Next

9. You must now type your printer's IP Address in the Printer Name or IP Address field.

10. The Port Name will automatically be filled when you enter the IP Address. Do not change the Port Name.

11. Click Next to continue.

Enter the printer IP Address on the top text box.

12. IF YOU HAVE PROBLEMS, then you will see the screen on the right. This means that the IP Address for the printer is NOT available on the network. Select the Back button and make sure you entered the correct IP Address. Check to see that your network printer is powered on and displays a 'ready' status.

If you see this screen then the printer is not on the network. Retry.

13. IF YOU DID NOT HAVE PROBLEMS, Windows XP will scan the network to find your printer's IP Address. This may take a few seconds. Select Finish to continue.

If you see this screen you can continue. Click Next.

14. You must now select the printer's manufacturer and model. Windows XP will automatically select the detected manufacturer and printer driver. Normally, you will not have to change this selection.

15. OPTIONAL: If your printer is listed but you have more than one printer model to choose from, please select the model with PS, if available.

16. IF your network printer is NOT automatically detected, select the Windows Update button to find the proper software drivers.

MS Windows will automatically detect your printer manufacturer and model.

17. You will be prompted to confirm the selected printer driver. Make sure Keep existing driver is selected, then click Next to continue.

Select Keep Existing Driver, then click Next.

18. You will be prompted to assign the printer a Name. You can use the default name, or add more info to indicate the printer location, such as My Office, Hallway, Foyer, Room 222, etc.

19. Select Yes if you want to use the printer as the default printer. Click Next to continue.

Enter a Printer Name. Select Yes if you want to use this printer as the default.

20. You will be prompted to share the network printer. Do NOT share the network printer.

21. Click Next to continue.

Do NOT share the printer. Enter Next.

22. You will be prompted to print a test page. Select Yes, then click Next.

23. Check your network printer to make sure your page printed. Select Yes when prompted to confirm a successful test page.

24. Click on the Finish button to complete the Add Printer Wizard.

Print a test page. Click Next.

Congratulations! If your test page printed, you have successfully installed the network printer.

Sunday, January 11, 2009

Event ID : 1000 - DEP Error : Generic host for Win32 services

Generic Host Process for Win32 Services - DEP : Application Error

Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Date:  
Time:  
User:  N/A
Computer: 
Description:
Faulting application svchost.exe, version 5.1.2600.5512, faulting module acgenral.dll, version 5.1.2600.5512, fault address 0x000116e2.


What is /noexecute=optin /fastdetect /usepmtimer in boot.ini?

have windows Xp Pro SP2 and in the Boot.ini it shows multi(0)disk(0)partition(1)\Windows="Mic... Windows XP Profesional" /NoExecute=OptIn /fastdetect /usepmtimer
/NOEXECUTE


This option is only available on 32-bit versions of Windows when running on processors supporting no-execute protection. It enables no-execute protection (also known as Data Execution Protection - DEP), which results in the Memory Manager marking pages containing data as no-execute so that they cannot be executed as code. This can be useful for preventing malicious code from exploiting buffer overflow bugs with unexpected program input in order to execute arbitrary code. No-execute protection is always enabled on 64-bit versions of Windows on processors that support no-execute protection. There are several options you can specify with this switch:


/NOEXECUTE=OPTIN Enables DEP for core system images and those specified in the DEP configuration dialog.


/NOEXECUTE=OPTOUT Enables DEP for all images except those specified in the DEP configuration dialog.


/NOEXECUTE=ALWAYSON Enables DEP on all images.


/NOEXECUTE=ALWAYSOFF Disables DEP.

Link :
http://www.microsoft.com/technet/sysinternals/information/bootini.mspx

Thursday, January 1, 2009

Keyboard Tricks - If few keys are not working

If few keys of your keyboard have stopped working but still you love your keyboard , than don't worry you don't need to buy a new one because their are few keyboard tricks by which you can type the result of those keys .


Like suppose your keyboards B button is not working so try this :- fist check that num lock key is on to green position than now hold Alt key and type 66 and than release alt button and the result you will get on document will be B . This trick is working fine in windows .

So their is a list of these button tricks which is known as ASCII 
characters (American Standard Code for Information Interchange ) .


Even i was facing problem for E button in my keyboard but now its going fine with this trick . It happens mostly because of the pc games or piano keyboard because we press those keys continuously for high score and better results .You can copy this picture and save it your computer , I hope it will help you . 
[Read more of this review]

Monday, December 22, 2008

Turn OFF/ON Firewall - start>run

Disable:
netsh firewall set opmode disable

Enable:
netsh firewall set opmode enable

Network connections Icons Missing in Windows

Verify that the network DLL files are registered correctly:

  1. Click Start, and then click Run.
  2. In the Run box, type cmd.exe, and then click OK.
  3. Type the following lines. Press ENTER after you type each line. This command text is difficult to type. Be sure that you type it exactly as it appears below. Or you may find it easier to copy and paste the text instead. Click OK when the RegSvr32 dialog box appears for each command.

    regsvr32 netshell.dll
    regsvr32 netcfgx.dll
    regsvr32 netman.dll
  4. Restart the computer. Check to see whether your networking icons appear.
[OR]

Method 1: Let Windows automatically detect and install network adapters

  1. Right-click My Computer, and then click Properties.
  2. Click the Hardware tab, and then click Device Manager.
  3. To see a list of installed network adapters, expand Network adapter(s). Click to locate the network adapter, and then click Uninstall.
  4. Restart the computer, and then let the system automatically detect and install the network adapter drivers.
Method 2: Verify network settings and servicesTo verify network settings and services, follow these steps:
  1. Verify that the correct network adapter is selected. A network adapter is a device that enables you to connect a computer to a network. It is also known as a network interface card (NIC).
    1. Right-click My Computer, click Properties, click the Hardware tab, and then click Device Manager.
    2. Double-click Network adapters, and then verify that the correct network adapter name is selected. If you do not know the name of your network adapter, don't worry. For now, just make sure that an adapter is selected.
    3. Double-click the network adapter, and then verify that the "This device is working properly" message appears in the Device status box on the General tab. If you do not see this message, click Troubleshoot, and follow the directions.
    4. After you confirm that the correct network adapter is selected and is working properly, you can close all the open dialog boxes.

  2. Verify that the necessary services are started. The Services settings simply direct the system to stop, start, and administer system services.
    1. Right-click My Computer, and then click Manage.
    2. Double-click Services and Applications, and then click Services.
    3. In the right pane, look at the Status column. You may need to expand the box so that you can see all the columns. Make sure that the following services are started:
      • Remote procedure call (RPC)
        (This service must be started before other services can take effect.).
      • Network Connections
        (This service can only start if the RPC service is active.)
      • Plug and Play
      • COM+ Event System
        (This service can only start if the RPC service is active.)
      • Remote Access Connection Manager
        (This service can only start if Telephony service is active.)
      • Telephony
        (This service can only start if the RPC service and the PnP Service are active.)
    4. To start a service, right-click the service name, and then click Start.
    5. Do not close the Computer Management box because you will need to check additional settings in the remaining steps.

Saturday, December 20, 2008

Logon - Logoff issue in Windows XP - Immediate Logout after Login

1.Enter the Recovery Console

2. Boot the system using the Windows XP CD-ROM. In the first screen when the Setup begins, read the instructions press "R" (in the first screen) enter the Recovery Console.

3.Type-in the built-in Administrator password to enter the Console. You'll see the prompt reading C:\Windows (Or any other drive-letter where you've installed XP)

4.Type the following command and press Enter. CD SYSTEM32
(If that does not work, try CHDIR SYSTEM32)

5.COPY USERINIT.EXE WSAUPDATER.EXE
Quit Recovery Console by typing EXIT and restart Windows.

You'll be able to login successfully as you've created the wsaupdater.exe file (now, a copy of userinit.exe) Now, change the USERINIT value in the registry (see Phase II in this page) and change it accordingly.

Phase II - Fixing a registry entry which causes the Quick Launch issue (not retaining the settings)

Click Start, Run and type REGEDIT. Navigate to:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ WindowsNT \ CurrentVersion \ Winlogon

In the right-pane, change the value of Userinit to "C:\WINDOWS\system32\userinit.exe,"

Type the above value exactly as given, including the comma - exclude the quotes. Also, change the path to userinit.exe appropriately if Windows is installed in a different drive.

Close Registry Editor and restart Windows. The Quick Launch settings should be retained now.

Advanced troubleshooting - Diagnostic and Selection startup modes

To perform a diagnostic startup, follow these steps:
1. Click Start, click Run, type msconfig, and then click OK.
2. On the General tab, click Diagnostic Startup, and then click OK.
3. Restart your computer.
If the problem does not occur, use Selective startup mode to try to find the problem by turning individual services and startup programs on or off.

Selective startup:
Selective startup enables you to select the files and the settings that you want the computer to load when you restart the computer. Select from the following options:
• Process System.ini File
• Process Win.ini file
• Load System Services
• Load Startup Items
By default, no options are selected. The following actions apply to these options:

To perform a selective startup, follow these steps:

1. Click Start, click Run, type msconfig, and then click OK.
2. On the General tab, click Selective Startup.
3. Select or clear the available settings.
4. Click OK.
5. Restart your computer.
6. Repeat steps 1 through 5 until you find the problem.

Change individual file settings :
1. Click Start, click Run, type msconfig, and then click OK.
2. Click a tab: System.ini, Win.ini, Boot.ini, Services, or Startup.
3. Select or clear the available settings.
4. Click OK.
5. Restart your computer.
6. Repeat steps 1 through 5 until you find the problem.

System.ini and Win.ini options:
• Check boxes enable you to enable or to disable an option. To enable an option so that it loads at startup, select the check box or select the option, and then click the Select button. To disable an option so that it does not load at startup, clear the check box or select the option, and then click the Disable button.
Note When you click to clear a check box for an item or a line, the Selective Startup option on the General tab is automatically selected.

Manually extract a file:
If you have to fix a corrupted file, extract the individual Windows file from the CAB files. To do this, follow these steps:
1. Click Start, click Run, type msconfig, and then click OK.
2. On the General tab, click Expand File.
3. In the File to restore box, type the name of the file that you want to restore.
4. In the Restore from box, type the path of the Windows XP .cab file from which you want to restore the file. Or, click Browse From to locate the Windows XP .cab file.
Note The Windows XP .cab files are stored in the I386 folder on the Windows XP installation CD.
5. In the Save file in box, type the path of the folder to which you want to extract the new file. Or, click Browse To to locate the folder that you want.
6. Click Expand.
7. In the System Configuration Utility dialog box, click OK. If you are prompted to restart the computer, click Restart.

Return to normal startup:
After you complete your troubleshooting and fix your configuration, return to a normal startup. Follow these steps:
1. Click Start, click Run, type msconfig, and then click OK.
2. On the General tab, click Normal startup.
3. Click OK.
4. Restart your computer.

Msconfig > Boot.ini > Options:
Microsoft recommends that you don’t attempt to use MSCONFIG to edit BOOT.INI unless you’re directed to do so by a Microsoft support professional.
Three of the four buttons provided in this window are for editing purposes and are grayed out by default. The Check All Boot Paths

Boot tab summary:Safe boot
* Minimal - Safe mode
* Alternate shell - Safe mode with Command Prompt
* Active Directory repair - Directory Services Restore mode (domain controllers only)
* Network - Safe mode with networking
Note: This does not load the network configuration, but instead loads a generic TCP/IP network configuration.

No GUI boot - When this option is selected, the VGA video driver responsible for presenting bitmapped graphics during the Windows startup process is not initialized. The driver is used to display startup progress information and error messages. Disabling this disables Windows ability to do those things.

Boot log - Enable Boot Logging. This is the mode to use when you are debugging problems that are regularly reproducible.

Base video - The computer starts up using the standard VGA video driver. Use this switch if you have installed a graphics driver that is not working.

OS boot information - Displays the driver names while they are being loaded. Use this switch if Windows does not start up and you believe that a driver is missing.

Boot option pane :
The most valuable functions on the BOOT.INI tab are the boot options, which are explained below. You can use these five choices for a variety of troubleshooting techniques.
  • /SAFEBOOT gives you four suboptions for starting the computer.
  • /SAFEBOOT with MINIMAL starts the computer in Safe Mode.
  • /SAFEBOOT with NETWORK starts the computer in Safe Mode with networking support.

  • Note
    /SAFEBOOT with NETWORK does not load the normal network configuration; instead, it loads a generic TCP/IP network configuration.
  • /SAFEBOOT with DSREPAIR is used to repair Directory Services on Domain Controllers.
  • /SAFEBOOT with MINIMAL (ALTERNATESHELL) starts the computer in Safe Mode with Command Prompt.
  • /NOGUIBOOT starts the computer without the VGA video driver that displays graphics during the boot process and Blue Screen crash information.
  • /BOOTLOG enables boot logging to help you debug and troubleshoot startup problems.
  • /BASEVIDEO starts the computer using a standard VGA video driver, as opposed to the one installed for the graphics card.
  • /SOS causes the driver names to be displayed when they’re loaded. You can use this switch to diagnose driver-related issues.
Figure E

The BOOT.INI Advanced Options screen, shown in Figure E, offers you four more options for starting your computer.
  • /MAXMEM limits the amount of memory that Windows XP can use. You can use this switch if you believe that your system has a bad memory chip.
  • /NUMPROC limits the number of processors used in a multiprocessor system.
  • /PCILOCK stops Windows XP from dynamically assigning system resources to PCI devices. The devices will use the BIOS configuration instead.
  • /DEBUG starts the computer in debugging mode. It allows you to configure the machine with three additional suboptions, as follows:
  • /DEBUG with /DEBUGPORT specifies the communications port to be used for debugging.
  • /DEBUG with /BAUDRATE specifies the baud rate to be used for debugging. The default baud rate is 9600 with a modem and 19200 with a null-modem cable.
  • /DEBUG with /CHANNEL specifies the 1394 communications channel for debugging.
Working with the Services tab:
The MSCONFIG Services tab, shown in Figure F, allows you to prevent specific services from starting when the computer is started. This is extremely useful when you’re troubleshooting service-related problems.

Microsoft has designed the majority of services in Windows XP. To make it easier to find a non-Microsoft service, you can select the Hide All Microsoft Services option.


Troubleshooting using the Startup tab:
The Startup tab lets you prevent items in your startup folder from starting when you log in. As you can see in Figure G, you can simply deselect the service to prevent it from starting. If you want to disable all the services, click the Disable All button. To enable all the services again, click the Enable All button.

System restore : Windows XP

You can use the System Configuration utility to perform a system restore. There are three possible restore points:
• System checkpoints that Windows schedules
• Manual restore points that you specify with the System Configuration utility
• Installation restore points that occur before you install a program or a service
You can use the system checkpoints or the installation restore points to restore your computer's settings to a date when it operated correctly. This may also help determine the cause of the configuration error.

To perform a system restore, follow these steps:
1. Click Start, click Run, type msconfig, and then click OK.
2. On the General tab, click Launch System Restore.
3. Select Restore my computer to an earlier time, and then click Next.
4. Calendar dates in bold are possible restore points. Click the most recent one to view system restore information.
5. Select a system checkpoint or an installation restore point, and then click Next.
6. Close all other programs.
7. To start the system restore, click Next.
8. Your computer restarts.
9. Repeat steps 1 through 8 until you fix your configuration issue.

FIX & Bootcfg Commands on Recovery Console

# Fixboot writes a new startup sector on the system partition:

ex: fixboot c:

Use this command to write the new Windows boot sector code on the system partition. In the command syntax, drive name is the drive letter where the boot sector will be written. This command fixes damage in the Windows boot sector. This command overrides the default setting, which writes to the system boot partition. The fixboot command is supported only on x86-based computers.

# Fixmbr repairs the startup partition's master boot code:
The variable device is an optional name that specifies the device that requires a new Master Boot Record. Omit this variable when the target is the startup device.

fixmbr \device\harddisk2

Fixmbr Command Syntax: fixmbr (device_name)

device_name = This is where you designate the exact drive location that a master boot record will be written to. If no device is specified, the master boot record will be written to the primary boot drive.
Fixmbr Command Examples: fixmbr \Device\HardDisk0

In the above example, the master boot record is written to the drive located at \Device\HardDisk0. In this example, the master boot record is written to the device that your primary system is loaded onto. If you have a single installation of Windows installed, which is normally the case, running the fixmbr command in this way is usually the right way to go.

# Bootcfg modifies the Boot.ini file for boot configuration and recovery.

What Is the Bootcfg Command?:

The bootcfg command is a Recovery Console command used to build or modify the boot.ini file, a hidden file that is used to identify in what folder, on which partition, and on which hard drive Windows is located.
Bootcfg Command Syntax: bootcfg /list
/list = This option will list every entry in the boot list in the boot.ini file.

bootcfg /scan
/scan = Using this option will instruct bootcfg to scan all drives for installations of Windows and then display the results.

bootcfg /rebuild
/rebuild = This option will step you through the process of rebuilding the boot.ini file.

bootcfg /default
/default = the /default switch sets the default boot entry in the boot.ini file.

bootcfg /add
/add = This option allows for the manual entry of a Windows installation in the boot.ini boot list.

bootcfg /rebuild
In the above example, the bootcfg command scans all drives for any Windows installations, displays the results, and steps you through building the boot.ini file.

#Diskpart What Is the Diskpart Command?:
The diskpart command is a Recovery Console command used to create or delete partitions on hard drives.
Diskpart Command Syntax: diskpart /add
/add = The /add option will create a new partition on the specified hard drive.

diskpart /delete
/delete = This option will remove a specified partition on a specified hard drive.
Diskpart Command Examples:

diskpart /add \Device\HardDisk0 5000

In the above example, the diskpart command creates a 5,000 MB partition on the hard drive located at \Device\HardDisk0.

diskpart /delete \Device\HardDisk0\Partition1

In the above example, the diskpart command will remove the Partition1 partition located on the hard drive \Device\HardDisk0.

diskpart /delete G:

In the above example, the diskpart command will remove the partition currently assigned the drive letter