Wednesday, May 29, 2013

Printer cannot be selected in Microsoft Office. Showing no printer on listing.

Issue 
  • Printer cannot be selected in Microsoft Office. Showing no printer on listing.
  • Microsoft Excel, Word asking to install new printers although you have printers installed.
  • Default printer cannot be set.
  • After deleting and installing printer drivers, same issues.

Solution 1
  • Go to windows registry. 
    • Start->Run
    • Type regedit or regedt32
    • Press okay
  • Go to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows\
  • Look for an entry called Device. The value of device should look like HP LaserJet P2015 Series PCL 5e,winspool,Ne05:
  • If it is missing, create an entry called Device, Type REG_SZ, Value Default printer details  

Solution 2

from link http://support.microsoft.com/kb/307016 
 
Create a new user who is named Test:
    1. Log on to the client computer as Administrator.
    2. Click Start, right-click My Computer, and then click Manage.
    3. Under System Tools, expand Local Users and Groups, right-click Users, and then click New User.
    4. Create a new user who is named Test.
  1. Quit the Computer Management snap-in, and then display hidden files and folders:
    1. Click Start, click Control Panel, and then double-click Folder Options.
    2. Click the View tab, click Show hidden files and folders, click to clear the Hide extensions for known file types check box, click Apply, and then click OK.
  2. Log off the computer, and then log on as the Test user account that you created in step 1.
  3. Click Start, click Printers and Faxes, and then click Add a printer. Follow the instructions on the screen to add a network printer.

    Note You may have to be authenticated before you can connect to the network printer:
    1. Click Start, click Run, type cmd in the Open box, and then click OK.
    2. Type net use lpt1: \\servername\share /user:administrator, and then press ENTER, where servername is the name of the server with the shared network printer, share is the share name of the network printer, and administrator is the name of a user account with administrative credentials on the server.
    3. Type the administrative password when you are prompted to do so, and then press ENTER.
    4. Restart the Add Printer Wizard.
  4. After you add the network printer, log off the computer, and then log on as Administrator.
  5. Load the Test registry hive:
    1. Click Start, click Run, type regedt32 in the Open box, and then click OK.
    2. Click HKEY_LOCAL_MACHINE, and then click Load Hive on the File menu.
    3. Open the Windows installation drive\Documents and Settings\test folder, where test is the name of the Test user that you created in step 1.
    4. Click the NTUSER.DAT file, and then click Open.
    5. In the Key Name box, type Test, and then click OK.

      The Test registry hive is loaded under
      HKEY_LOCAL_MACHINE
      .
  6. Insert the default user Test registry file under
    HKEY_LOCAL_MACHINE
    :
    1. Click the following registry subkey:
      HKEY_LOCAL_MACHINE\Test\Printers
    2. On the File menu, click Export.
    3. In the File name box, type print.reg, and then click Save.
    4. Click the
      Test
      registry subkey, and then click Unload Hive on the File menu.
    5. Click Yes to confirm that you want to unload the key and all its subkeys.
    6. Click the
      HKEY_LOCAL_MACHINE
      registry key, and then click Load Hive on the File menu.
    7. Open the C:\Documents and Settings\Default User.WINDOWS file.
    8. Click the NTUSER.DAT file, and then click Open.
    9. In the Key Name box, type Test, and then click OK.

      The default user "Test" registry file is inserted under HKEY_LOCAL_MACHINE.
  7. On the File menu, click Import.
  8. Open the folder where you saved the Print.reg file, click Print.reg, and then click Open.
  9. When you receive the message that the information in the Print.reg file has been successfully entered into the registry, click OK. The printer information is loaded into the default user registry settings.
  10. Click the Test registry key, and then click Unload Hive on the File menu.
  11. Click Yes to confirm that you want to unload the Test key and all its subkeys.
  12. Quit Registry Editor.
  13. Test the new configuration by creating a new user, and then logging on as that user. The network printer is listed in the Printers and Faxes dialog box.

How to disable automatic restart after windows update


Issue:

Windows restarts automatically after critical windows update. All the unsaved work gets lost or some files gets corrupted.

Solution:

1. Click on Run and type regedit.exe (Registry editor).

2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
 

3. If you do not see WindowsUpdate\AU, you can create it by following the procedure below.

   a. Click on Windows
   b. Select Edit Menu
   c. Choose New -> Key
   d. Type WindowsUpdate


   e. Click on WindowsUpdate
   f. Select Edit Menu
   g. Choose New -> Key
   h. Type AU


4. Click on AU. On the right hand side, create a new 32-bit DWORD called NoAutoRebootWithLoggedOnUsers. Use the procedure below to create it.


   a. Select Edit Menu
   b. choose New -> DWORD.
   c. Type NoAutoRebootWithLoggedOnUsers
   d. Double Click NoAutoRebootWithLoggedOnUsers
   e. Change the value data to 1 (hexadecimal)


5. Close registry editor.


How to disable automatic restart after windows update, Windows XP or 7
























Works with Windows 7 & Windows XP