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

Jerold Schulman

January 30, 2003

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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 valuesappropriate to your network in the following text. Copy / Paste it to a C:TEMPNewStuff.reg (or similar) file:

REGEDIT4

[HKEY_USERSTempHivePrintersConnections,,jsi001,HP2250]
"Server"="\\jsi001"
"Provider"="win32spl.dll"

[HKEY_USERSTempHiveSoftwareMicrosoftWindows NTCurrentVersionDevices]
"\\jsi001\HP2250"="winspool,Ne01:"

[HKEY_USERSTempHiveSoftwareMicrosoftWindows NTCurrentVersionPrinterPorts]
"\\jsi001\HP2250"="winspool,Ne01:,15,45"

[HKEY_USERSTempHiveSoftwareMicrosoftWindows NTCurrentVersionWindows]
"Device"="\\jsi001\HP2250,winspool,Ne01:"

2. Use tip 3970 to run:

ModifyProfile.exe /PROFILE:"C:Documents and SettingsDefault UserNTUser.dat" /REG:C:TEMPNewStuff.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.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like