JSI Tip 6285. How do I set the default network printer for all new users of a Windows XP workstation?

When a new user logs onto a Windows XP workstation for the first time, they do not have a default printer configured. If you want to alter this behavior, modify the Default User profile to contain the default network printer:

1. Replace the server (jsi001) and printer share (HP2250) with the values appropriate to your network in the following text. Copy / Paste it to a C:\TEMP\NewStuff.reg (or similar) file:

REGEDIT4

\[HKEY_USERS\TempHive\Printers\Connections\,,jsi001,HP2250\]
"Server"="\\\\jsi001"
"Provider"="win32spl.dll"

\[HKEY_USERS\TempHive\Software\Microsoft\Windows NT\CurrentVersion\Devices\]
"\\\\jsi001\\HP2250"="winspool,Ne01:"

\[HKEY_USERS\TempHive\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts\]
"\\\\jsi001\\HP2250"="winspool,Ne01:,15,45"

\[HKEY_USERS\TempHive\Software\Microsoft\Windows NT\CurrentVersion\Windows\]
"Device"="\\\\jsi001\\HP2250,winspool,Ne01:"

2. Use tip 3970 to run:

ModifyProfile.exe /PROFILE:"C:\Documents and Settings\Default User\NTUser.dat" /REG:C:\TEMP\NewStuff.reg /KEYNAME:TempHive
NOTE: You can use PsExec.exe or Workstation.bat to perform this process on remote computers.

NOTE: See Add local and remote printers from the command line.



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