Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Monday, July 07, 2014

Tech Tips: Windows Update failing? Try this

Copied from

http://support.microsoft.com/kb/947821

Windows corruption errors prevent Windows updates and service packs from installing. For example, an update might not install if a system file is damaged. If the error you see is in the following list, try the solution in this article.

0x80070002 | 0x8007000D | 0x800F081F | 0x80073712 | 0x800736CC | 0x800705B9 | 0x80070246 | 0x8007370D | 0x8007370B | 0x8007370A | 0x80070057 | 0x800B0100 | 0x80092003 | 0x800B0101 | 0x8007371B | 0x80070490

If your error is not listed or if you are running Windows XP, try Solutions for common Windows Update errors.

Resolution

Windows 8.1, Windows 8, Windows Server 2012 R2 or Windows Server 2012

To resolve this problem, use the inbox Deployment Image Servicing and Management (DISM) tool. Then, install the Windows update or service pack again.
  1. Open an elevated command prompt. To do this, swipe in from the right edge of the screen, and then tap Search. Or, if you are using a mouse, point to the lower-right corner of the screen, and then click Search. Type Command Prompt in theSearch box, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.
  2. Type the following command, and then press Enter.
    It may take several minutes for the command operation to be completed.
    DISM.exe /Online /Cleanup-image /Restorehealth
    Important When you run this command, DISM uses Windows Update to provide the files that are required to fix corruptions. However, if your Windows Update client is already broken, use a running Windows installation as the repair source, or use a Windows side-by-side folder from a network share or from a removable media, such as the Windows DVD, as the source of the files. To do this, run the following command instead:
    DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess
    Note Replace the C:\RepairSource\Windows placeholder with the location of your repair source. For more information about using the DISM tool to repair Windows, reference Repair a Windows Image.
  3. Close the command prompt, and then run Windows Update again.
DISM creates a log file (%windir%/Logs/CBS/CBS.log) that captures any issues that the tool found or fixed. %windir% is the folder in which Windows is installed. For example, the %windir% folder is C:\Windows.

Windows 7, Windows Vista, Windows Server 2008 R2 or Windows Server 2008

To resolve this problem, use the System Update Readiness tool. Then, install the Windows update or service pack again.
  1. Download the System Update Readiness tool.
    Click the download link in the following table that corresponds to the version of Windows that is running on your computer.
    Find out if your computer is running the 32 or 64-bit version of Windows

    This tool is updated regularly, we recommend that you always download the latest version. 

Tuesday, May 05, 2009

Tech Tips: How to remove dodgy printer drivers when printer spooler keeps crashing

If the Print Spooler service fails when printing, when Windows starts or it can not be restarted, the usual reason is that one or more printer drivers is defective. If the Print Spooler service is not running, the Printers and Faxes folder will be empty and you can not use it to remove (or add) printers or printer drivers. If you have a Lexmark printer, see special information about Lexmark printer drivers.

It's important to only install printer drivers that are designed and built specifically for the Windows version you have. This is particularly important for Windows XP; many of the CDs and floppy disks distributed with printers (particularly older models) do not have Windows XP drivers - check the printer manufacturer's web site for printer drivers for the version of Windows you have (see Links).

A common cause of printer driver problems is to upgrade to Windows XP from Windows 95, 98 or ME without first removing the printer and the printer drivers.

The steps on this page will remove all printers and printer drivers from the computer. The printing subsystem is then "clean" and ready for printers to be added using printer drivers specifically for the Windows version you have.

If you have drivers for several printer models installed (e.g. on a Print Server computer) it may only be necessary to remove the defective printer drivers. At steps 2, and 7, just delete the entries for the printers or printer drivers you suspect are defective. Unfortunately, the files that comprise the drivers are all in the same folder. Also, the same files may be used by the drivers for several printer models. So, selectively deleting the driver files at step 12 may be difficult or impossible. With Windows 2000 and XP, in most cases, deleting the registry entries for the drivers (step 7) will be sufficient, so you may want to skip steps 10 through 12 if you have multiple printer models and don't want to re-install all of them.

Check in Control Panel, Add/Remove Programs; if there is an entry relating to one of the printers, select it, then click Change/Remove. Follow the dialog and "uninstall all" or "remove all" as appropriate. Some "printer software" have programs that show up here and it will be a good idea to remove those before going any further.

If the Print Spooler service is operational:

  1. Open the Printers (Printers and Faxes on Windows XP) folder

  2. delete all of the printers

  3. click File, Server Properties

  4. select the Drivers tab

  5. for each entry:

    1. select the entry

    2. click Remove


Usually, this will do a pretty good job of cleaning out drivers with Windows 2000 and later (not so with Windows NT 4).

If the Print Spooler service is not operational, or you want to make certain there are no printer driver remnants, either follow the instructions below or use cleanspl.exe from the Windows 2000, XP or 2003 Resource Kit (http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en). cleanspl.exe from the Windows 2003 Resource Kit tools will work on Windows XP.

Some information about cleanspl.exe:

  • cleanspl.exe does a very thorough job of cleaning up the print spooler stuff, but it does not remove the spooler service dependency on the Lexmark service (see special information about Lexmark printer drivers).

  • You can use it to clean up the spooler stuff on another computer (i.e. remotely).

  • When you run it, it asks you if you want to remove some things that are actually delivered (and installed by default) with Windows. In most cases, you should answer No to the corresponding prompts (you don't want to remove the Standard TCP/IP Port or the BJ Language Monitor).


Here's how to clean up the print spooler stuff if cleanspl.exe is not available or you prefer to do things manually.

Warning! be very careful using regedit - if you delete the wrong things, you may render your computer inoperative!


  1. open regedit (e.g. click Start, key regedit and press Enter)

  2. navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers

under this key, there will be the keys Version-2 and Version-3 (one or the other of these may be absent - not a problem)

the sub-keys under these contain the printer driver configuration information

delete all the sub-keys inside Version-2 and Version-3, but not these keys themselves

The Microsoft Knowledgebase article at http://support.microsoft.com/default.aspx?scid=kb;en-us;312052 lists some other registry entries to delete, but this is not usually necessary.

  1. open a Command Prompt window

  2. key the commands
    net stop spooler
    net start spooler

  3. open Windows Explorer

  4. navigate to %systemroot%\system32\spool\printers\ and delete any files there. By default, this is where the print spooler stores print files.

  5. navigate to %systemroot%\system32\spool\drivers\w32x86 (%systemroot% is usually Windows, but it might be winnt or something else; this is set when the OS is installed).

  6. inside w32x86, there will be folders with the names 2 and 3 (one or more of these may be absent - not a problem)
    delete all of the files and sub-folders in each of the 2 and 3 folders, but not the folders themselves
    inside w32x86, there may be other folders with names starting with "hewlett_packard", "hphp" or something else; delete these folders also

  7. restart the print spooler (see steps 8 and 9 above)

At this point, the system should be pretty well back to the way it was before any printers were installed.

Some would suggest restarting Windows at this point, but with Windows 2000 and later, this does not seem to be required.

If you have a Lexmark printer, these additional steps may be necessary (thanks to Robert Orleth [MSFT] for providing this information). The Lexmark printer installation process sometimes installs a service that makes the print spooler service dependent on itself. If there is a problem with Lexmark service or a Lexmark printer driver (or you removed it using the steps above), the print spooler service may not start (see also http://support.microsoft.com/default.aspx?scid=kb;en-us;324757). The steps below make the print spooler service only dependent on the Remote Procedure Call (RPC) service (RPCSS), which is normal. The print spooler service dependencies are stored in the registry at

HKEY_LOCAL_MACINE\SYSTEM\CurrentControlSet\Services\Spooler\DependOnService

The sc config command at step 16 resets the value of that entry.

  1. Open a Command Prompt window

  2. key the command
    sc config spooler depend= RPCSS
    (note the space after the = but not before)

  3. restart the print spooler (see steps 8 and 9 above)


Reference: http://members.shaw.ca/bsanders/CleanPrinterDrivers.htm


Wednesday, March 04, 2009

Tech Tips: Playing music from iPod without iTunes

Let's just say you have the iTunes where you sync your music installed in your home computer and your company IT policy does not allowed you to install any other software as well having music files in the laptop other than the business applications. What would you do to put yourself to sleep or just plainly listen to your music via the laptop speakers?

Fret not, go download Pod Player and have your problem solved immediately... and it's FREE!

(www.ipodsoft.com)

Tuesday, July 29, 2008

Tech Tips: My way of restoring Regedit, Task Manager, Search functions disabled by nasty virus/trojan

There have been quite of a number of computers in the organization where the Registry edit, Task Manager and even Search function got disabled by a nasy trojan or virus which I'm still unable to tell due to the stupid McAfee AV is not picking up any detection so far...

Since I can't tell which variant of trojan/virus struck the computers, i relied on my own methods after studying methods use by various netizens, here i compiled the steps in search for a cleaner systems.

1. Scan your system for virus/trojan

In this case, I opted for the online scan due to the antivirus installed on those machines are not detecting anything. I chose Pandasoft Free Online ActiveScan from http://www.pandasecurity.com/homeusers/solutions/activescan/ You're need to register a FREE account in order to clean the detected malware (low risk cookies cannot be disinfected by using the free account but that's OK) Disinfect whatever that got detected by Pandasoft.

2. Scan the processes running on the system

This is rather technical and meant for those who knows what they're doing only. Download Hijack This (FREE) from http://www.trendsecure.com/portal/en-US/tools/security_tools/hijackthis or AnVir Task Manager Pro (20-Days trial) http://www.anvir.com/products.htm and carefully scrutinize and delete/quarantine the high risk processes off your system (AnVir Task Manager Pro can identify which of those consider high risk)

3. Bringing Regedit, Task Manager, Msconfig and etc Back

There are a few ways to do it actually, some running VB script or a cracked regedit.exe but the easiest one would be running this little app RRT With Removable Media Malware from http://en.sergiwa.com/modules/mydownloads/ Although it's not a freeware but it allows the features to bring back all the blocked functions mentioned here.

Good Luck.

references:
http://www.techspot.com/vb/topic18950.html
http://www.troublefixers.com/folder-options-disabled-by-virus-trojan/
http://www.wareprise.com/2006/12/21/how-to-delete-virus-that-disables-task-manager-regedit-from-launching/
http://www.viprasys.com/vb/f82/restore-task-manager-regedit-folder-options-disabled-virus-18301/