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:



\[HKEY_USERS\TempHive\Software\Microsoft\Windows NT\CurrentVersion\Devices\]

\[HKEY_USERS\TempHive\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts\]

\[HKEY_USERS\TempHive\Software\Microsoft\Windows NT\CurrentVersion\Windows\]

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


  • 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.