title: VBS: Using WSHNetwork.SetDefaultPrinter without a print server
body: <p>I'm trying to create a simple VBS logon script that sets the default printer for users logging into Server 2003 through a terminal server environment.  The printer is a network printer that is not going through a print server.  It's DNS name is "Front MailRoom Printer" and port is \192.168.0.82.</p>
  
  <p>The script I have is this:</p>
  
  <pre><code>Set WSHNetwork = CreateObject("WScript.Network")
  WSHNetwork.SetDefaultPrinter "Front MailRoom Printer"
  </code></pre>
  
  <p>When it runs, an error 80070002 (the system cannot find the file specified) points to line 2 character 1 comes up.  Any ideas are welcome.</p>