Re: Can I set the default printer via a batch file?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Olof Lagerkvist (no_at_email.address)
Date: 12/05/04


Date: Sun, 05 Dec 2004 11:36:16 GMT

Hank Arnold wrote:

> Excellent technique! I can log them on, set the printer, export the registry
> key to a file, create a batch file that imports the reg file and add it to
> the STARTUP folder..... Thanks!!

You only have to export/import the key
"HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows"
and only the "Device" value there. If you export/import the whole
registry it may take a long time and also change other settings you dont
want to restore everytime a user logs on.

-- 
Olof Lagerkvist           sm6xmk
ICQ: 724451                     @ssa.se
Web: http://here.is/olof