Default Printer Selection Changes Upon Restart

Posted on 2005-04-15
Last Modified: 2012-06-27
SOny Vaio notebook with WIN XP Pro; Brother printer installed as a network printer on another PC on the network, and an HP inkjet connected with that same PC on the network.

I have the Brother selected as the default printer, but if I reset the notebook it goes back to the HP inkjet as the default printer.  All is fine if I go to Control Panel and change, but is very irritating to do so every boot up.
Question by:Mike Caldwell

    Expert Comment

    Could this be a user rights issue. Do you have administrator rights on your laptop? Even that sounds wrong though, I thought even a limited user could set a default printer.
    LVL 1

    Author Comment

    by:Mike Caldwell
    I am the only user on the entire network, so administrator of everything.
    LVL 5

    Accepted Solution

    Try this,

    Change a Users Default Printer (All Windows)
    This setting will allow you the change the default printer of a user by modifying the registry.

    Open your registry and find the key appropriate for your operating system, as shown below.
    Add or edit the value of 'Device', to equal the printer you want to become default for the current user.

    [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows]

    Note: The device is the name used to represent the printer in the registry, the name can also be found in the [HKEY_CURRENT_USER\Printers\Settings] key.
    LVL 1

    Expert Comment

    Open notepad and copy and paste the following

    Option Explicit
    Dim objPrinter
    Set objPrinter = CreateObject("WScript.Network")
    objPrinter.SetDefaultPrinter "Printer Name"

    Change Printer Name to the name of your printer, go to "Start", "Settings", "Printers and Faxes" copy the name exactly as it appears but do not include any status messages such as ready. Go to "File", "Save As..." and enter an "default.vbs", be sure to include the quatation marks otherwise windows adds a txt extension at the end.

    Copy the file into your startup folder in the Start Menu, each time you logon the printer will be changed to your default printer

    This script assumes your printer is connected localy if this is not the case add \\servername\ before the printer name.

    objPrinter.SetDefaultPrinter "\\mycomp\Printer Name"

    LVL 1

    Author Comment

    by:Mike Caldwell
    Actually, I went back and just reimaged the drive and the problem went away, but I accepted this answer as a good solution, I just didn't happen to need it.  Sorry for the delay in closing out.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
    #Citrix #POC #XenDesktop #vCenter #VMware #ESX
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now