July 2014 - Hawkdive

Thursday, July 31, 2014

How to fix Print Queue, print spooler or printer driver issue?

Thursday, July 31, 2014 0

Each print server ( Computer which has Printer driver installed ) has a single print spooler service, which manages all the print jobs and print queues on that server.Print spooler service is a service which gives the print command to printer. It is manage the multiple print commands and gives to the print one by one when last print is done. Printer spooler service works with two system files spoolss.dll / spoolsv.exe and one Print spooler service but to keep print spooler service ups and running you must also have two dependencies services running which are RPC and Upnp.

Symptoms.

One of following error may occurs when give the print command.


  1. Local print spooler is not running. please restart the spooler.
  2. Print spooler is not working.
  3. Print spooler won’t start.
  4. Printer spooler service can’t start.
  5. Print Spooler service getting the error message while printing.
  6. Says, start the print spooler service first, then try to print again.
  7. Spooler Sub -System App has encountered a problem & needs to close.
  8. Operation could not be completed. The print spooler service is not running.
  9. Print Spooler Error 1068 – The Dependency Service Can’t Start.
  10. Operation could not be completed. The print spooler service is not running.
  11. Spooler subsystem app has encountered a problem and needs to close.
  12. Error 1068: The dependency service or group failed to start


Causes

There are lots of causes of “print spooler is not working” issue. Actually, most of the Viruses and Trojans does target the “print spooler service” to corrupt. they can also corrupt the registry of print spooler service because Print spooler service is only the one service which will effect most of the users who use the printer. Users wants to take print out however they getting the error message “Print spooler service has stopped please restart the service, the local print spooler is not running. please restart the spooler”.

Batch file Commands
net stop spooler
del /F /q %SYSTEMROOT%\system32\spool\PRINTERS\*.*
net start spooler

Fix It yourself Manually 
Solution 1
1. Stop the Print spooler service in command line
  • Click on start and expand allprograms and then got to “accessories” here you will see command prompt, right click on command prompt and then choose the option “run as Administrator“, a black command line will be opened.
  • Now type the following command in the command line.
  • Type 'net start spooler' without quotes and look carefully what message you have.
  • If it is Error 1068 "The dependency service or group failed to start" then type the following in the same window: sc config spooler depend= RPCSS (there must be a space after "=" but not before it.)
  • If it is "The required service has been already started" or "The print spooler service started successfully" but you still get error when trying to print - go next.
2. Remove your old printer drivers, then stop print spooler service.
3. Locate spooler files spoolsv.exe and spoolss.dll in system32 folder.

Pic-27(a)
4. Download these files from dll archive site from the web or copy from your friends PC.Replace both the files in system32 folder with downloaded ones.

5.Delete the files which are in spool>>printers folder,

  • Open this following path
  • c:\windows\system32\spool\printers
  • Then delete all the files which are located in spool>>printers folder.
6.
6. Start the print spooler service in command line and install latest drivers downloaded from the web.

  • Click on start and expand all programs and then got to “accessories” here you will see command prompt, right click on command prompt and then choose the option “run as Administrator“, a black command line will be opened.
  • Start>>All programs>>Accessories>>Command Prompt.exe
  • Now type the following command in the command line
  • Net start spooler

Solution 2
1. First stop the Print spooler service in services page.
Do right click on my computer icon and then click on manage, a windows will be opened, now find and click on services & application then click on services now in the right pane you will see print spooler service now click twice on that (Double click) and then click on STOP button.
2. Delete the files which are in spool>>printers folder

  • Open this following path
  • C:\windows\system32\spool\printers
  • Delete all the files which are located in spool>>printers folder.

3. Start the service in services page
Do right click on my computer icon and then click on manage, a windows will be opened, now find and click on services & application then click on services now in the right pane you will see print spooler service now click twice on that (Double click) and then click on START button.

Step 2: Delete the spool printer and driver files

In safe mode, delete the spool printer and driver files. To do this, start Microsoft Windows Explorer, and then delete all the files and the folders in the following two folders (where C: is the drive where Windows XP is installed):
C:\Windows\System32\Spool\Printers
C:\Windows\System32\Spool\Drivers\w32x86

Step 3: Edit the registry

Warning: Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

First, remove the Windows NT subkeys

Remove the potentially problematic registry entries for Windows NT x86 service subkeys. These may have been installed by third-party printer setup programs and may be interfering with the print spool service. Follow these steps to keep the drivers, print spools, and registry entries that were included with Windows and to remove all other drivers, print spools, and registry entries that may be causing issues.
Start Registry Editor. To do this, click Start, click Run, type regedit in the Open box, and then click OK.
Locate and expand the following registry key to view the list of subkeys (subfolders):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86
In the subkey list, there should only be the following subkeys:
Drivers
Print Processors
If there are any subkeys other than the subkeys that are listed in step 2, follow these steps:
On the File menu, click Export.
In the File Name box, type the name that you want to use for this key, such as WindowsNTx86regkey, and then click Save.

You can use this backup of the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86
registry key to restore the key if you experience any issues after you complete this procedure.
Delete all the subkeys other than the subkeys that are listed in step 2. To do this, right-click each subkey that is not displayed on the list, and then click Delete. Click Yes when you are prompted to confirm the deletion.

Second, remove registry entries for the default print monitors

Remove the potentially problematic print monitor subkeys that may be interfering with the printer that you want to use. These may have been installed by third-party printer setup programs. Follow these steps to keep the print monitors and registry entries that were included with Windows and to remove all other print monitors and registry entries that may be causing issues.

1. Start Registry Editor if it is not already open. To do this, click Start, click Run, type regedit in the Open box, and then click OK.
2. Locate and then expand the following registry key to view the list of subkeys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors
In the list of subkeys, there should only be the following subkeys for the default print monitors:
  • BJ Language Monitor
  • Local Port
  • PJL Language Monitor
  • Standard TCP/IP Port
  • USB Monitor

3. If there are any subkeys other than the subkeys that are listed in step 2, follow these steps:

  • On the File menu, click Export.
  • In the File Name box, type the name that you want to use for this key, such as Monitorsx86regkey, and then click Save.
  • You can use this backup of the
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors
  • registry key to restore the key if you experience any issues after you complete this procedure.
  • Delete all the subkeys other than the subkeys that are listed in step 2. To do this, right-click each subkey that is not displayed on the list, and then click Delete. Click Yes when you are prompted to confirm the deletion.
4.  Now browse through for the following registry path

  • HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Spooler
  • In the right side pane, twice click on the DependOnService value
  • Erase the current data, and after that type RPCSS only
  • Close registry editor
  • Delete any existing jobs in the spool folder (might be one of print job gone corrupt) C:\WINDOWS\system32\spool\PRINTERS.
  • Restart the computer
  • Exit Registry Editor.

If a printer is attached to the computer, disconnect the printer cable from the computer, and then restart the computer.

Step 4: Install the printer and print a test page

Reconnect the printer cable to the computer, install the printer according to the manufacturer’s instructions, and then try to print a test page.


In Windows XP

Sometimes in Windows Xp this issue could also be related to XP's data execution preventionWhere you need to add the print spooler service to the excluded list.


  • Go to System Properties>Advanced
  • Select Performance>Settings
  • Select Data Execution Prevention
  • Select Turn on DEP for all programs and services except those I select
  • Click Add
  • Paste this in to the file name box of the window that opens:
  • C:\WINDOWS\system32\spoolsv.exe
  • Select Open,Select OK when you receive the warning
  • Select Apply.

And you will be printing again. Good luck.

Tips
Try Microsoft Spooler Fix It - it can redeem some types of spooler errors.
Use HP Print Diagnostic Utility for HP printers.
Small tricks that can help in fixing issue:
press win r on your keyboard
type in "regedit" without quotes
locate this tree node HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Spooler
to the right-hand side of the window locate “imagepath” icon
double-click on it and type in C:\WINDOWS\system32\spoolsv.exe
press enter
reboot


People also read following top most searched issue








Read More

Saturday, July 26, 2014

How to Fix Searching and Indexing issue and Rebuild the Index.

Saturday, July 26, 2014 1

Searching feature in windows is one of the greatest advantage.It lets you access your files quickly and easily without you peeping into different folders one by one.It very useful when you have forgot the place of the file or the exact name of the file.Have you ever wondered how this search option is powered or built.It is actually built or powered by Indexing in Windows just like an index of a book.But here in windows you can choose the location to include or exclude in indexing.Or you can delete or add entry or remove old unavailable entry or rebuild the whole index to optimize the search feature for enabling the fast searching.

Fix Searching and Indexing issue and Rebuild the Index
Pic-26(a) Fix Searching and Indexing issue and Rebuild the Index

What is Index? 

A collection of detailed information about the files on your computer.
Windows uses the index to perform very fast searches on your computer. Here are some advanced indexing settings you can change.

What files are indexed?

By default, all of the most common files on your computer are indexed. Indexed locations include all folders included in libraries (anything you see in the Documents library, for example), e‑mail, and offline files. Files that aren't indexed include program files and system files—files that most people rarely need to search.

Can I index my entire computer so all searches are fast?

You shouldn't do this. If you make the index too large, or if you include system file locations (such as the Program Files folder), your routine searches will slow down. For best search results, we recommend that you only add folders that you search frequently to enable fast searching.

What if I'm using Windows Server 2008 R2?

You might need to install the File Services role on your computer before all search and indexing options are available. You can do this from the Server Manager console. To open the console, click Start, type Server Manager into the search box, and then click Server Manager. For more information about installing the File Services role, in the Server Manager console toolbar, click Roles, and then click Roles Summary Help.

How to fix Searching and Indexing issue



1. To add a file type to the index

If you use an unusual file type that's not currently recognized by the index, you can add it to the index so you can search in Windows by that file type. 
  • Open Indexing Options from control panel. 
  • Click Advanced. 
Fix Searching and Indexing issue and Rebuild the Index
Pic-26(b)-Fix Searching and Indexing issue and Rebuild the Index

  • In the Advanced Options dialog box, click the File Types tab.
  • In the Add new extension to list box, type the file name extension (for example, "txt"), and then click Add to enable searching the file type.
Fix Searching and Indexing issue and Rebuild the Index
Pic-26(c)-Fix Searching and Indexing issue and Rebuild the Index
  • Click Index Properties Only or Index Properties and File Contents, and then click OK.After this method you should be able to search the added file type.  

2. To rebuild the index

The index requires almost no maintenance. However, if the index can't find a file that you know exists in an indexed location, you might need to rebuild the index. Rebuilding the index can take several hours, and searches might be incomplete until the index is fully rebuilt.
  • Go to Control panel and then open Indexing Options. 
  • Click Advanced. 
Pic-26(d)-Fix Searching and Indexing issue and Rebuild the Index
  • In the Advanced Options dialog box, click the Index Settings tab, and then click Rebuild.  If you are prompted for an administrator password or confirmation, type the password or provide confirmation. 


3. To index encrypted files for searching encrypted files too

Before you add encrypted files to the index, we recommend that you have Windows BitLocker (or a non-Microsoft encryption program) enabled on your system drive (the drive that Windows is installed on).

Note:Windows BitLocker is only included in Windows 7 Enterprise and Windows 7 Ultimate.

Note that the index will automatically rebuild each time this setting is changed. This can take a long time, and might cause searches to be incomplete until the process is complete.

  • Go to Control panel and then open Indexing Options.
  • Click Advanced.  If you are prompted for an administrator password or confirmation, type the password or provide confirmation. 
  • In the Advanced Options dialog box, click the Index Settings tab, select the Index encrypted files check box, and then click OK.  If you are prompted for an administrator password or confirmation, type the password or provide confirmation. 

Notes
Although you can use a non-Microsoft program to encrypt your system drive, non-Microsoft file encryption programs are not supported. Windows only supports files encrypted using Encrypting File System (EFS).

EFS is only included in Windows 7 Enterprise, Windows 7 Professional, and Windows 7 Ultimate.


If you add encrypted files to the index and you're not using full-volume encryption for the location of the index, encrypted data from your files for example, text from an encrypted Microsoft Word document will be added to the index and will be available for searching. The index is obscured so that it's not easily readable if someone tries to open the index files, but it doesn't have strong data encryption. If someone were to gain access to your computer, they could extract your data from the index. Therefore, the location of the index should also be encrypted to help protect your indexed data.


4. To index words with and without diacritics as different words

If you commonly use diacritics (small signs added to letters to change the pronunciation of words) in your file and folder names, you can configure the index to recognize words with diacritics differently. By default, Windows recognizes diacritics according to the language version you are using. If you change this setting, all diacritics will be recognized.

The index will automatically be rebuilt each time this setting is changed. This can take a long time and might cause searches to be incomplete until the process is complete.

  • Click to open Indexing Options. 
  • Click Advanced.  If you are prompted for an administrator password or confirmation, type the password or provide confirmation. 
  • In the Advanced Options dialog box, click the Index Settings tab. 
  • Under File Settings, select the Treat similar words with diacritics as different words check box, click OK, and then click OK again.

5. To change the location where the index is stored

If you need to free up space on a hard disk, you can change the location of the index. If you change this location, the Windows Search service will automatically be restarted, and the change will not go into effect until the restart is complete.

  • Click to open Indexing Options. 
  • Click Advanced.  If you are prompted for an administrator password or confirmation, type the password or provide confirmation. 
  • In the Advanced Options dialog box, click the Index Settings tab.
Fix Searching and Indexing issue and Rebuild the Index
Pic-26(e)-Fix Searching and Indexing issue and Rebuild the Index
  • Under Index location, click Select new, click a new location, click OK, and then click OK again.

Note
When you change the index location, you should choose a location on a non-removable hard disk that is formatted using the NTFS file system.

What does it mean when I see a message that search results might be incomplete?

It means that the files are still being indexed. To perform fast and accurate searches, Windows collects information about files on your computer. This information is stored in the index. Periodically, Windows needs to update the index. If you perform a search while the index is being updated, the results might be out of date.

What does it mean when I see a message that a location can't be searched or there's no media present in the search location?

There's a problem searching one or more of your selected locations. Usually that's because you've selected a network location or a device that's not currently connected to your computer. It's also possible that you've selected a removable media device with no media (such as a memory card or a CD) in the device. Check your locations, and then try the search again.

How do I troubleshoot problems with searching and indexing?

If you are experiencing problems with searching, such as unusually slow searches or incomplete search results,or no search results at all run the Search and Indexing troubleshooter to see if it can diagnose the problem.

  • Go to control panel and open Troubleshooting.
  • Click on System and Security.
Fix Searching and Indexing issue and Rebuild the Index
Pic-26(f)-Fix Searching and Indexing issue and Rebuild the Index
  • Now Click on Search and Indexing.
  • It's gonna ask the problem you are facing so select the problems and click next to troubleshoot and fix.
Fix Searching and Indexing issue and Rebuild the Index
Pic-26(g)-Fix Searching and Indexing issue and Rebuild the Index


Depending on the severity of the problem, the Search and Indexing troubleshooter might need to restart the Windows Search service.After the Windows search service it restarted it might take few minutes to enable searching feature.

Here is a list that troubleshooter checks and fix

Incorrect permissions on Windows Search directories
Issue not present
When permissions on the Windows Search data directories are set incorrectly, the search service might not be able to access or update the computer's search index. This can result in slow searches or incomplete search results.
Search Filter Host process failed
Issue not present
Problems with the Search Filter Host might indicate errors in the Windows Search service, which can cause searches to fail or return incomplete search results.
Windows Search service shut down unexpectedly
Issue not present
When the Windows Search service is forcibly shut down while performing maintenance, searches might fail or return incomplete search results.
Windows Search service shut down unexpectedly
Issue not present
When the Windows Search service is forcibly shut down, searches might fail or return incomplete search results.
Windows Search service not running
Issue not present
When the Windows Search service is not running, searches might be slower, and you might not be able to find all items.
Windows Search service failed
Issue not present
Problems with the Windows Search service can cause searches to fail or return incomplete search results.

Search Protocol Host process failed
Issue not present
Problems with the Search Protocol Host might indicate errors in the Windows Search service, which can cause searches to fail or return incomplete search results.

**************End of Article*******************

Incoming Search Terms
  • Windows Searching and indexing issues
  • Enable fast Searching
  • Searching
  • searching the encrypted files.
  • Rebuild index
  • Can not search file
  • Windows Search does not work
  • Could not find the known file if search for it


People also read following top most searched issue



Read More

Sunday, July 13, 2014

Remove Write Protection on USB Storage Device-Can not delete any files from Flash Drive

Sunday, July 13, 2014 0
Remove Write Protection on USB Storage Device

Symptoms: Any of your Flash Drives, Storage Devices like External Hard drive will not let you delete any files from it or you will not be able to Format it.When you right click on any of the files in your storage device on your computer it does not show the option of delete but the same storage devices works well on any other computer, you can delete files and format it o any other computer.

Reason: It may happen if a virus or any malicious software changes the registry and set up a policy on storage device in your computer.To remove this Policy and make your computer working smoothly again follow the steps below.

1. Open Start Menu 
2. Run, type regedit and press Enter, this will open the registry editor. 
3. Navigate to the following path: 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies 

4. Double click the key WriteProtect in the right pane and set the value to 0 In the Value Data Box and press OK button 

5.Exit Registry.


Remove Write Protection on USB Storage Device
Pic-25(a)-Remove Write Protection on USB Storage Device


Read More

Wednesday, July 2, 2014

How to backup Saved Password, History and Bookmarks in Chrome

Wednesday, July 02, 2014 0
Every software malfunctions after some time and when it does that you get annoyed and want to troubleshoot the problem.In order to troubleshoot any issue with browser we would reset the browser that fix all the problem as it sets the browser back to its default setting with disabling all the browser addons and it also deletes all the saved password and home page or bookmark.

So it is very important to backup your saved password, history (if you need) and bookmarks.So here I am gonna show you how you can backup those stuffs.Chrome saves all these information for every user in their respective userprofile so you need to backup these data for each user separately by going into their userprofile.

How to back up saved passwords,History, bookmarks and cookies
1) Go to the Start menu > Run.
2) Enter one of the following address in the open box, then press OK.
For Windows XP: %USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data
For Windows Vista/7/8: %USERPROFILE%\AppData\Local\Google\Chrome\User Data

3) Locate and open the folder called "Default" in the directory window that opens.
Pic-24(a)

4) Now under this Default folder as shown below in Pic-24(b) you have your everything,Saved passwords,History, Cookies,Bookmarks that you can copy and back up.
Pic-24(b)

5) TO COPY BOOKMARKS: Copy the file named "Bookmarks", and save it for backup.
6) TO COPY PASSWORDS: Copy the file named "Login Data", and save it for backup.
7) TO COPY HISTORY: Copy the file named "History", and save it for backup.
8) TO COPY COOKIES: Copy the file named "Cookies", and save it for backup.
9) Once you have formatted the drive or created a new profile, follow steps 1-3 and simply paste the  files saved in steps 4 & 5.
10) All your bookmark data and password data are back!
11) In above steps you copy all this files one by one so to save time you can also copy the whole user data by copying %userprofile%\AppData\Local\Google\Chrome\User Data.


Use the Chrome Sync Features

Google Chrome's Sync feature is kind of Lifesaver in case your computer had died and you lost all of your data but you still have access to your favorites, bookmarks and saved password.This all will be accessible due to enabling Sync feature while setting up chrome.Yes, When you first set up Chrome it offers you the option to enable Chrome Sync – do it!.
Just in case it doesn’t, you can access it by clicking on the three horizontal lines to the right of the navigation bar near the top right hand corner, then clicking on settings. Right at the top (under settings) are the words “sign in to Chrome” and a button which allows you to connect your Google Account to your Chrome browser. Do that and sync will be enabled with the usual default settings.

Pic-24(c)
Once you click on Sign in to Chrome it will ask you to login with your Google account and after you logged in you will be presented with the Advanced Sync settings option to choose what to Sync, here you can chose to Sync everything or choose what to sync.

Pic-24(d)

Here you can sync your Chrome Apps, Extensions, Settings, Autofill, History, Themes, Bookmarks, Passwords and Open tabs.

Using Chrome Sync means that if I login to Chrome on any computer, it immediately starts the syncing process, which is useful, especially for bookmarks and browsing history. As a writer, I do a lot of online research and save some of that research via bookmarks, so I find this particularly valuable.And once it is synced it is accessible from anywhere, anytime even you have reinstalled your OS and then install the Chrome .You just need to login to Chrome and it will be available to you again.

Note: Now let me tell you one interesting thing that just strike in my mind.While writing about backing up passwords and bookmark, I recall a method to create a new Chrome user profile.Yes, you can create a new browser user profile in case the Chrome is malfunctioning,hijacked, or redirecting to unwanted website or if there is any problems with the browser.

So here are the steps to create a new browser profile.

In Windows
if your browser user profile is corrupted, you can create a new user profile to replace the broken one:

  1. Exit Google Chrome completely.
  2. Enter the keyboard shortcut Windows key +E to open Windows Explorer.
  3. In the Windows Explorer window that appears enter the following in the address bar.
  4. Windows XP: %USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data\
  5. Windows Vista/ Windows 7/ Windows 8: %LOCALAPPDATA%\Google\Chrome\User Data\
  6. Locate the folder called "Default" in the directory window that opens and rename it as "Backup default."
  7. Try opening Google Chrome again. A new "Default" folder is automatically created as you start using the browser.

In Mac

Quit Google Chrome completely.
  1. Go to the Go menu > Go to Folder.
  2. Enter the following directories in the text field, then press Go.
  3. ~/Library/Application Support/Google/Chrome/
  4. Locate the folder called "Default" in the directory window that opens and rename it as "Backup default."
  5. Try opening Google Chrome again. A new "Default" folder is automatically created as you start using the browser.

If you wish, you can transfer information from your old user profile to your new one. However, this action is not recommended, since a part of your old profile may be corrupt. With that in mind, to transfer your old bookmarks, copy the "Bookmarks.bak" file from the "Backup default" folder to your new "Default" folder. Once moved, rename the file from "Bookmarks.bak" to "Bookmarks" to complete the migration. All other browser data will remain in the "Backup default" folder, but you won't be able to transfer it to your new profile.


*********************************
Read More