JSI Tip 2112. How do I add a default printer to all new users?.

In Windows NT 4.0, you would have to add the users to a priviledged group, to allow them to add a printer.

You can alter the default profile, used to create their account, so the default printer is defined when they first logon.

The first step is to create a temporary new user account and make it a member of the Domain or local Administrators group. Logon to this temportary account and add the printer that you want to be the default.

After you verify that the printer is properly set up, use Regedt32 to navigate to:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\Current Version\Devices

Locate the Value Name for the default printer, and the data value of the string (REG_SZ).

A local printer might have a Value Name of Generic / Text Only and the string might be winspool,LPT1:. a network printer would have a Value Name like \\ServerName\PrinterShareName and its' string would contain something like winspool,Ne00:. Record this Value Name and string.

Navigate to:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\Current Version\PrinterPorts

and record the appropriate Value Name and string.

Navigate to:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\Current Version\Windows and record the string value of the Device value name.

Select the HKEY_USERS hives and Load Hive from the Registry menu. Browse to the default profile's NTUSER.DAT (on a workstation, it is at %SystemRoot%\Profiles\Default). Select the NTUSER.DAT and press Open. In the Key Name box, type NewUser.

Select the NewUser key and apply all the recorded information at the appropriate places. When you are finished, select the NewUser key and Unload Hive from the Registry menu.

New user accounts will have the default printer(s) that you defined.

Note: You can obviously make these changes to existing accounts, if you needed to.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish