Showing posts with label Troubleshooting. Show all posts
Showing posts with label Troubleshooting. Show all posts

Thursday, March 22, 2007

enable task manager on my system when it has been disabled by administrator

=============== start copy here ==================
REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableTaskMgr"=dword:00000000
=============== end copy here ==================

copy to notepad, and save with name repair.reg

Tuesday, April 18, 2006

Active Desktop - Enable/Disable

Active Desktop - Enable/Disable

The user is normally given the option of disabling Active Desktop through the
display properties. This tweak removes the ability to disable Active Desktop.

Open your registry and find the key below.

Create a new DWORD value named "ForceActiveDesktopOn" and set the value to "1"
to force the use of Active Desktop.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

Value Name: ForceActiveDesktopOn

Data Type: REG_DWORD (DWORD Value)

Value Data: (0 = default, 1 = enabled)

* This tweak will remove the Active Desktop options from Settings on the
Start Menu.

Open your registry and find the key below.

Create a new DWORD value named "NoSetActiveDesktop", and set the new value to
equal "1" to enable the restriction or "0" to disable the restriction.

Note: This restriction can be used either on a user by user basis by adding it
to HKEY_CURRENT_USER or on a computer wide basis by adding it to
HKEY_LOCAL_MACHINE.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

Value Name: NoSetActiveDesktop

Data Type: REG_DWORD (DWORD Value)

Value Data: (0 = disable restriction, 1 = enable restriction)


" This tweak allows you to have Active Desktop enabled, but to

restrict any changes to the settings "

Open your registry and find the key below.

Create a new DWORD value, or modify the existing value called 'NoActiveDesktopChanges'
set the value to equal '1' to enable the restriction.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

Value Name: NoActiveDesktopChanges

Data Type: REG_DWORD (DWORD Value)

Value Data: (0 = disable restriction, 1 = enable restriction)

" Features of the Windows Active Desktop can be selectively controlled by
modifying options in the Windows registry. Following the instructions in this
tweak "

Open your registry and find the key below.

Create a new DWORD value based on the options below, and set the new value to
equal "1" to enable the restriction or "0" to disable the restriction.

NoChangingWallpaper - Disable the ability to change wallpapers.

NoComponents - Disable components.

NoAddingComponents - Disable the ability to add components.

NoDeletingComponents - Disable the ability to delete components.

NoEditingComponents - Disable the ability to edit components.

NoCloseDragDropBands

NoMovingBands - retrict adjustments to desktop toolbars

NoHTMLWallPaper - only allow bitmaps (BMP) as wallpaper

Note: These restrictions can be used either on a user by user basis by adding it
to HKEY_CURRENT_USER or on a computer wide basis by adding it to
HKEY_LOCAL_MACHINE.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop]

System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop]

Data Type: REG_DWORD (DWORD Value)

Value Data: (0 = disable restriction, 1 = enable restriction)

Wednesday, March 15, 2006

Cannot Start Windows XP if the System or Software Hive Is Missing or Damaged


When you try to start or restart your Windows XP-based computer, you may receive
one of the following error messages:

Windows XP could not start because the following file is missing or corrupt:
\WINDOWS\SYSTEM32\CONFIG\SYSTEM

Windows XP could not start because the following file is missing or corrupt:
\WINDOWS\SYSTEM32\CONFIG\SOFTWARE

To resolve this issue, use one of the following methods.
Use the Recovery Console Tool:

To restore a damaged registry hive, use the Recovery Console to restore the

backup copy of the hive from the Repair folder. The Repair folder contains a
copy of the system's registry hives that were created after the first successful
startup of Windows XP.

WARNING : Although data should not be affected by the following procedure, you
may need to restore changes you previously made to programs or system settings
since the first time you successfully started Windows XP.

To replace the damaged registry hive and restore the backup copy of the hive
from the Repair folder: Start your computer to the Recovery Console.

Determine if the file that is mentioned in the "Symptoms" section of this
article is present, and if it is, rename it:

In Recovery Console, change to the c:\Windows folder.

Type cd system32\config , and then press ENTER.

Type dir system , and then press ENTER.

If you cannot run the preceding command successfully (because the file is
missing), skip to step 3. If you can run the preceding command successfully,
type ren system system.bak , and then press ENTER.

NOTE : If the message that you received referred to the software file, replace
"system" with "software" in the preceding command. For example, you would type
ren software software.bak (instead of ren system system.bak ), and then press
ENTER.

Type copy c:\windows\repair\system , and then press ENTER.

NOTE : If the message that you received referred to the software file, replace
"system" with "software" in the preceding command. For example, you would type
copy c:\windows\repair\software (instead of copy c:\windows\repair\system ), and
then press ENTER.

You should receive a "One file copied" informational message. For additional

information about how to use Recovery Console during startup, click the article
number below to view the article in the Microsoft Knowledge Base:

Q307654 HOW TO: Install and Use the Recovery Console for Windows XP

IMPORTANT : If you encounter problems when you run the preceding commands, you
may need to use the Change Directory command ( cd ) one folder at a time before
you run the preceding commands. For example, type cd system32 , press ENTER,
type cd config , and then press ENTER.

Type exit , and then press ENTER to quit Recovery Console and restart the
computer.

Tuesday, February 14, 2006

Removing Invalid Entries in the Add/Remove Programs Tool

Start/Run/Regedit

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall

Each program listed in Add/Remove Programs has a subkey listed here. Locate the correct subkey for the program in question and right click it, then select Delete. You may want to choose Export, first, to export the key to a REG file. The REG file can be re-imported if you find you made a mistake.

You may have to contact the manufacturer of the program that you want to remove if you need to clean up the disk and registry entries. The procedure described in this section does not remove all the files and registry entries used by the program; it removes only the reference in the Add/Remove Programs tool.

Note: Other checkpoints to consider when trying to remove a program:

Check to see if the software/program is listed here: Start/Run/Regedit

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

1. Right click the Program's shortcut/Properties to gain the Target Path.

2. Go to Start/Run/Msconfig/Startup and make sure it is not listed or checked there. If so, uncheck it and remove the program listing from here: Start/Run/Regedit

For items that were in the Start menu, Programs, Startup folder:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupfolder. You'll find a subkey for each disabled item.

For items loaded from the Registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg. Again, you'll find a subkey for each disabled item.

Clear Disabled Items from Msconfig Startup (Line 148)
http://www.kellys-korner-xp.com/xp_tweaks.htm

3. Go to Windows Explorer/Tools/Folder Options/File Types. If the program file type is listed, either use Change or Delete.

4. Go to Start/Run/Regedit and navigate to this key: HKEY_CLASSES_ROOT\Applications. If the program is listed, right click, delete.

5. Go to Start/Run/Regedit and navigate to these keys:
HKEY_CURRENT_USER\Software and HKEY_LOCAL_MACHINE\SOFTWARE. If the program is listed, right click, delete.

6. Go to Start/Run/Regedit. Edit/Find and under Find What type in the program path gained from step one. From there either use Find next or F3.

7. Removing Invalid Entries in the Add/Remove Programs Tool
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

8. The Windows Installer CleanUp Utility can remove a program's Windows Installer configuration information.
http://support.microsoft.com/default.aspx?scid=kb;en-us;290301

9. Third Party: Displays the entries in the Add/Remove Programs list of Windows Registry, checks if each is valid, and uninstalls the selected program or removes the entry from the list. http://superwin.swmirror.com/adrmpro2.exe

10. You Cannot Reinstall a Program with the Add/Remove Programs Tool

Friday, January 06, 2006

NTLDR is missing, press any key to restart

The quick test to make sure your OS installation is still good is to create an MBR and NTLDR on a floppy disk and check your partitions, this disk will check many of the partitions for a working windows installation. Here are the instructions to do this:

1. Get a blank floppy (whatever is on it will be erased), and put it into a working computer.

2. Download fixntldr.exe onto a working computer

3. Run the fixntldr.exe file by double clicking it. Click OK to overwrite the blank floppy disc in the working computer, you should see some screens about writing a new floppy disk.

4. Do you remember if the folder you had your Windows installation in was named "Windows"? If you can't remember just keep going.

5. Put the new floppy you have just created into the computer that gets the NTLDR is missing error message, turn the broken computer off.

Using the boot disk in the computer with the "NTLDR is missing" error.

Start back up the broken computer with the floppy in the floppy drive. Once your computer gets past the BIOS screen your computer should try to access the floppy drive and you should see a black screen with white letters that says:

1ST TRY THIS seleccione esto primero
2ND TRY THIS essayez ceci en deuzieme
3RD TRY THIS wahlen Sie diesen Third
4TH TRY THIS selezioni questo fourth
5TH TRY THIS selecione este fifth
6TH TRY THIS seleccione este sexto
7TH TRY THIS essayez ceci en septieme
8TH TRY THIS wahlen Sie dieses achte
9TH TRY THIS selezioni questo nono
10TH TRY THIS selecione este decimo

(I threw in some Spanish / French / German / Italian / Portuguese for international flavor.)

This file is set up to automatically select the "1ST TRY THIS" choice after 30 seconds. Try it first, if it was the wrong selection, you will likely get one of these three errors:

1. Windows could not start because file "\system32\hal.dll was missing or corrupt

2. Windows could not start because of a computer disk hardware configuration problem. Could not read from the selected boot disk. Check boot path and disk hardware. Please check the Windows documentation about hardware disk configuration and your hardware reference manuals for additional information.

3. I/O Error accessing boot sector file multi(0)disk(0)fdisk(0)\BOOTSECT.DOS

4. Immediate reboot

If you get the immediate reboot or some other weird error, try pressing F8 at the "1st Try This" selection screen, it will give you a prompt where you can select Safe Mode, and then try the "1st Try This" option again. Safe Mode is a special "minimal" version of Windows that doesn't load certain parts of the operating system that might have caused the problem.

One of the choices should eventually boot you back into Windows. (If you go all the way to option 10 and still get errors on startup, try changing boot.ini to windows.ini, then winnt.ini to boot.ini, and run through all 10 possibilities again.

Use windows to fix the boot files on the hard drive.

Once you get back into windows, try to change back whatever you were last doing and boot normally, it that doesn't work, go to the root of your C:\ drive and rename boot.ini to boot.ini.bak, ntldr to ntldr.bak, and ntdetect.com to ntdetect.com.bak, then copy the files that are on your floppy disk to the root of your C:\ drive (if you used the CD-ROM, download the fixntldriso.zip file and use the boot files from there) so that the files are on the root, like C:\ntldr C:\ntdetect.com C:\boot.ini. If it prompts you to overwrite a file, press "Yes". After they have been copied over, be sure to remove the "Read-Only" attribute from the properties of the files. (Right click on a file, choose properties, and uncheck the Read-Only box). Take the floppy out and reboot the computer (you should see the "1st Try This" menu, make the same selection you did before.

If you get back into Windows again, you can change that "1st Try This" menu by going into Start > Control Panel > System > Advanced tab > Startup and Recovery section, Settings button > System Startup; then change the "Default Operating System:" to the selection that worked for you, and change the box that says "Time to display list of operating systems" to however many seconds you want (usually 1 second). Click OK twice.

Sunday, December 18, 2005

Recovery Console in Windows XP

Recovery Console in Windows XP

Description of the Windows Recovery Console

This section describes the functionality and limitations of the Windows Recovery Console. 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.

When you use the Windows Recovery Console, you can obtain limited access to NTFS, FAT, and FAT32 volumes without starting the Windows graphical interface. In the Windows Recovery Console you can:

Use, copy, rename or replace operating system files and folders, Enable or disable services or devices from starting when you next start your computer, Repair the file system boot sector or the Master Boot Record (MBR), Create and format partitions on drives.

Note that only an administrator can obtain access to the Windows Recovery Console so that unauthorized users cannot use any NTFS volume. More Information.

To install the Recovery Console as a Startup Option

With Windows running, insert the Setup CD into your CD-ROM drive. Start/Run/X:i386\winnt32.exe /cmdcons. Follow the instructions on the screen.

Notes:

To run the Recovery Console, restart your computer and select the Recovery Console option from the list of available operating systems.

You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure.

To see the commands available on the Recovery Console, type help at the at the console prompt.

To start the computer and use the Recovery Console

From the Setup CD-ROM

Insert the Setup compact disc (CD) and restart the computer. If prompted, select any options required to boot from the CD.
When the text-based part of Setup begins, follow the prompts; choose the repair or recover option by pressing R. If you have a dual-boot or multiple-boot system, choose the installation that you need to access from the Recovery Console. When prompted, type the Administrator password. At the system prompt, type Recovery Console commands; type help for a list of commands, or help commandname for help on a specific command.

To exit the Recovery Console and restart the computer, type exit.

If you have already installed the Recovery Console

During Startup, select Recovery Console from the startup options menu. If you have a dual-boot or multiple-boot system, choose the installation that you need to access from the Recovery Console. When prompted, type the Administrator password. At the system prompt, type Recovery Console commands; type help for a list of commands, or help commandname for help on a specific command. To exit the Recovery Console and restart the computer, type exit.

Important Note: Because the Recovery Console is quite powerful, it is recommended for use only by advanced users or administrators.

To Delete the Recovery Console

Open My Computer.
Double-click the hard drive on which you installed the Recovery Console.
On the Tools menu, click Folder Options.
Click the View tab.
Click Show hidden files and folders, clear the Hide protected operating system files check box, and then click OK.
At the root directory, delete the \Cmdcons folder.
At the root directory, delete the file Cmldr.
At the root directory, right-click the Boot.ini file and then click Properties.
Clear the Read-only check box, and then click OK.
Open Boot.ini in Notepad, and remove the entry for the Recovery Console. It will look similar to this:
C:\cmdcons\bootsect.dat="Microsoft Windows Recovery Console" /cmdcons

Save the file and close it.

Modifying the Boot.ini file incorrectly may prevent your computer from restarting. Be sure to delete only the entry for the Recovery Console. Notes:

To open My Computer, double-click the My Computer icon on the desktop.
It is recommended that you change the attribute for the Boot.ini file back to read-only after you complete this procedure. You may also want to hide your system files again.


The commands available when using the Recovery Console are:
Attrib CD Chdir
Chkdsk Cls Copy
Del Delete Dir
Disable Diskpart Enable
Exit Expand Fixboot
Fixmbr Format Help
Listsvc Logon Map
MD Mkdir More
Rd Ren Rename
Rmdir Type Systemroot

Attrib: Changes the attributes of a file or directory.
Batch: Executes the commands specified in the text file.
ChDir (Cd): Displays the name of the current directory or changes the current directory.
Chkdsk: Checks a disk and displays a status report.
Cls: Clears the screen.
Copy: Copies a single file to another location.
Delete (Del): Deletes one or more files.
Dir: Displays a list of files and subdirectories in a directory.
Disable: Disables a system service or a device driver.
Diskpart: Manages partitions on your hard drives.
Enable: Starts or enables a system service or a device driver.
Exit: Exits the Recovery Console and restarts your computer.
Expand: Extracts a file from a compressed file.
Fixboot: Writes a new partition boot sector onto the system partition.
Fixmbr: Repairs the master boot record of the partition boot sector.
Format: Formats a disk.
Help: Displays a list of the commands you can use in the Recovery Console.
Listsvc: Lists the services and drivers available on the computer.
Logon: Logs on to a Windows 2000 installation.
Map: Displays the drive letter mappings.
Mkdir (Md): Creates a directory.
More: Displays a text file.
Rename (Ren): Renames a single file.
Rmdir (Rd): Deletes a directory.
Set: Displays and sets environment variables.
Systemroot: Sets the current directory to the systemroot directory of the system you are currently logged on to.
Type: Displays a text file.

This list can be obtained in the Console by typing "help" without the quotes.

A Discussion About the Bootcfg Command and Its Uses

The bootcfg command is a Microsoft Windows XP Recovery Console command that manipulates the Boot.ini file. This command has a function that can scan your hard disks for Microsoft Windows NT, Microsoft Windows 2000, and Windows XP installations, and then add them to an existing Boot.ini file or rebuild a new Boot.ini file, if one does not exist. The bootcfg command enables additional Boot.ini file parameters to be added to existing or new entries.

To use the bootcfg command, start the Recovery Console with the Windows XP CD-ROM, and then click Recovery Console. Or, install the Recovery Console locally, and then select the command from the Boot menu. More Information.

How to Boot Windows Preinstall Environment from a Hard Disk

This section describes how to configure the Windows Preinstall Environment (WinPE) to boot from a hard disk.

NOTE: More than likely the supported methods to boot WinPE (by means of a CD-ROM or from a Remote Installation Services (RIS) server) are the most commonly used methods. The method that is described in this article is provided for
informational purposes. More Information.

Access Floppy Drive from Recovery Console

To enable write access to floppies from within the R.C., click Start, Programs, Administrative Tools, Local Security Policy. Under Local Policy, Security Options, double-click "Recovery Console: Allow floppy copy and access to all drives and all folders." Select Enabled, then click OK.

Note: The following steps may also be necessary:

"After you enable the security policy, it must be applied (possibly across the domain) before becoming the effective policy on the local computer. This is necessary before the set command is truly enabled and available for use during a Recovery Console session. You can run the following command to force a refresh of the local computer's policy after performing the policy change listed above: secedit /refreshpolicy machine_policy

After the local policy is refreshed and the enabled Recovery Console security policy is in effect, you should be able to start Recovery Console and use the set command to enable any of the four environment options."

In the Recovery Console, you must then type: set AllowRemovableMedia = TRUE

Accessing Other Folders in Recovery Console

This security policy will also access to files and folders other than the defaults (normally access is restricted to \winnt and \cmdcons). To enable access to other folders, simply boot to the Recovery Console command prompt and type: set AllowAllPaths = true

You will then be able to access other files and folders on your computer. Please keep in mind that this is a potential security problem, and that you should be careful to restrict physical access to computers that are configured in this way.

Friday, July 15, 2005

Windows Update Site Problems

To protect your computer, you need the proper updates for your operating system. This is Number Two on the list of "Must do" to protect your computer.

Any operating system must be kept up to date. Without the updates, your computer will become increasingly more vulnerable to new threats.
Some of these threats are made possible by weaknesses discovered in Windows after Windows was released. Other weaknesses became apparent as new technology creates a weakness where there was none before.
Windows has made it easy to keep up to date
You can perform Windows Update automatically, prompted or manually.

Windows ME, 2000 & XP:
To set Windows Update on automatic (recommended for most home users)
Right click "My Computer"
Click "Properties"
Click "Automatic Updates"
Place check in "Keep my computer up to date"
Also place a bullet in "Automatically download the updates"
NOTE: Be sure your computer is powered on the day/time you set.
To set Windows Update to prompt for the updates choose one of the other two bullets on that page.
To manually update:
Start/All Programs/Windows Update
Follow the prompts.

Windows 9X:
Double click "My Computer"
Double click "Scheduled Tasks"
Double click "Windows Critical Update Notification"
You can make selections as desired.
If the option is not available install Windows Critical Update Notification:
1. Go here:
http://windowsupdate.microsoft.com
2. Click "Scan for updates"
3. On the left side click "Windows 98 and Windows 98 Second Edition"
4. Click "Add" by "Windows Critical Update Notification recommended update"
5. Click "Review and install updates"
6. Click "Install Now"

You should install ALL Critical Updates.
Install the Recommended Updates that you have determined apply to you.
Get the drivers directly from the manufacturer

If you have not updated in a while, you may have a lot of updates.
Install Service Packs first and by itself
Reboot
Install updates no more than three at a time.
Reboot
Install next three.

Don't forget to check for and install updates for other software such as Microsoft Office.

Saturday, May 14, 2005

Repair the Boot Sector

If XP won't start it may be due to a damaged boot sector or a missing or corrupt ntldr or ntdetect.com files.

To replace damaged ntldr and ntdetect.com you can copy fresh files from the XP CD using the COPY command. Boot with the XP CD and enter the Recovery Console (as above). At the Command Prompt type the following (where "X" is your CD-Rom drive letter) allowing the files to overwrite the old files
COPY X:\i386\NTLDR C:
COPY X:\i386\NTDETECT.COM C:

To repair a damaged Boot Sector at the command prompt type FIXBOOT and press Enter. Then answer "Y"

Thursday, March 10, 2005

How To Create a Boot Disk to Start Windows XP

Create a Windows startup disk when you first install Windows on the computer. This disk is different from an MS-DOS startup disk. Unlike MS-DOS, the whole Windows operating system cannot fit on one floppy disk. A Windows startup disk contains only the files that you must have to start the operating system with the remainder of the Windows system files installed on the hard disk drive. To create the startup disk, follow these steps:
1.Insert a blank floppy disk in drive A, and then format the disk by using Windows XP.
2.From the root folder of the system partition of your hard disk drive (for example, C:\-), copy the following files to the floppy disk:
Boot.ini
NTLDR
Ntdetect.com
You may have to remove the hidden, system, and read-only attributes from the files.
3.Restore the hidden, system, and read-only attributes to the files on your hard disk if you removed these attributes.
4.If the Bootsect.dos file or the Ntbootdd.sys file resides in the system partition, repeat steps 2 through 4 to copy these files to the boot disk.

Wednesday, January 19, 2005

How to access Last Known Good Configuration

Reboot your computer while holding down the F8 Key. At the Advanced Options Menu select Last Known Good Configuration.

picur









Reboot your computer while holding down the F8 Key. At the Advanced Options Menu select the option for Safe Mode and press Enter.